[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] checking kempchee/piston-snake against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kempchee/piston-snake on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-11/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4c8b527e8547b055a2903f68903cb038b2d79d0a712ec3fd2d64231109f0389 [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" "e4c8b527e8547b055a2903f68903cb038b2d79d0a712ec3fd2d64231109f0389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4c8b527e8547b055a2903f68903cb038b2d79d0a712ec3fd2d64231109f0389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4c8b527e8547b055a2903f68903cb038b2d79d0a712ec3fd2d64231109f0389", kill_on_drop: false }` [INFO] [stdout] e4c8b527e8547b055a2903f68903cb038b2d79d0a712ec3fd2d64231109f0389 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e50b6df2ff07b88020299636202ebe82a8b29cd4e7d0dd380af636e0eff13b18 [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" "e50b6df2ff07b88020299636202ebe82a8b29cd4e7d0dd380af636e0eff13b18", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking conrod v0.62.1 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking piston2d-graphics v0.39.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking postgres-protocol v0.6.0 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking postgres-types v0.2.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking piston2d-opengl_graphics v0.76.0 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.0 [INFO] [stderr] Checking tokio-util v0.6.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-postgres v0.7.0 [INFO] [stderr] Checking pistoncore-window v0.47.0 [INFO] [stderr] Checking pistoncore-event_loop v0.52.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.67.2 [INFO] [stderr] Checking piston v0.52.1 [INFO] [stderr] Checking postgres v0.19.0 [INFO] [stderr] Checking 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 | ...::{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 `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... [INFO] [stdout] | ^^ could not find `Ui` in `conrod` [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 | ...gothic-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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:124:56 [INFO] [stdout] | [INFO] [stdout] 124 | let mut font=opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use glyph_cache::rusttype::GlyphCache; [INFO] [stdout] | [INFO] [stdout] 10 | use opengl_graphics::GlyphCache; [INFO] [stdout] | [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 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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:353:63 [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... [INFO] [stdout] | ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use glyph_cache::rusttype::GlyphCache; [INFO] [stdout] | [INFO] [stdout] 10 | use opengl_graphics::GlyphCache; [INFO] [stdout] | [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[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 | ...::{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 `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... [INFO] [stdout] | ^^ could not find `Ui` in `conrod` [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 | ...gothic-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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:124:56 [INFO] [stdout] | [INFO] [stdout] 124 | let mut font=opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use glyph_cache::rusttype::GlyphCache; [INFO] [stdout] | [INFO] [stdout] 10 | use opengl_graphics::GlyphCache; [INFO] [stdout] | [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 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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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 this struct [INFO] [stdout] | [INFO] [stdout] 10 | use piston::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] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics` [INFO] [stdout] --> src/main.rs:353:63 [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... [INFO] [stdout] | ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use glyph_cache::rusttype::GlyphCache; [INFO] [stdout] | [INFO] [stdout] 10 | use opengl_graphics::GlyphCache; [INFO] [stdout] | [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 `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 `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 `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 `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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no variant or associated item named `_3_2` found for enum `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 `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 `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 `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: build failed [INFO] running `Command { std: "docker" "inspect" "e50b6df2ff07b88020299636202ebe82a8b29cd4e7d0dd380af636e0eff13b18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50b6df2ff07b88020299636202ebe82a8b29cd4e7d0dd380af636e0eff13b18", kill_on_drop: false }` [INFO] [stdout] e50b6df2ff07b88020299636202ebe82a8b29cd4e7d0dd380af636e0eff13b18