[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7530eecc0da59f870d1febdeac50bcf0824c1d7d [INFO] testing kempchee/piston-snake against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kempchee/piston-snake on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-6/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-6/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb46b8c3b80bdc3cdbf73dc8d85b511d02215f5a4ecdf5dd62e41549bc72442 [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" "ddb46b8c3b80bdc3cdbf73dc8d85b511d02215f5a4ecdf5dd62e41549bc72442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb46b8c3b80bdc3cdbf73dc8d85b511d02215f5a4ecdf5dd62e41549bc72442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb46b8c3b80bdc3cdbf73dc8d85b511d02215f5a4ecdf5dd62e41549bc72442", kill_on_drop: false }` [INFO] [stdout] ddb46b8c3b80bdc3cdbf73dc8d85b511d02215f5a4ecdf5dd62e41549bc72442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=forbid" "-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:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d3c99fbe6755f460341d74721ed1f733b6586bbe5be71c3bdf77790c0abd65f [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" "1d3c99fbe6755f460341d74721ed1f733b6586bbe5be71c3bdf77790c0abd65f", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling tiff v0.5.0 [INFO] [stderr] Compiling syn v0.13.11 [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] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand v0.4.6 [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 daggy v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [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 rusttype v0.5.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling postgres-protocol v0.5.2 [INFO] [stderr] Compiling postgres-types v0.1.2 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling conrod_derive v0.1.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling image v0.23.7 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling pistoncore-window v0.46.0 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-event_loop v0.51.0 [INFO] [stderr] Compiling piston v0.51.0 [INFO] [stderr] Compiling conrod v0.61.1 [INFO] [stderr] Compiling pistoncore-glutin_window v0.65.0 [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 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::UiId`, `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] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^ no `Split` in the root [INFO] [stdout] | | | | | | | | | [INFO] [stdout] | | | | | | | | no `WidgetId` in the root [INFO] [stdout] | | | | | | no `Label` in the root no `UiId` 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] help: a similar name exists in the module [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] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 18 | use conrod::{Background, Button,CanvasId,DropDownList, Floating, Label, Labelable,Positionable, Sizeable, Theme, Ui,UiId, Widget,Widget,Split}; [INFO] [stdout] | ^^^^^^ [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: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[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 conrod::input::RenderArgs; [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 one of these items [INFO] [stdout] | [INFO] [stdout] 10 | use conrod::input::RenderArgs; [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: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 conrod::input::RenderArgs; [INFO] [stdout] | [INFO] [stdout] 10 | use piston::RenderArgs; [INFO] [stdout] | [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 conrod::text::GlyphCache; [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 `red` in module `conrod::color` [INFO] [stdout] --> src/main.rs:152:47 [INFO] [stdout] | [INFO] [stdout] 152 | .color(conrod::color::red()) [INFO] [stdout] | ^^^ not found in `conrod::color` [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 conrod::input::RenderArgs; [INFO] [stdout] | [INFO] [stdout] 10 | use piston::RenderArgs; [INFO] [stdout] | [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 `red` in module `conrod::color` [INFO] [stdout] --> src/main.rs:185:47 [INFO] [stdout] | [INFO] [stdout] 185 | .color(conrod::color::red()) [INFO] [stdout] | ^^^ not found in `conrod::color` [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 conrod::input::RenderArgs; [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 conrod::text::GlyphCache; [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: unused imports: `Sizeable`, `Theme`, `Ui` [INFO] [stdout] --> src/main.rs:18:97 [INFO] [stdout] | [INFO] [stdout] 18 | use conrod::{Background, Button,CanvasId,DropDownList, Floating, Label, Labelable,Positionable, Sizeable, Theme, Ui,UiId, Widget,WidgetId... [INFO] [stdout] | ^^^^^^^^ ^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:106:63 [INFO] [stdout] | [INFO] [stdout] 106 | fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:116:76 [INFO] [stdout] | [INFO] [stdout] 116 | fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:168:80 [INFO] [stdout] | [INFO] [stdout] 168 | fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [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" "1d3c99fbe6755f460341d74721ed1f733b6586bbe5be71c3bdf77790c0abd65f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d3c99fbe6755f460341d74721ed1f733b6586bbe5be71c3bdf77790c0abd65f", kill_on_drop: false }` [INFO] [stdout] 1d3c99fbe6755f460341d74721ed1f733b6586bbe5be71c3bdf77790c0abd65f