Oct 15 10:05:35.409 INFO testing Isan-Rivkin/snake-rs against try#40d4795669493f1965de7c44029c69552134fe1f for rustdoc-test-static-cling-1 Oct 15 10:05:35.409 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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:35.828 INFO blam! 8ccda39ba3fa8624d2fa120a6a0b0dd680ad8ee21779e696d97c7c813ca406f8 Oct 15 10:05:35.830 INFO running `"docker" "start" "-a" "8ccda39ba3fa8624d2fa120a6a0b0dd680ad8ee21779e696d97c7c813ca406f8"` Oct 15 10:05:36.987 INFO kablam! usermod: no changes Oct 15 10:05:37.378 INFO kablam! Compiling ordered-float v0.5.1 Oct 15 10:05:37.379 INFO kablam! Compiling image v0.19.0 Oct 15 10:05:38.379 INFO kablam! Compiling rusttype v0.4.3 Oct 15 10:05:41.284 INFO kablam! Compiling piston2d-graphics v0.26.0 Oct 15 10:05:53.869 INFO kablam! Compiling piston-gfx_texture v0.32.0 Oct 15 10:05:56.323 INFO kablam! Compiling piston2d-gfx_graphics v0.51.0 Oct 15 10:06:00.470 INFO kablam! Compiling piston_window v0.80.0 Oct 15 10:06:05.398 INFO kablam! Compiling snake v0.1.0 (/source) Oct 15 10:06:08.807 INFO kablam! warning: unused import: `game::Game` Oct 15 10:06:08.807 INFO kablam! --> src/main.rs:11:5 Oct 15 10:06:08.807 INFO kablam! | Oct 15 10:06:08.807 INFO kablam! 11 | use game::Game; Oct 15 10:06:08.807 INFO kablam! | ^^^^^^^^^^ Oct 15 10:06:08.807 INFO kablam! | Oct 15 10:06:08.807 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 15 10:06:08.807 INFO kablam! Oct 15 10:06:08.983 INFO kablam! warning: unused variable: `window` Oct 15 10:06:08.983 INFO kablam! --> src/main.rs:20:13 Oct 15 10:06:08.983 INFO kablam! | Oct 15 10:06:08.983 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:08.983 INFO kablam! | ^^^^^^ help: consider using `_window` instead Oct 15 10:06:08.983 INFO kablam! | Oct 15 10:06:08.983 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 10:06:08.983 INFO kablam! Oct 15 10:06:08.983 INFO kablam! warning: variable does not need to be mutable Oct 15 10:06:08.983 INFO kablam! --> src/main.rs:20:9 Oct 15 10:06:08.983 INFO kablam! | Oct 15 10:06:08.984 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:08.984 INFO kablam! | ----^^^^^^ Oct 15 10:06:08.984 INFO kablam! | | Oct 15 10:06:08.984 INFO kablam! | help: remove this `mut` Oct 15 10:06:08.984 INFO kablam! | Oct 15 10:06:08.984 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 10:06:08.984 INFO kablam! Oct 15 10:06:09.005 INFO kablam! warning: function is never used: `draw_block` Oct 15 10:06:09.005 INFO kablam! --> src/draw.rs:14:1 Oct 15 10:06:09.005 INFO kablam! | Oct 15 10:06:09.005 INFO kablam! 14 | pub fn draw_block(color : Color, x : i32, y: i32, con : &Context, g: &mut G2d){ Oct 15 10:06:09.005 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.005 INFO kablam! | Oct 15 10:06:09.005 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 10:06:09.005 INFO kablam! Oct 15 10:06:09.005 INFO kablam! warning: function is never used: `draw_rectangle` Oct 15 10:06:09.005 INFO kablam! --> src/draw.rs:26:1 Oct 15 10:06:09.005 INFO kablam! | Oct 15 10:06:09.005 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:09.006 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.006 INFO kablam! Oct 15 10:06:09.006 INFO kablam! warning: constant item is never used: `SNAKE_COLOR` Oct 15 10:06:09.006 INFO kablam! --> src/snake.rs:8:1 Oct 15 10:06:09.006 INFO kablam! | Oct 15 10:06:09.006 INFO kablam! 8 | const SNAKE_COLOR : Color = [0.00,0.80,0.00,1.0]; Oct 15 10:06:09.006 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.006 INFO kablam! Oct 15 10:06:09.006 INFO kablam! warning: variant is never constructed: `Up` Oct 15 10:06:09.006 INFO kablam! --> src/snake.rs:11:5 Oct 15 10:06:09.006 INFO kablam! | Oct 15 10:06:09.006 INFO kablam! 11 | Up, Oct 15 10:06:09.006 INFO kablam! | ^^ Oct 15 10:06:09.006 INFO kablam! Oct 15 10:06:09.006 INFO kablam! warning: variant is never constructed: `Down` Oct 15 10:06:09.006 INFO kablam! --> src/snake.rs:12:5 Oct 15 10:06:09.006 INFO kablam! | Oct 15 10:06:09.006 INFO kablam! 12 | Down, Oct 15 10:06:09.006 INFO kablam! | ^^^^ Oct 15 10:06:09.006 INFO kablam! Oct 15 10:06:09.010 INFO kablam! warning: variant is never constructed: `Left` Oct 15 10:06:09.010 INFO kablam! --> src/snake.rs:13:5 Oct 15 10:06:09.010 INFO kablam! | Oct 15 10:06:09.010 INFO kablam! 13 | Left, Oct 15 10:06:09.010 INFO kablam! | ^^^^ Oct 15 10:06:09.010 INFO kablam! Oct 15 10:06:09.010 INFO kablam! warning: variant is never constructed: `Right` Oct 15 10:06:09.010 INFO kablam! --> src/snake.rs:14:5 Oct 15 10:06:09.010 INFO kablam! | Oct 15 10:06:09.010 INFO kablam! 14 | Right, Oct 15 10:06:09.010 INFO kablam! | ^^^^^ Oct 15 10:06:09.010 INFO kablam! Oct 15 10:06:09.010 INFO kablam! warning: method is never used: `opposite` Oct 15 10:06:09.010 INFO kablam! --> src/snake.rs:18:5 Oct 15 10:06:09.010 INFO kablam! | Oct 15 10:06:09.010 INFO kablam! 18 | pub fn opposite(&self)-> Direction{ Oct 15 10:06:09.011 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.011 INFO kablam! Oct 15 10:06:09.011 INFO kablam! warning: struct is never constructed: `Snake` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:34:1 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 34 | pub struct Snake{ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `new` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:41:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 41 | pub fn new(x: i32, y: i32)->Snake{ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:62:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 62 | pub fn draw(&self, con: &Context, g: &mut G2d){ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `head_position` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:67:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 67 | pub fn head_position(&self)->(i32,i32){ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `move_forward` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:71:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 71 | pub fn move_forward(&mut self, dir: Option){ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `head_direction` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:109:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 109 | pub fn head_direction(&self)->Direction{ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `next_head` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:112:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 112 | pub fn next_head(&self, dir: Option) -> (i32,i32){ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `restore_tail` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:128:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 128 | pub fn restore_tail(&mut self){ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: method is never used: `overlap_tail` Oct 15 10:06:09.012 INFO kablam! --> src/snake.rs:133:5 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 133 | pub fn overlap_tail(&self, x: i32, y:i32)->bool{ Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: constant item is never used: `FOOD_COLOR` Oct 15 10:06:09.012 INFO kablam! --> src/game.rs:9:1 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 9 | const FOOD_COLOR : Color = [0.80,0.00,0.00,1.0]; Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: constant item is never used: `BORDER_COLOR` Oct 15 10:06:09.012 INFO kablam! --> src/game.rs:10:1 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 10 | const BORDER_COLOR : Color = [0.00,0.00,0.00,1.0]; Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: constant item is never used: `GAMEOVER_COLOR` Oct 15 10:06:09.012 INFO kablam! --> src/game.rs:11:1 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 11 | const GAMEOVER_COLOR : Color = [0.90,0.00,0.00,0.5]; Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: constant item is never used: `MOVING_PERIOD` Oct 15 10:06:09.012 INFO kablam! --> src/game.rs:14:1 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 14 | const MOVING_PERIOD : f64 = 0.1; Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.012 INFO kablam! Oct 15 10:06:09.012 INFO kablam! warning: constant item is never used: `RESTART_TIME` Oct 15 10:06:09.012 INFO kablam! --> src/game.rs:16:1 Oct 15 10:06:09.012 INFO kablam! | Oct 15 10:06:09.012 INFO kablam! 16 | const RESTART_TIME : f64 = 1.0; Oct 15 10:06:09.012 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: struct is never constructed: `Game` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:18:1 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 18 | pub struct Game{ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `new` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:33:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 33 | pub fn new(width : i32, height : i32)->Game{ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `key_pressed` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:45:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 45 | pub fn key_pressed(&mut self, key : Key){ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:63:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 63 | pub fn draw(&self, con: &Context, g : &mut G2d){ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `update` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:79:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 79 | pub fn update(&mut self, delta_time: f64){ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `check_eating` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:96:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 96 | fn check_eating(&mut self){ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `check_if_snake_alive` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:104:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 104 | fn check_if_snake_alive(&self, dir: Option)->bool{ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `add_food` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:112:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 112 | pub fn add_food(&mut self){ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `update_snake` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:126:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 126 | fn update_snake(&mut self, dir: Option){ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: method is never used: `restart` Oct 15 10:06:09.013 INFO kablam! --> src/game.rs:136:5 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 136 | fn restart(&mut self){ Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:09.013 INFO kablam! warning: constant item is never used: `BACKGROUND_COLOR` Oct 15 10:06:09.013 INFO kablam! --> src/main.rs:14:1 Oct 15 10:06:09.013 INFO kablam! | Oct 15 10:06:09.013 INFO kablam! 14 | const BACKGROUND_COLOR : Color = [0.5,0.5,0.5,1.0]; Oct 15 10:06:09.013 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:09.013 INFO kablam! Oct 15 10:06:13.735 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 36.71s Oct 15 10:06:13.747 INFO kablam! su: No module specific data is present Oct 15 10:06:14.381 INFO running `"docker" "rm" "-f" "8ccda39ba3fa8624d2fa120a6a0b0dd680ad8ee21779e696d97c7c813ca406f8"` Oct 15 10:06:14.602 INFO blam! 8ccda39ba3fa8624d2fa120a6a0b0dd680ad8ee21779e696d97c7c813ca406f8 Oct 15 10:06:14.608 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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:14.928 INFO blam! e3f1c97f6f99cd5e21f179728faef534a0269e043f2c20dd5360b85b9937c628 Oct 15 10:06:14.930 INFO running `"docker" "start" "-a" "e3f1c97f6f99cd5e21f179728faef534a0269e043f2c20dd5360b85b9937c628"` Oct 15 10:06:15.477 INFO kablam! usermod: no changes Oct 15 10:06:15.696 INFO kablam! Compiling snake v0.1.0 (/source) Oct 15 10:06:18.967 INFO kablam! warning: unused import: `game::Game` Oct 15 10:06:18.968 INFO kablam! --> src/main.rs:11:5 Oct 15 10:06:18.968 INFO kablam! | Oct 15 10:06:18.968 INFO kablam! 11 | use game::Game; Oct 15 10:06:18.969 INFO kablam! | ^^^^^^^^^^ Oct 15 10:06:18.969 INFO kablam! | Oct 15 10:06:18.969 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 15 10:06:18.969 INFO kablam! Oct 15 10:06:19.119 INFO kablam! warning: unused variable: `window` Oct 15 10:06:19.119 INFO kablam! --> src/main.rs:20:13 Oct 15 10:06:19.119 INFO kablam! | Oct 15 10:06:19.119 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:19.119 INFO kablam! | ^^^^^^ help: consider using `_window` instead Oct 15 10:06:19.119 INFO kablam! | Oct 15 10:06:19.119 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 15 10:06:19.119 INFO kablam! Oct 15 10:06:19.119 INFO kablam! warning: variable does not need to be mutable Oct 15 10:06:19.119 INFO kablam! --> src/main.rs:20:9 Oct 15 10:06:19.119 INFO kablam! | Oct 15 10:06:19.119 INFO kablam! 20 | let mut window : PistonWindow = WindowSettings::new( Oct 15 10:06:19.119 INFO kablam! | ----^^^^^^ Oct 15 10:06:19.119 INFO kablam! | | Oct 15 10:06:19.119 INFO kablam! | help: remove this `mut` Oct 15 10:06:19.119 INFO kablam! | Oct 15 10:06:19.119 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 15 10:06:19.119 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: function is never used: `draw_block` Oct 15 10:06:19.131 INFO kablam! --> src/draw.rs:14:1 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 14 | pub fn draw_block(color : Color, x : i32, y: i32, con : &Context, g: &mut G2d){ Oct 15 10:06:19.131 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: function is never used: `draw_rectangle` Oct 15 10:06:19.131 INFO kablam! --> src/draw.rs:26:1 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 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:19.131 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: constant item is never used: `SNAKE_COLOR` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:8:1 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 8 | const SNAKE_COLOR : Color = [0.00,0.80,0.00,1.0]; Oct 15 10:06:19.131 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: variant is never constructed: `Up` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:11:5 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 11 | Up, Oct 15 10:06:19.131 INFO kablam! | ^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: variant is never constructed: `Down` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:12:5 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 12 | Down, Oct 15 10:06:19.131 INFO kablam! | ^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: variant is never constructed: `Left` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:13:5 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 13 | Left, Oct 15 10:06:19.131 INFO kablam! | ^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: variant is never constructed: `Right` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:14:5 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 14 | Right, Oct 15 10:06:19.131 INFO kablam! | ^^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: method is never used: `opposite` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:18:5 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 18 | pub fn opposite(&self)-> Direction{ Oct 15 10:06:19.131 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: struct is never constructed: `Snake` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:34:1 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 34 | pub struct Snake{ Oct 15 10:06:19.131 INFO kablam! | ^^^^^^^^^^^^^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.131 INFO kablam! warning: method is never used: `new` Oct 15 10:06:19.131 INFO kablam! --> src/snake.rs:41:5 Oct 15 10:06:19.131 INFO kablam! | Oct 15 10:06:19.131 INFO kablam! 41 | pub fn new(x: i32, y: i32)->Snake{ Oct 15 10:06:19.131 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.131 INFO kablam! Oct 15 10:06:19.140 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:19.140 INFO kablam! --> src/snake.rs:62:5 Oct 15 10:06:19.140 INFO kablam! | Oct 15 10:06:19.140 INFO kablam! 62 | pub fn draw(&self, con: &Context, g: &mut G2d){ Oct 15 10:06:19.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.140 INFO kablam! Oct 15 10:06:19.140 INFO kablam! warning: method is never used: `head_position` Oct 15 10:06:19.140 INFO kablam! --> src/snake.rs:67:5 Oct 15 10:06:19.140 INFO kablam! | Oct 15 10:06:19.140 INFO kablam! 67 | pub fn head_position(&self)->(i32,i32){ Oct 15 10:06:19.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.140 INFO kablam! Oct 15 10:06:19.140 INFO kablam! warning: method is never used: `move_forward` Oct 15 10:06:19.140 INFO kablam! --> src/snake.rs:71:5 Oct 15 10:06:19.140 INFO kablam! | Oct 15 10:06:19.140 INFO kablam! 71 | pub fn move_forward(&mut self, dir: Option){ Oct 15 10:06:19.140 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.140 INFO kablam! Oct 15 10:06:19.140 INFO kablam! warning: method is never used: `head_direction` Oct 15 10:06:19.140 INFO kablam! --> src/snake.rs:109:5 Oct 15 10:06:19.140 INFO kablam! | Oct 15 10:06:19.140 INFO kablam! 109 | pub fn head_direction(&self)->Direction{ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `next_head` Oct 15 10:06:19.141 INFO kablam! --> src/snake.rs:112:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 112 | pub fn next_head(&self, dir: Option) -> (i32,i32){ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `restore_tail` Oct 15 10:06:19.141 INFO kablam! --> src/snake.rs:128:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 128 | pub fn restore_tail(&mut self){ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `overlap_tail` Oct 15 10:06:19.141 INFO kablam! --> src/snake.rs:133:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 133 | pub fn overlap_tail(&self, x: i32, y:i32)->bool{ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: constant item is never used: `FOOD_COLOR` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:9:1 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 9 | const FOOD_COLOR : Color = [0.80,0.00,0.00,1.0]; Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: constant item is never used: `BORDER_COLOR` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:10:1 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 10 | const BORDER_COLOR : Color = [0.00,0.00,0.00,1.0]; Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: constant item is never used: `GAMEOVER_COLOR` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:11:1 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 11 | const GAMEOVER_COLOR : Color = [0.90,0.00,0.00,0.5]; Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: constant item is never used: `MOVING_PERIOD` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:14:1 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 14 | const MOVING_PERIOD : f64 = 0.1; Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: constant item is never used: `RESTART_TIME` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:16:1 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 16 | const RESTART_TIME : f64 = 1.0; Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: struct is never constructed: `Game` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:18:1 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 18 | pub struct Game{ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `new` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:33:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 33 | pub fn new(width : i32, height : i32)->Game{ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `key_pressed` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:45:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 45 | pub fn key_pressed(&mut self, key : Key){ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `draw` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:63:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 63 | pub fn draw(&self, con: &Context, g : &mut G2d){ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `update` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:79:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.141 INFO kablam! 79 | pub fn update(&mut self, delta_time: f64){ Oct 15 10:06:19.141 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.141 INFO kablam! Oct 15 10:06:19.141 INFO kablam! warning: method is never used: `check_eating` Oct 15 10:06:19.141 INFO kablam! --> src/game.rs:96:5 Oct 15 10:06:19.141 INFO kablam! | Oct 15 10:06:19.142 INFO kablam! 96 | fn check_eating(&mut self){ Oct 15 10:06:19.142 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.142 INFO kablam! Oct 15 10:06:19.142 INFO kablam! warning: method is never used: `check_if_snake_alive` Oct 15 10:06:19.142 INFO kablam! --> src/game.rs:104:5 Oct 15 10:06:19.142 INFO kablam! | Oct 15 10:06:19.142 INFO kablam! 104 | fn check_if_snake_alive(&self, dir: Option)->bool{ Oct 15 10:06:19.142 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.142 INFO kablam! Oct 15 10:06:19.142 INFO kablam! warning: method is never used: `add_food` Oct 15 10:06:19.142 INFO kablam! --> src/game.rs:112:5 Oct 15 10:06:19.142 INFO kablam! | Oct 15 10:06:19.142 INFO kablam! 112 | pub fn add_food(&mut self){ Oct 15 10:06:19.142 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.142 INFO kablam! Oct 15 10:06:19.142 INFO kablam! warning: method is never used: `update_snake` Oct 15 10:06:19.142 INFO kablam! --> src/game.rs:126:5 Oct 15 10:06:19.142 INFO kablam! | Oct 15 10:06:19.142 INFO kablam! 126 | fn update_snake(&mut self, dir: Option){ Oct 15 10:06:19.142 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.142 INFO kablam! Oct 15 10:06:19.142 INFO kablam! warning: method is never used: `restart` Oct 15 10:06:19.142 INFO kablam! --> src/game.rs:136:5 Oct 15 10:06:19.142 INFO kablam! | Oct 15 10:06:19.142 INFO kablam! 136 | fn restart(&mut self){ Oct 15 10:06:19.142 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.142 INFO kablam! Oct 15 10:06:19.142 INFO kablam! warning: constant item is never used: `BACKGROUND_COLOR` Oct 15 10:06:19.142 INFO kablam! --> src/main.rs:14:1 Oct 15 10:06:19.142 INFO kablam! | Oct 15 10:06:19.142 INFO kablam! 14 | const BACKGROUND_COLOR : Color = [0.5,0.5,0.5,1.0]; Oct 15 10:06:19.142 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 10:06:19.142 INFO kablam! Oct 15 10:06:19.519 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 4.01s Oct 15 10:06:19.531 INFO kablam! su: No module specific data is present Oct 15 10:06:19.885 INFO running `"docker" "rm" "-f" "e3f1c97f6f99cd5e21f179728faef534a0269e043f2c20dd5360b85b9937c628"` Oct 15 10:06:20.030 INFO blam! e3f1c97f6f99cd5e21f179728faef534a0269e043f2c20dd5360b85b9937c628 Oct 15 10:06:20.036 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-0/try#40d4795669493f1965de7c44029c69552134fe1f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/rustdoc-test-static-cling-1/try#40d4795669493f1965de7c44029c69552134fe1f:/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 +40d4795669493f1965de7c44029c69552134fe1f-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:20.262 INFO blam! 708d8e1fd813b2698e4e6d681a0f578b20c786aeca14b121cc4e8533b8674c6d Oct 15 10:06:20.269 INFO running `"docker" "start" "-a" "708d8e1fd813b2698e4e6d681a0f578b20c786aeca14b121cc4e8533b8674c6d"` Oct 15 10:06:20.842 INFO kablam! usermod: no changes Oct 15 10:06:21.041 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.17s Oct 15 10:06:21.045 INFO kablam! Running /target/debug/deps/snake-f9232bd67c53d8a4 Oct 15 10:06:21.050 INFO kablam! su: No module specific data is present Oct 15 10:06:21.051 INFO blam! Oct 15 10:06:21.051 INFO blam! running 0 tests Oct 15 10:06:21.051 INFO blam! Oct 15 10:06:21.051 INFO blam! test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 15 10:06:21.051 INFO blam! Oct 15 10:06:21.735 INFO running `"docker" "rm" "-f" "708d8e1fd813b2698e4e6d681a0f578b20c786aeca14b121cc4e8533b8674c6d"` Oct 15 10:06:22.079 INFO blam! 708d8e1fd813b2698e4e6d681a0f578b20c786aeca14b121cc4e8533b8674c6d