[INFO] cloning repository https://github.com/Neelein/Snake_Game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Neelein/Snake_Game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeelein%2FSnake_Game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeelein%2FSnake_Game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdbf223c8ab2259755f2c63b287b6abeb3b94cee [INFO] checking Neelein/Snake_Game/fdbf223c8ab2259755f2c63b287b6abeb3b94cee against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNeelein%2FSnake_Game" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Neelein/Snake_Game on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Neelein/Snake_Game [INFO] finished tweaking git repo https://github.com/Neelein/Snake_Game [INFO] tweaked toml for git repo https://github.com/Neelein/Snake_Game written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Neelein/Snake_Game already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded gfx_gl v0.4.0 [INFO] [stderr] Downloaded gfx_device_gl v0.14.6 [INFO] [stderr] Downloaded draw_state v0.7.1 [INFO] [stderr] Downloaded gfx v0.16.3 [INFO] [stderr] Downloaded gfx_core v0.7.2 [INFO] [stderr] Downloaded piston-gfx_texture v0.30.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.47.0 [INFO] [stderr] Downloaded piston_window v0.74.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a971380df3a630a44d8319f3d15bff0e3da94ef70f45cf532339f99ceac328cb [INFO] running `Command { std: "docker" "start" "-a" "a971380df3a630a44d8319f3d15bff0e3da94ef70f45cf532339f99ceac328cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a971380df3a630a44d8319f3d15bff0e3da94ef70f45cf532339f99ceac328cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a971380df3a630a44d8319f3d15bff0e3da94ef70f45cf532339f99ceac328cb", kill_on_drop: false }` [INFO] [stdout] a971380df3a630a44d8319f3d15bff0e3da94ef70f45cf532339f99ceac328cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2a959541e6b586f07feb1dd26e5591b53a4bbde6775c4c6be0d42b82cd957e9 [INFO] running `Command { std: "docker" "start" "-a" "e2a959541e6b586f07feb1dd26e5591b53a4bbde6775c4c6be0d42b82cd957e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking piston-float v0.3.0 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Checking piston-viewport v0.3.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking draw_state v0.7.1 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking shader_version v0.3.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Compiling glutin v0.10.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling gl v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking gfx v0.16.3 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Checking image v0.18.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking vecmath v0.3.1 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking piston2d-graphics v0.24.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Checking piston-gfx_texture v0.30.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.47.0 [INFO] [stderr] Checking gfx_device_gl v0.14.6 [INFO] [stderr] Checking pistoncore-input v0.20.0 [INFO] [stderr] Checking pistoncore-window v0.30.0 [INFO] [stderr] Checking pistoncore-event_loop v0.35.0 [INFO] [stderr] Checking piston v0.35.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.8.0 [INFO] [stderr] Checking winit v0.8.3 [INFO] [stderr] Checking pistoncore-glutin_window v0.43.0 [INFO] [stderr] Checking piston_window v0.74.0 [INFO] [stderr] Checking snake_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `snake` [INFO] [stdout] --> src/game.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | use::snake::{Direction,Snake}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::snake` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use draw::{draw_block,draw_rectangle}; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/snake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use draw::draw_block; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `snake` [INFO] [stdout] --> src/game.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | use::snake::{Direction,Snake}; [INFO] [stdout] | ^^^^^ help: a similar path exists: `crate::snake` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use draw::{draw_block,draw_rectangle}; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/snake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use draw::draw_block; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color` [INFO] [stdout] --> src/draw.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use piston_window::{color, rectangle, Context, G2d}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Width` [INFO] [stdout] --> src/draw.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::types::{Color, Width}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Game` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use game::Game; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color` [INFO] [stdout] --> src/draw.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use piston_window::{color, rectangle, Context, G2d}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Width` [INFO] [stdout] --> src/draw.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::types::{Color, Width}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `piston_window::types::Color` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use piston_window::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Game` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use game::Game; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn head_position(&self){ [INFO] [stdout] | - help: try adding a return type: `-> (i32, i32)` [INFO] [stdout] 69 | let head_block = self.body.front().unwrap(); [INFO] [stdout] 70 | (head_block.x,head_block.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | let (last_x, last_y):(i32,i32) = self.head_position(); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ expected `(i32, i32)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(i32, i32)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn head_position(&self){ [INFO] [stdout] | - help: try adding a return type: `-> (i32, i32)` [INFO] [stdout] 69 | let head_block = self.body.front().unwrap(); [INFO] [stdout] 70 | (head_block.x,head_block.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `(i32, i32)` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found tuple `(i32, i32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | let (last_x, last_y):(i32,i32) = self.head_position(); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ expected `(i32, i32)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(i32, i32)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | let (head_x,head_y):(i32,i32) = self.head_position(); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ expected `(i32, i32)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(i32, i32)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/snake.rs:109:41 [INFO] [stdout] | [INFO] [stdout] 109 | let (head_x,head_y):(i32,i32) = self.head_position(); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ expected `(i32, i32)`, found `()` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(i32, i32)` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut window:PistonWindow = WindowSettings:: new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut window:PistonWindow = WindowSettings:: new( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut window:PistonWindow = WindowSettings:: new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut window:PistonWindow = WindowSettings:: new( [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `snake_game` (bin "snake_game") due to 6 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `snake_game` (bin "snake_game" test) due to 6 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e2a959541e6b586f07feb1dd26e5591b53a4bbde6775c4c6be0d42b82cd957e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2a959541e6b586f07feb1dd26e5591b53a4bbde6775c4c6be0d42b82cd957e9", kill_on_drop: false }` [INFO] [stdout] e2a959541e6b586f07feb1dd26e5591b53a4bbde6775c4c6be0d42b82cd957e9