[INFO] cloning repository https://github.com/kempchee/piston-snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kempchee/piston-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7530eecc0da59f870d1febdeac50bcf0824c1d7d [INFO] testing kempchee/piston-snake against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kempchee/piston-snake on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kempchee/piston-snake [INFO] finished tweaking git repo https://github.com/kempchee/piston-snake [INFO] tweaked toml for git repo https://github.com/kempchee/piston-snake written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/kempchee/piston-snake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffa406ab8b4f6bd6b7c1a39983af966cb33c21c30209be0c88e4876cf3dd3579 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ffa406ab8b4f6bd6b7c1a39983af966cb33c21c30209be0c88e4876cf3dd3579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffa406ab8b4f6bd6b7c1a39983af966cb33c21c30209be0c88e4876cf3dd3579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa406ab8b4f6bd6b7c1a39983af966cb33c21c30209be0c88e4876cf3dd3579", kill_on_drop: false }` [INFO] [stdout] ffa406ab8b4f6bd6b7c1a39983af966cb33c21c30209be0c88e4876cf3dd3579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6430602ed3d8eb769dd626247415d93e7aef7b413a7b7f7ef7a9450c777241 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6b6430602ed3d8eb769dd626247415d93e7aef7b413a7b7f7ef7a9450c777241", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling conrod v0.62.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling postgres-protocol v0.5.2 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling postgres-types v0.1.2 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.8 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.73.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.5 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-event_loop v0.52.0 [INFO] [stderr] Compiling piston v0.52.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.66.0 [INFO] [stderr] Compiling postgres v0.17.5 [INFO] [stderr] Compiling first_piston v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `piston::event` [INFO] [stdout] --> src/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use piston::event::*; [INFO] [stdout] | ^^^^^ could not find `event` in `piston` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range` [INFO] [stdout] --> src/main.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^ no `Range` in `distributions` [INFO] [stdout] | | [INFO] [stdout] | no `IndependentSample` in `distributions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `conrod::Background`, `conrod::Button`, `conrod::CanvasId`, `conrod::DropDownList`, `conrod::Floating`, `conrod::Label`, `conrod::Labelable`, `conrod::Positionable`, `conrod::Sizeable`, `conrod::Theme`, `conrod::Ui`, `conrod::UiId`, `conrod::Widget`, `conrod::WidgetId`, `conrod::Split` [INFO] [stdout] --> src/main.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use conrod::{Background, Button,CanvasId,DropDownList, Floating, Label, Labelable,Positionable, Sizeable, Theme, Ui,UiId, Widget,WidgetId,Split}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^ ^^^^ ^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] | | | | | | | | | | | [INFO] [stdout] | | | | | | | | | | no `Theme` in the root [INFO] [stdout] | | | | | | | | | no `Sizeable` in the root [INFO] [stdout] | | | | | | | | no `Positionable` in the root [INFO] [stdout] | | | | | | | no `Labelable` in the root [INFO] [stdout] | | | | | | no `Label` in the root [INFO] [stdout] | | | | | no `Floating` in the root [INFO] [stdout] | | | | no `DropDownList` in the root [INFO] [stdout] | | | no `CanvasId` in the root [INFO] [stdout] | | no `Button` in the root [INFO] [stdout] | no `Background` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `conrod::color` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use conrod::color::*; [INFO] [stdout] | ^^^^^ could not find `color` in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use postgres::{Connection, SslMode}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ no `SslMode` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Connection` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:106:80 [INFO] [stdout] | [INFO] [stdout] 106 | fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui) { [INFO] [stdout] | ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:116:93 [INFO] [stdout] | [INFO] [stdout] 116 | fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | let mut font=opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `color` in `conrod` [INFO] [stdout] --> src/main.rs:152:40 [INFO] [stdout] | [INFO] [stdout] 152 | .color(conrod::color::red()) [INFO] [stdout] | ^^^^^ could not find `color` in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:168:97 [INFO] [stdout] | [INFO] [stdout] 168 | fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `color` in `conrod` [INFO] [stdout] --> src/main.rs:185:40 [INFO] [stdout] | [INFO] [stdout] 185 | .color(conrod::color::red()) [INFO] [stdout] | ^^^^^ could not find `color` in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `conrod` [INFO] [stdout] --> src/main.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | let ui=&mut conrod::Ui::new(opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap(),conrod::Theme::default()); [INFO] [stdout] | ^^ could not find `Ui` in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:353:50 [INFO] [stdout] | [INFO] [stdout] 353 | let ui=&mut conrod::Ui::new(opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap(),conrod::Theme::default()); [INFO] [stdout] | ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Theme` in `conrod` [INFO] [stdout] --> src/main.rs:353:149 [INFO] [stdout] | [INFO] [stdout] 353 | let ui=&mut conrod::Ui::new(opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap(),conrod::Theme::default()); [INFO] [stdout] | ^^^^^ could not find `Theme` in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time` [INFO] [stdout] --> src/main.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | last_auto_move_time:time::Tm, [INFO] [stdout] | ^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope [INFO] [stdout] --> src/main.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | fn render_game(&mut self, args: &RenderArgs){ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use piston::RenderArgs; [INFO] [stdout] | [INFO] [stdout] 10 | use piston::input::RenderArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope [INFO] [stdout] --> src/main.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use piston::RenderArgs; [INFO] [stdout] | [INFO] [stdout] 10 | use piston::input::RenderArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod` [INFO] [stdout] --> src/main.rs:106:60 [INFO] [stdout] | [INFO] [stdout] 106 | fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui) { [INFO] [stdout] | ^^ not found in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope [INFO] [stdout] --> src/main.rs:116:46 [INFO] [stdout] | [INFO] [stdout] 116 | fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use piston::RenderArgs; [INFO] [stdout] | [INFO] [stdout] 10 | use piston::input::RenderArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod` [INFO] [stdout] --> src/main.rs:116:73 [INFO] [stdout] | [INFO] [stdout] 116 | fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^ not found in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `light_green` in this scope [INFO] [stdout] --> src/main.rs:126:42 [INFO] [stdout] | [INFO] [stdout] 126 | Split::new(HEADER).color(light_green()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blue` in this scope [INFO] [stdout] --> src/main.rs:127:40 [INFO] [stdout] | [INFO] [stdout] 127 | Split::new(BODY).color(blue()).length(window_dimension*0.75).pad_top(20.0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `grey` in this scope [INFO] [stdout] --> src/main.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | .color(grey()) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 10 | use graphics::color::grey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dark_orange` in this scope [INFO] [stdout] --> src/main.rs:137:50 [INFO] [stdout] | [INFO] [stdout] 137 | Label::new("Welcome To Snake").color(dark_orange()).font_size(48).middle_of(HEADER).set(TITLE, ui); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `dark_orange` in this scope [INFO] [stdout] --> src/main.rs:149:44 [INFO] [stdout] | [INFO] [stdout] 149 | Label::new("Difficulty").color(dark_orange()).font_size(24).middle_of(HEADER).mid_left_of(DROPDOWNCONTAINER).set(DROPDOWNLABEL, ui); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:158:56 [INFO] [stdout] | [INFO] [stdout] 158 | ... *last_auto_move_time=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope [INFO] [stdout] --> src/main.rs:168:50 [INFO] [stdout] | [INFO] [stdout] 168 | fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use piston::RenderArgs; [INFO] [stdout] | [INFO] [stdout] 10 | use piston::input::RenderArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod` [INFO] [stdout] --> src/main.rs:168:77 [INFO] [stdout] | [INFO] [stdout] 168 | fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^ not found in `conrod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `light_green` in this scope [INFO] [stdout] --> src/main.rs:180:42 [INFO] [stdout] | [INFO] [stdout] 180 | Split::new(HEADER).color(light_green()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `blue` in this scope [INFO] [stdout] --> src/main.rs:181:40 [INFO] [stdout] | [INFO] [stdout] 181 | Split::new(BODY).color(blue()).length(window_dimension*0.75).pad_top(20.0), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `red` in this scope [INFO] [stdout] --> src/main.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | Label::new("You Lose!").color(red()).font_size(48).middle_of(HEADER).set(TITLE, ui); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:192:56 [INFO] [stdout] | [INFO] [stdout] 192 | ... *last_auto_move_time=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:215:56 [INFO] [stdout] | [INFO] [stdout] 215 | self.last_auto_move_time=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:225:56 [INFO] [stdout] | [INFO] [stdout] 225 | self.last_auto_move_time=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:235:60 [INFO] [stdout] | [INFO] [stdout] 235 | ... self.last_auto_move_time=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:245:64 [INFO] [stdout] | [INFO] [stdout] 245 | ... self.last_auto_move_time=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope [INFO] [stdout] --> src/main.rs:257:30 [INFO] [stdout] | [INFO] [stdout] 257 | fn game_over(&mut self,r:RenderArgs)->bool{ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use piston::RenderArgs; [INFO] [stdout] | [INFO] [stdout] 10 | use piston::input::RenderArgs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:273:27 [INFO] [stdout] | [INFO] [stdout] 273 | let elapsed=time::now()-self.last_auto_move_time; [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:284:44 [INFO] [stdout] | [INFO] [stdout] 284 | self.last_auto_move_time=time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/main.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | last_auto_move_time:time::now(), [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:358:19 [INFO] [stdout] | [INFO] [stdout] 358 | if(app.current_screen=="game_screen"){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `_3_2` found for enum `glutin_window::OpenGL` in the current scope [INFO] [stdout] --> src/main.rs:321:26 [INFO] [stdout] | [INFO] [stdout] 321 | let opengl = OpenGL::_3_2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `glutin_window::OpenGL` [INFO] [stdout] | help: there is a variant with a similar name: `V3_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `opengl` found for struct `piston::WindowSettings` in the current scope [INFO] [stdout] --> src/main.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 331 | .opengl(opengl) [INFO] [stdout] | ^^^^^^ method not found in `piston::WindowSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `events` found for enum `std::result::Result>` in the current scope [INFO] [stdout] --> src/main.rs:354:21 [INFO] [stdout] | [INFO] [stdout] 354 | for e in window.events() { [INFO] [stdout] | ^^^^^^ method not found in `std::result::Result>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `first_piston`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "6b6430602ed3d8eb769dd626247415d93e7aef7b413a7b7f7ef7a9450c777241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6430602ed3d8eb769dd626247415d93e7aef7b413a7b7f7ef7a9450c777241", kill_on_drop: false }` [INFO] [stdout] 6b6430602ed3d8eb769dd626247415d93e7aef7b413a7b7f7ef7a9450c777241