Oct 15 10:05:44.639 INFO testing Isan-Rivkin/snake-rs against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 15 10:05:44.639 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 15 10:05:45.254 INFO blam! ffe63d24ee522c2f75426154a587be176fd08f1b4dbb6263a67eee50479aa2af Oct 15 10:05:45.256 INFO running `"docker" "start" "-a" "ffe63d24ee522c2f75426154a587be176fd08f1b4dbb6263a67eee50479aa2af"` Oct 15 10:05:46.579 INFO kablam! usermod: no changes Oct 15 10:05:47.026 INFO kablam! Compiling syn v0.15.3 Oct 15 10:05:47.026 INFO kablam! Compiling ordered-float v0.5.1 Oct 15 10:05:48.312 INFO kablam! Compiling rusttype v0.4.3 Oct 15 10:05:51.122 INFO kablam! Compiling piston2d-graphics v0.26.0 Oct 15 10:05:53.829 INFO kablam! Compiling piston2d-gfx_graphics v0.51.0 Oct 15 10:05:57.067 INFO kablam! Compiling serde_derive v1.0.78 Oct 15 10:06:11.990 INFO kablam! Compiling pistoncore-input v0.21.0 Oct 15 10:06:15.903 INFO kablam! Compiling pistoncore-window v0.32.0 Oct 15 10:06:18.150 INFO kablam! Compiling pistoncore-event_loop v0.37.0 Oct 15 10:06:18.150 INFO kablam! Compiling pistoncore-glutin_window v0.47.0 Oct 15 10:06:19.194 INFO kablam! Compiling piston v0.37.0 Oct 15 10:06:22.387 INFO kablam! Compiling piston_window v0.80.0 Oct 15 10:06:26.323 INFO kablam! Compiling snake v0.1.0 (/source) Oct 15 10:06:30.083 INFO kablam! warning: unused import: `game::Game` Oct 15 10:06:30.083 INFO kablam! --> src/main.rs:11:5 Oct 15 10:06:30.083 INFO kablam! | Oct 15 10:06:30.083 INFO kablam! 11 | use game::Game; Oct 15 10:06:30.083 INFO kablam! | ^^^^^^^^^^ Oct 15 10:06:30.083 INFO kablam! | Oct 15 10:06:30.083 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 15 10:06:30.083 INFO kablam! Oct 15 10:06:30.251 INFO kablam! warning: unused variable: `window` Oct 15 10:06:30.251 INFO kablam! --> src/main.rs:20:13 Oct 15 10:06:30.251 INFO kablam! | Oct 15 10:06:30.251 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:30.251 INFO kablam! | ^^^^^^ help: consider using `_window` instead Oct 15 10:06:30.251 INFO kablam! | Oct 15 10:06:30.251 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 10:06:30.251 INFO kablam! Oct 15 10:06:30.251 INFO kablam! warning: variable does not need to be mutable Oct 15 10:06:30.251 INFO kablam! --> src/main.rs:20:9 Oct 15 10:06:30.251 INFO kablam! | Oct 15 10:06:30.251 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:30.251 INFO kablam! | ----^^^^^^ Oct 15 10:06:30.251 INFO kablam! | | Oct 15 10:06:30.251 INFO kablam! | help: remove this `mut` Oct 15 10:06:30.251 INFO kablam! | Oct 15 10:06:30.251 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 10:06:30.251 INFO kablam! Oct 15 10:06:30.263 INFO kablam! warning: function is never used: `draw_block` Oct 15 10:06:30.263 INFO kablam! --> src/draw.rs:14:1 Oct 15 10:06:30.263 INFO kablam! | Oct 15 10:06:30.263 INFO kablam! 14 | pub fn draw_block(color : Color, x : i32, y: i32, con : &Context, g: &mut G2d){ Oct 15 10:06:30.263 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.263 INFO kablam! | Oct 15 10:06:30.263 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 10:06:30.263 INFO kablam! Oct 15 10:06:30.263 INFO kablam! warning: function is never used: `draw_rectangle` Oct 15 10:06:30.263 INFO kablam! --> src/draw.rs:26:1 Oct 15 10:06:30.263 INFO kablam! | Oct 15 10:06:30.263 INFO kablam! 26 | pub fn draw_rectangle(color : Color,x : i32, y:i32,width:i32, height : i32,con : &Context,g:&mut G2d){ Oct 15 10:06:30.263 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.264 INFO kablam! Oct 15 10:06:30.264 INFO kablam! warning: constant item is never used: `SNAKE_COLOR` Oct 15 10:06:30.264 INFO kablam! --> src/snake.rs:8:1 Oct 15 10:06:30.264 INFO kablam! | Oct 15 10:06:30.264 INFO kablam! 8 | const SNAKE_COLOR : Color = [0.00,0.80,0.00,1.0]; Oct 15 10:06:30.264 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.264 INFO kablam! Oct 15 10:06:30.264 INFO kablam! warning: variant is never constructed: `Up` Oct 15 10:06:30.264 INFO kablam! --> src/snake.rs:11:5 Oct 15 10:06:30.264 INFO kablam! | Oct 15 10:06:30.264 INFO kablam! 11 | Up, Oct 15 10:06:30.264 INFO kablam! | ^^ Oct 15 10:06:30.264 INFO kablam! Oct 15 10:06:30.264 INFO kablam! warning: variant is never constructed: `Down` Oct 15 10:06:30.264 INFO kablam! --> src/snake.rs:12:5 Oct 15 10:06:30.264 INFO kablam! | Oct 15 10:06:30.264 INFO kablam! 12 | Down, Oct 15 10:06:30.264 INFO kablam! | ^^^^ Oct 15 10:06:30.264 INFO kablam! Oct 15 10:06:30.264 INFO kablam! warning: variant is never constructed: `Left` Oct 15 10:06:30.264 INFO kablam! --> src/snake.rs:13:5 Oct 15 10:06:30.265 INFO kablam! | Oct 15 10:06:30.265 INFO kablam! 13 | Left, Oct 15 10:06:30.265 INFO kablam! | ^^^^ Oct 15 10:06:30.265 INFO kablam! Oct 15 10:06:30.265 INFO kablam! warning: variant is never constructed: `Right` Oct 15 10:06:30.265 INFO kablam! --> src/snake.rs:14:5 Oct 15 10:06:30.265 INFO kablam! | Oct 15 10:06:30.265 INFO kablam! 14 | Right, Oct 15 10:06:30.265 INFO kablam! | ^^^^^ Oct 15 10:06:30.265 INFO kablam! Oct 15 10:06:30.265 INFO kablam! warning: method is never used: `opposite` Oct 15 10:06:30.265 INFO kablam! --> src/snake.rs:18:5 Oct 15 10:06:30.265 INFO kablam! | Oct 15 10:06:30.265 INFO kablam! 18 | pub fn opposite(&self)-> Direction{ Oct 15 10:06:30.265 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.265 INFO kablam! Oct 15 10:06:30.265 INFO kablam! warning: struct is never constructed: `Snake` Oct 15 10:06:30.265 INFO kablam! --> src/snake.rs:34:1 Oct 15 10:06:30.265 INFO kablam! | Oct 15 10:06:30.265 INFO kablam! 34 | pub struct Snake{ Oct 15 10:06:30.265 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 10:06:30.266 INFO kablam! Oct 15 10:06:30.266 INFO kablam! warning: method is never used: `new` Oct 15 10:06:30.266 INFO kablam! --> src/snake.rs:41:5 Oct 15 10:06:30.266 INFO kablam! | Oct 15 10:06:30.266 INFO kablam! 41 | pub fn new(x: i32, y: i32)->Snake{ Oct 15 10:06:30.266 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.266 INFO kablam! Oct 15 10:06:30.266 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:30.266 INFO kablam! --> src/snake.rs:62:5 Oct 15 10:06:30.266 INFO kablam! | Oct 15 10:06:30.266 INFO kablam! 62 | pub fn draw(&self, con: &Context, g: &mut G2d){ Oct 15 10:06:30.266 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.266 INFO kablam! Oct 15 10:06:30.266 INFO kablam! warning: method is never used: `head_position` Oct 15 10:06:30.266 INFO kablam! --> src/snake.rs:67:5 Oct 15 10:06:30.266 INFO kablam! | Oct 15 10:06:30.266 INFO kablam! 67 | pub fn head_position(&self)->(i32,i32){ Oct 15 10:06:30.266 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.266 INFO kablam! Oct 15 10:06:30.266 INFO kablam! warning: method is never used: `move_forward` Oct 15 10:06:30.266 INFO kablam! --> src/snake.rs:71:5 Oct 15 10:06:30.267 INFO kablam! | Oct 15 10:06:30.267 INFO kablam! 71 | pub fn move_forward(&mut self, dir: Option){ Oct 15 10:06:30.267 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.267 INFO kablam! Oct 15 10:06:30.267 INFO kablam! warning: method is never used: `head_direction` Oct 15 10:06:30.267 INFO kablam! --> src/snake.rs:109:5 Oct 15 10:06:30.267 INFO kablam! | Oct 15 10:06:30.267 INFO kablam! 109 | pub fn head_direction(&self)->Direction{ Oct 15 10:06:30.267 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.267 INFO kablam! Oct 15 10:06:30.267 INFO kablam! warning: method is never used: `next_head` Oct 15 10:06:30.267 INFO kablam! --> src/snake.rs:112:5 Oct 15 10:06:30.267 INFO kablam! | Oct 15 10:06:30.267 INFO kablam! 112 | pub fn next_head(&self, dir: Option) -> (i32,i32){ Oct 15 10:06:30.267 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.267 INFO kablam! Oct 15 10:06:30.267 INFO kablam! warning: method is never used: `restore_tail` Oct 15 10:06:30.267 INFO kablam! --> src/snake.rs:128:5 Oct 15 10:06:30.267 INFO kablam! | Oct 15 10:06:30.267 INFO kablam! 128 | pub fn restore_tail(&mut self){ Oct 15 10:06:30.267 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.267 INFO kablam! Oct 15 10:06:30.267 INFO kablam! warning: method is never used: `overlap_tail` Oct 15 10:06:30.267 INFO kablam! --> src/snake.rs:133:5 Oct 15 10:06:30.267 INFO kablam! | Oct 15 10:06:30.268 INFO kablam! 133 | pub fn overlap_tail(&self, x: i32, y:i32)->bool{ Oct 15 10:06:30.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.268 INFO kablam! Oct 15 10:06:30.268 INFO kablam! warning: constant item is never used: `FOOD_COLOR` Oct 15 10:06:30.268 INFO kablam! --> src/game.rs:9:1 Oct 15 10:06:30.268 INFO kablam! | Oct 15 10:06:30.268 INFO kablam! 9 | const FOOD_COLOR : Color = [0.80,0.00,0.00,1.0]; Oct 15 10:06:30.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.268 INFO kablam! Oct 15 10:06:30.268 INFO kablam! warning: constant item is never used: `BORDER_COLOR` Oct 15 10:06:30.268 INFO kablam! --> src/game.rs:10:1 Oct 15 10:06:30.268 INFO kablam! | Oct 15 10:06:30.268 INFO kablam! 10 | const BORDER_COLOR : Color = [0.00,0.00,0.00,1.0]; Oct 15 10:06:30.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.268 INFO kablam! Oct 15 10:06:30.268 INFO kablam! warning: constant item is never used: `GAMEOVER_COLOR` Oct 15 10:06:30.268 INFO kablam! --> src/game.rs:11:1 Oct 15 10:06:30.268 INFO kablam! | Oct 15 10:06:30.268 INFO kablam! 11 | const GAMEOVER_COLOR : Color = [0.90,0.00,0.00,0.5]; Oct 15 10:06:30.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.268 INFO kablam! Oct 15 10:06:30.268 INFO kablam! warning: constant item is never used: `MOVING_PERIOD` Oct 15 10:06:30.268 INFO kablam! --> src/game.rs:14:1 Oct 15 10:06:30.268 INFO kablam! | Oct 15 10:06:30.268 INFO kablam! 14 | const MOVING_PERIOD : f64 = 0.1; Oct 15 10:06:30.268 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.269 INFO kablam! Oct 15 10:06:30.269 INFO kablam! warning: constant item is never used: `RESTART_TIME` Oct 15 10:06:30.269 INFO kablam! --> src/game.rs:16:1 Oct 15 10:06:30.269 INFO kablam! | Oct 15 10:06:30.269 INFO kablam! 16 | const RESTART_TIME : f64 = 1.0; Oct 15 10:06:30.269 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.269 INFO kablam! Oct 15 10:06:30.269 INFO kablam! warning: struct is never constructed: `Game` Oct 15 10:06:30.269 INFO kablam! --> src/game.rs:18:1 Oct 15 10:06:30.269 INFO kablam! | Oct 15 10:06:30.269 INFO kablam! 18 | pub struct Game{ Oct 15 10:06:30.269 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 15 10:06:30.269 INFO kablam! Oct 15 10:06:30.269 INFO kablam! warning: method is never used: `new` Oct 15 10:06:30.269 INFO kablam! --> src/game.rs:33:5 Oct 15 10:06:30.269 INFO kablam! | Oct 15 10:06:30.269 INFO kablam! 33 | pub fn new(width : i32, height : i32)->Game{ Oct 15 10:06:30.269 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.269 INFO kablam! Oct 15 10:06:30.269 INFO kablam! warning: method is never used: `key_pressed` Oct 15 10:06:30.269 INFO kablam! --> src/game.rs:45:5 Oct 15 10:06:30.269 INFO kablam! | Oct 15 10:06:30.269 INFO kablam! 45 | pub fn key_pressed(&mut self, key : Key){ Oct 15 10:06:30.269 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.269 INFO kablam! Oct 15 10:06:30.270 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:30.270 INFO kablam! --> src/game.rs:63:5 Oct 15 10:06:30.270 INFO kablam! | Oct 15 10:06:30.270 INFO kablam! 63 | pub fn draw(&self, con: &Context, g : &mut G2d){ Oct 15 10:06:30.270 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.270 INFO kablam! Oct 15 10:06:30.270 INFO kablam! warning: method is never used: `update` Oct 15 10:06:30.270 INFO kablam! --> src/game.rs:79:5 Oct 15 10:06:30.270 INFO kablam! | Oct 15 10:06:30.270 INFO kablam! 79 | pub fn update(&mut self, delta_time: f64){ Oct 15 10:06:30.270 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.270 INFO kablam! Oct 15 10:06:30.270 INFO kablam! warning: method is never used: `check_eating` Oct 15 10:06:30.270 INFO kablam! --> src/game.rs:96:5 Oct 15 10:06:30.270 INFO kablam! | Oct 15 10:06:30.270 INFO kablam! 96 | fn check_eating(&mut self){ Oct 15 10:06:30.270 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.270 INFO kablam! Oct 15 10:06:30.270 INFO kablam! warning: method is never used: `check_if_snake_alive` Oct 15 10:06:30.270 INFO kablam! --> src/game.rs:104:5 Oct 15 10:06:30.270 INFO kablam! | Oct 15 10:06:30.270 INFO kablam! 104 | fn check_if_snake_alive(&self, dir: Option)->bool{ Oct 15 10:06:30.270 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.270 INFO kablam! Oct 15 10:06:30.271 INFO kablam! warning: method is never used: `add_food` Oct 15 10:06:30.271 INFO kablam! --> src/game.rs:112:5 Oct 15 10:06:30.271 INFO kablam! | Oct 15 10:06:30.271 INFO kablam! 112 | pub fn add_food(&mut self){ Oct 15 10:06:30.271 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.271 INFO kablam! Oct 15 10:06:30.271 INFO kablam! warning: method is never used: `update_snake` Oct 15 10:06:30.271 INFO kablam! --> src/game.rs:126:5 Oct 15 10:06:30.271 INFO kablam! | Oct 15 10:06:30.271 INFO kablam! 126 | fn update_snake(&mut self, dir: Option){ Oct 15 10:06:30.271 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.271 INFO kablam! Oct 15 10:06:30.271 INFO kablam! warning: method is never used: `restart` Oct 15 10:06:30.271 INFO kablam! --> src/game.rs:136:5 Oct 15 10:06:30.271 INFO kablam! | Oct 15 10:06:30.271 INFO kablam! 136 | fn restart(&mut self){ Oct 15 10:06:30.271 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.271 INFO kablam! Oct 15 10:06:30.271 INFO kablam! warning: constant item is never used: `BACKGROUND_COLOR` Oct 15 10:06:30.271 INFO kablam! --> src/main.rs:14:1 Oct 15 10:06:30.271 INFO kablam! | Oct 15 10:06:30.271 INFO kablam! 14 | const BACKGROUND_COLOR : Color = [0.5,0.5,0.5,1.0]; Oct 15 10:06:30.271 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:30.272 INFO kablam! Oct 15 10:06:35.059 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 48.45s Oct 15 10:06:35.075 INFO kablam! su: No module specific data is present Oct 15 10:06:35.861 INFO running `"docker" "rm" "-f" "ffe63d24ee522c2f75426154a587be176fd08f1b4dbb6263a67eee50479aa2af"` Oct 15 10:06:36.191 INFO blam! ffe63d24ee522c2f75426154a587be176fd08f1b4dbb6263a67eee50479aa2af Oct 15 10:06:36.195 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 15 10:06:36.683 INFO blam! 3a4f1e6fc8473153d583d453e25183b927278e17f02e8a1ccbcc0d04997dc6ac Oct 15 10:06:36.688 INFO running `"docker" "start" "-a" "3a4f1e6fc8473153d583d453e25183b927278e17f02e8a1ccbcc0d04997dc6ac"` Oct 15 10:06:37.979 INFO kablam! usermod: no changes Oct 15 10:06:38.279 INFO kablam! Compiling snake v0.1.0 (/source) Oct 15 10:06:42.031 INFO kablam! warning: unused import: `game::Game` Oct 15 10:06:42.031 INFO kablam! --> src/main.rs:11:5 Oct 15 10:06:42.031 INFO kablam! | Oct 15 10:06:42.031 INFO kablam! 11 | use game::Game; Oct 15 10:06:42.031 INFO kablam! | ^^^^^^^^^^ Oct 15 10:06:42.031 INFO kablam! | Oct 15 10:06:42.031 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 15 10:06:42.031 INFO kablam! Oct 15 10:06:42.207 INFO kablam! warning: unused variable: `window` Oct 15 10:06:42.207 INFO kablam! --> src/main.rs:20:13 Oct 15 10:06:42.207 INFO kablam! | Oct 15 10:06:42.207 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:42.207 INFO kablam! | ^^^^^^ help: consider using `_window` instead Oct 15 10:06:42.207 INFO kablam! | Oct 15 10:06:42.207 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 10:06:42.207 INFO kablam! Oct 15 10:06:42.211 INFO kablam! warning: variable does not need to be mutable Oct 15 10:06:42.211 INFO kablam! --> src/main.rs:20:9 Oct 15 10:06:42.211 INFO kablam! | Oct 15 10:06:42.211 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:42.211 INFO kablam! | ----^^^^^^ Oct 15 10:06:42.211 INFO kablam! | | Oct 15 10:06:42.211 INFO kablam! | help: remove this `mut` Oct 15 10:06:42.211 INFO kablam! | Oct 15 10:06:42.211 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 10:06:42.211 INFO kablam! Oct 15 10:06:42.223 INFO kablam! warning: function is never used: `draw_block` Oct 15 10:06:42.223 INFO kablam! --> src/draw.rs:14:1 Oct 15 10:06:42.223 INFO kablam! | Oct 15 10:06:42.223 INFO kablam! 14 | pub fn draw_block(color : Color, x : i32, y: i32, con : &Context, g: &mut G2d){ Oct 15 10:06:42.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.223 INFO kablam! | Oct 15 10:06:42.223 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 10:06:42.223 INFO kablam! Oct 15 10:06:42.223 INFO kablam! warning: function is never used: `draw_rectangle` Oct 15 10:06:42.223 INFO kablam! --> src/draw.rs:26:1 Oct 15 10:06:42.223 INFO kablam! | Oct 15 10:06:42.223 INFO kablam! 26 | pub fn draw_rectangle(color : Color,x : i32, y:i32,width:i32, height : i32,con : &Context,g:&mut G2d){ Oct 15 10:06:42.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.223 INFO kablam! Oct 15 10:06:42.223 INFO kablam! warning: constant item is never used: `SNAKE_COLOR` Oct 15 10:06:42.223 INFO kablam! --> src/snake.rs:8:1 Oct 15 10:06:42.223 INFO kablam! | Oct 15 10:06:42.223 INFO kablam! 8 | const SNAKE_COLOR : Color = [0.00,0.80,0.00,1.0]; Oct 15 10:06:42.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.223 INFO kablam! Oct 15 10:06:42.223 INFO kablam! warning: variant is never constructed: `Up` Oct 15 10:06:42.223 INFO kablam! --> src/snake.rs:11:5 Oct 15 10:06:42.223 INFO kablam! | Oct 15 10:06:42.223 INFO kablam! 11 | Up, Oct 15 10:06:42.223 INFO kablam! | ^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: variant is never constructed: `Down` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:12:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 12 | Down, Oct 15 10:06:42.224 INFO kablam! | ^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: variant is never constructed: `Left` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:13:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 13 | Left, Oct 15 10:06:42.224 INFO kablam! | ^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: variant is never constructed: `Right` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:14:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 14 | Right, Oct 15 10:06:42.224 INFO kablam! | ^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `opposite` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:18:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 18 | pub fn opposite(&self)-> Direction{ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: struct is never constructed: `Snake` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:34:1 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 34 | pub struct Snake{ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `new` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:41:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 41 | pub fn new(x: i32, y: i32)->Snake{ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:62:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 62 | pub fn draw(&self, con: &Context, g: &mut G2d){ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `head_position` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:67:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 67 | pub fn head_position(&self)->(i32,i32){ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `move_forward` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:71:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 71 | pub fn move_forward(&mut self, dir: Option){ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `head_direction` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:109:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 109 | pub fn head_direction(&self)->Direction{ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `next_head` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:112:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 112 | pub fn next_head(&self, dir: Option) -> (i32,i32){ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `restore_tail` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:128:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 128 | pub fn restore_tail(&mut self){ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: method is never used: `overlap_tail` Oct 15 10:06:42.224 INFO kablam! --> src/snake.rs:133:5 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 133 | pub fn overlap_tail(&self, x: i32, y:i32)->bool{ Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.224 INFO kablam! warning: constant item is never used: `FOOD_COLOR` Oct 15 10:06:42.224 INFO kablam! --> src/game.rs:9:1 Oct 15 10:06:42.224 INFO kablam! | Oct 15 10:06:42.224 INFO kablam! 9 | const FOOD_COLOR : Color = [0.80,0.00,0.00,1.0]; Oct 15 10:06:42.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.224 INFO kablam! Oct 15 10:06:42.225 INFO kablam! warning: constant item is never used: `BORDER_COLOR` Oct 15 10:06:42.225 INFO kablam! --> src/game.rs:10:1 Oct 15 10:06:42.225 INFO kablam! | Oct 15 10:06:42.225 INFO kablam! 10 | const BORDER_COLOR : Color = [0.00,0.00,0.00,1.0]; Oct 15 10:06:42.225 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.225 INFO kablam! Oct 15 10:06:42.225 INFO kablam! warning: constant item is never used: `GAMEOVER_COLOR` Oct 15 10:06:42.225 INFO kablam! --> src/game.rs:11:1 Oct 15 10:06:42.225 INFO kablam! | Oct 15 10:06:42.225 INFO kablam! 11 | const GAMEOVER_COLOR : Color = [0.90,0.00,0.00,0.5]; Oct 15 10:06:42.225 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.225 INFO kablam! Oct 15 10:06:42.225 INFO kablam! warning: constant item is never used: `MOVING_PERIOD` Oct 15 10:06:42.225 INFO kablam! --> src/game.rs:14:1 Oct 15 10:06:42.225 INFO kablam! | Oct 15 10:06:42.225 INFO kablam! 14 | const MOVING_PERIOD : f64 = 0.1; Oct 15 10:06:42.225 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.225 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: constant item is never used: `RESTART_TIME` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:16:1 Oct 15 10:06:42.235 INFO kablam! | Oct 15 10:06:42.235 INFO kablam! 16 | const RESTART_TIME : f64 = 1.0; Oct 15 10:06:42.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.235 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: struct is never constructed: `Game` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:18:1 Oct 15 10:06:42.235 INFO kablam! | Oct 15 10:06:42.235 INFO kablam! 18 | pub struct Game{ Oct 15 10:06:42.235 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 15 10:06:42.235 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: method is never used: `new` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:33:5 Oct 15 10:06:42.235 INFO kablam! | Oct 15 10:06:42.235 INFO kablam! 33 | pub fn new(width : i32, height : i32)->Game{ Oct 15 10:06:42.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.235 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: method is never used: `key_pressed` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:45:5 Oct 15 10:06:42.235 INFO kablam! | Oct 15 10:06:42.235 INFO kablam! 45 | pub fn key_pressed(&mut self, key : Key){ Oct 15 10:06:42.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.235 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:63:5 Oct 15 10:06:42.235 INFO kablam! | Oct 15 10:06:42.235 INFO kablam! 63 | pub fn draw(&self, con: &Context, g : &mut G2d){ Oct 15 10:06:42.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.235 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: method is never used: `update` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:79:5 Oct 15 10:06:42.235 INFO kablam! | Oct 15 10:06:42.235 INFO kablam! 79 | pub fn update(&mut self, delta_time: f64){ Oct 15 10:06:42.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.235 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: method is never used: `check_eating` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:96:5 Oct 15 10:06:42.235 INFO kablam! | Oct 15 10:06:42.235 INFO kablam! 96 | fn check_eating(&mut self){ Oct 15 10:06:42.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.235 INFO kablam! Oct 15 10:06:42.235 INFO kablam! warning: method is never used: `check_if_snake_alive` Oct 15 10:06:42.235 INFO kablam! --> src/game.rs:104:5 Oct 15 10:06:42.236 INFO kablam! | Oct 15 10:06:42.236 INFO kablam! 104 | fn check_if_snake_alive(&self, dir: Option)->bool{ Oct 15 10:06:42.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.236 INFO kablam! Oct 15 10:06:42.236 INFO kablam! warning: method is never used: `add_food` Oct 15 10:06:42.236 INFO kablam! --> src/game.rs:112:5 Oct 15 10:06:42.236 INFO kablam! | Oct 15 10:06:42.236 INFO kablam! 112 | pub fn add_food(&mut self){ Oct 15 10:06:42.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.236 INFO kablam! Oct 15 10:06:42.236 INFO kablam! warning: method is never used: `update_snake` Oct 15 10:06:42.236 INFO kablam! --> src/game.rs:126:5 Oct 15 10:06:42.236 INFO kablam! | Oct 15 10:06:42.236 INFO kablam! 126 | fn update_snake(&mut self, dir: Option){ Oct 15 10:06:42.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.236 INFO kablam! Oct 15 10:06:42.236 INFO kablam! warning: method is never used: `restart` Oct 15 10:06:42.236 INFO kablam! --> src/game.rs:136:5 Oct 15 10:06:42.236 INFO kablam! | Oct 15 10:06:42.236 INFO kablam! 136 | fn restart(&mut self){ Oct 15 10:06:42.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.236 INFO kablam! Oct 15 10:06:42.236 INFO kablam! warning: constant item is never used: `BACKGROUND_COLOR` Oct 15 10:06:42.236 INFO kablam! --> src/main.rs:14:1 Oct 15 10:06:42.236 INFO kablam! | Oct 15 10:06:42.236 INFO kablam! 14 | const BACKGROUND_COLOR : Color = [0.5,0.5,0.5,1.0]; Oct 15 10:06:42.236 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:42.236 INFO kablam! Oct 15 10:06:42.824 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 4.82s Oct 15 10:06:42.846 INFO kablam! su: No module specific data is present Oct 15 10:06:43.429 INFO running `"docker" "rm" "-f" "3a4f1e6fc8473153d583d453e25183b927278e17f02e8a1ccbcc0d04997dc6ac"` Oct 15 10:06:43.727 INFO blam! 3a4f1e6fc8473153d583d453e25183b927278e17f02e8a1ccbcc0d04997dc6ac Oct 15 10:06:43.730 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-2/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-2/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 15 10:06:44.312 INFO blam! 40bf7502a80de61419a663e3e6aec32c1564bca8bdb420697fe107f4c6505dfa Oct 15 10:06:44.319 INFO running `"docker" "start" "-a" "40bf7502a80de61419a663e3e6aec32c1564bca8bdb420697fe107f4c6505dfa"` Oct 15 10:06:45.519 INFO kablam! usermod: no changes Oct 15 10:06:45.709 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.17s Oct 15 10:06:45.729 INFO kablam! Running /target/debug/deps/snake-6c91285087f1319b Oct 15 10:06:45.739 INFO blam! Oct 15 10:06:45.739 INFO blam! running 0 tests Oct 15 10:06:45.739 INFO blam! Oct 15 10:06:45.739 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 15 10:06:45.739 INFO blam! Oct 15 10:06:45.742 INFO kablam! su: No module specific data is present Oct 15 10:06:46.476 INFO running `"docker" "rm" "-f" "40bf7502a80de61419a663e3e6aec32c1564bca8bdb420697fe107f4c6505dfa"` Oct 15 10:06:46.763 INFO blam! 40bf7502a80de61419a663e3e6aec32c1564bca8bdb420697fe107f4c6505dfa