[INFO] updating cached repository hom-bahrani/snake [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/hom-bahrani/snake [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/hom-bahrani/snake" "work/ex/beta-1.38-1/sources/1.37.0/gh/hom-bahrani/snake"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/hom-bahrani/snake'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/hom-bahrani/snake" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/hom-bahrani/snake"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/hom-bahrani/snake'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ff3fc2063c8717e782b1cf0333a3e158f60280de [INFO] sha for GitHub repo hom-bahrani/snake: ff3fc2063c8717e782b1cf0333a3e158f60280de [INFO] validating manifest of hom-bahrani/snake on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of hom-bahrani/snake on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing hom-bahrani/snake [INFO] finished frobbing hom-bahrani/snake [INFO] frobbed toml for hom-bahrani/snake written to work/ex/beta-1.38-1/sources/1.37.0/gh/hom-bahrani/snake/Cargo.toml [INFO] started frobbing hom-bahrani/snake [INFO] finished frobbing hom-bahrani/snake [INFO] frobbed toml for hom-bahrani/snake written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/hom-bahrani/snake/Cargo.toml [INFO] crate hom-bahrani/snake already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing hom-bahrani/snake against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/hom-bahrani/snake:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 93f22d945f7058a58b8ff9d5251eebdc4777c3d7642cde85e09caf0b9caed3a9 [INFO] running `"docker" "start" "-a" "93f22d945f7058a58b8ff9d5251eebdc4777c3d7642cde85e09caf0b9caed3a9"` [INFO] [stderr] Compiling syn v0.15.31 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.21.12 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.30.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.21.12 [INFO] [stderr] Compiling wayland-client v0.21.12 [INFO] [stderr] Compiling wayland-protocols v0.21.12 [INFO] [stderr] Compiling wayland-commons v0.21.12 [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.4 [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/crater/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 [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 [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 [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] 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] 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" "93f22d945f7058a58b8ff9d5251eebdc4777c3d7642cde85e09caf0b9caed3a9"` [INFO] running `"docker" "rm" "-f" "93f22d945f7058a58b8ff9d5251eebdc4777c3d7642cde85e09caf0b9caed3a9"` [INFO] [stdout] 93f22d945f7058a58b8ff9d5251eebdc4777c3d7642cde85e09caf0b9caed3a9