[INFO] updating cached repository https://github.com/hom-bahrani/snake
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] ff3fc2063c8717e782b1cf0333a3e158f60280de
[INFO] testing hom-bahrani/snake against beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhom-bahrani%2Fsnake" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hom-bahrani/snake on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/hom-bahrani/snake
[INFO] finished tweaking git repo https://github.com/hom-bahrani/snake
[INFO] tweaked toml for git repo https://github.com/hom-bahrani/snake written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/hom-bahrani/snake already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "build" "--frozen"`
[INFO] [stdout] 9872a2f655f7cf8745ca8c8329c30ab0600c829bc95eb9e74bc555cbafbf7242
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "9872a2f655f7cf8745ca8c8329c30ab0600c829bc95eb9e74bc555cbafbf7242"`
[INFO] [stderr]    Compiling syn v0.15.31
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling stb_truetype v0.2.6
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling x11-dl v2.18.3
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling png v0.14.0
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling wayland-scanner v0.21.12
[INFO] [stderr]    Compiling rusttype v0.7.6
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling wayland-sys v0.21.12
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling wayland-commons v0.21.12
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling piston2d-graphics v0.30.0
[INFO] [stderr]    Compiling gfx_gl v0.5.0
[INFO] [stderr]    Compiling wayland-client v0.21.12
[INFO] [stderr]    Compiling wayland-protocols v0.21.12
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling derivative v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.90
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling gfx_core v0.8.3
[INFO] [stderr]    Compiling image v0.21.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.5
[INFO] [stderr]    Compiling pistoncore-input v0.24.0
[INFO] [stderr]    Compiling winit v0.18.1
[INFO] [stderr]    Compiling pistoncore-window v0.37.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.42.0
[INFO] [stderr]    Compiling piston v0.42.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.54.0
[INFO] [stderr]    Compiling gfx v0.17.1
[INFO] [stderr]    Compiling gfx_device_gl v0.15.5
[INFO] [stderr]    Compiling piston-gfx_texture v0.35.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.56.0
[INFO] [stderr]    Compiling piston_window v0.89.0
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `snake`
[INFO] [stderr]  --> src/game.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use snake::{Direction, Snake};
[INFO] [stderr]   |     ^^^^^ help: a similar path exists: `crate::snake`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `draw`
[INFO] [stderr]  --> src/game.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use draw::{draw_block, draw_rectangle};
[INFO] [stderr]   |     ^^^^ help: a similar path exists: `crate::draw`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `draw`
[INFO] [stderr]  --> src/snake.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use draw::draw_block;
[INFO] [stderr]   |     ^^^^ help: a similar path exists: `crate::draw`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `use` statements changed in Rust 2018; read more at <https://doc.rust-lang.org/edition-guide/rust-2018/module-system/path-clarity.html>
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Context` in this scope
[INFO] [stderr]   --> src/draw.rs:14:55
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub fn draw_block(color: Color, x: i32, y: i32, con: &Context, g: &mut G2d) {
[INFO] [stderr]    |                                                       ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::task::Context;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use piston_window::Context;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use piston_window::context::Context;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::task::Context;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Context` in this scope
[INFO] [stderr]   --> src/draw.rs:32:11
[INFO] [stderr]    |
[INFO] [stderr] 32 |     con: &Context,
[INFO] [stderr]    |           ^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 1  | use core::task::Context;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use piston_window::Context;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use piston_window::context::Context;
[INFO] [stderr]    |
[INFO] [stderr] 1  | use std::task::Context;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `context`
[INFO] [stderr]  --> src/draw.rs:1:32
[INFO] [stderr]   |
[INFO] [stderr] 1 | use piston_window::{rectangle, context, G2d};
[INFO] [stderr]   |                                ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `snake`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "9872a2f655f7cf8745ca8c8329c30ab0600c829bc95eb9e74bc555cbafbf7242"`
[INFO] running `"docker" "rm" "-f" "9872a2f655f7cf8745ca8c8329c30ab0600c829bc95eb9e74bc555cbafbf7242"`
[INFO] [stdout] 9872a2f655f7cf8745ca8c8329c30ab0600c829bc95eb9e74bc555cbafbf7242
