[INFO] updating cached repository https://github.com/adereq/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] 3e0d3975f60e0d604303b70889b61774e0c99170
[INFO] checking adereq/snake against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadereq%2Fsnake" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/adereq/snake on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/adereq/snake
[INFO] finished tweaking git repo https://github.com/adereq/snake
[INFO] tweaked toml for git repo https://github.com/adereq/snake written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/adereq/snake already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 53ee577c4da67505650e4831b05c85edcca866ecd2dd474695da211b2aeff537
[INFO] running `"docker" "start" "-a" "53ee577c4da67505650e4831b05c85edcca866ecd2dd474695da211b2aeff537"`
[INFO] [stderr]     Checking downcast-rs v1.1.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking raw-window-handle v0.3.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking getrandom v0.1.12
[INFO] [stderr]     Checking x11-dl v2.18.4
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking stb_truetype v0.3.0
[INFO] [stderr]     Checking num-integer v0.1.41
[INFO] [stderr]     Checking png v0.15.0
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]     Checking tiff v0.3.1
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking rayon-core v1.6.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking num-rational v0.2.2
[INFO] [stderr]     Checking num-iter v0.1.39
[INFO] [stderr]     Checking rusttype v0.8.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rayon v1.2.0
[INFO] [stderr]     Checking dlib v0.4.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking piston2d-graphics v0.35.0
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking wayland-client v0.21.13
[INFO] [stderr]     Checking glutin_glx_sys v0.1.5
[INFO] [stderr]     Checking wayland-protocols v0.21.13
[INFO] [stderr]     Checking jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]     Checking image v0.22.3
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking piston-gfx_texture v0.40.0
[INFO] [stderr]     Checking winit v0.19.4
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.66.0
[INFO] [stderr]     Checking pistoncore-input v0.28.0
[INFO] [stderr]     Checking glutin v0.21.1
[INFO] [stderr]     Checking pistoncore-window v0.44.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.49.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.63.0
[INFO] [stderr]     Checking piston v0.49.0
[INFO] [stderr]     Checking piston_window v0.105.0
[INFO] [stderr]     Checking snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowSettings`
[INFO] [stderr]   --> src/main.rs:13:37
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut window: Piston_window = WindowSettings::new(
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^ use of undeclared type or module `WindowSettings`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Button`
[INFO] [stderr]   --> src/main.rs:23:21
[INFO] [stderr]    |
[INFO] [stderr] 23 |         if let Some(Button::Keyboard(key)) = event.press_args() {
[INFO] [stderr]    |                     ^^^^^^ use of undeclared type or module `Button`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Piston_window` in this scope
[INFO] [stderr]   --> src/main.rs:13:21
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut window: Piston_window = WindowSettings::new(
[INFO] [stderr]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `clear` in this scope
[INFO] [stderr]   --> src/main.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 |             clear(BACK_COLOR, g);
[INFO] [stderr]    |             ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use piston_window::clear;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BACK_COLOR` in this scope
[INFO] [stderr]   --> src/main.rs:28:19
[INFO] [stderr]    |
[INFO] [stderr] 28 |             clear(BACK_COLOR, g);
[INFO] [stderr]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WindowSettings`
[INFO] [stderr]   --> src/main.rs:13:37
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut window: Piston_window = WindowSettings::new(
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^ use of undeclared type or module `WindowSettings`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Button`
[INFO] [stderr]   --> src/main.rs:23:21
[INFO] [stderr]    |
[INFO] [stderr] 23 |         if let Some(Button::Keyboard(key)) = event.press_args() {
[INFO] [stderr]    |                     ^^^^^^ use of undeclared type or module `Button`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Piston_window` in this scope
[INFO] [stderr]   --> src/main.rs:13:21
[INFO] [stderr]    |
[INFO] [stderr] 13 |     let mut window: Piston_window = WindowSettings::new(
[INFO] [stderr]    |                     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `clear` in this scope
[INFO] [stderr]   --> src/main.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 |             clear(BACK_COLOR, g);
[INFO] [stderr]    |             ^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 8  | use piston_window::clear;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find value `BACK_COLOR` in this scope
[INFO] [stderr]   --> src/main.rs:28:19
[INFO] [stderr]    |
[INFO] [stderr] 28 |             clear(BACK_COLOR, g);
[INFO] [stderr]    |                   ^^^^^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_range` found for struct `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]    --> src/game.rs:121:29
[INFO] [stderr]     |
[INFO] [stderr] 121 |         let mut new_x = rng.get_range(1, self.width - 1);
[INFO] [stderr]     |                             ^^^^^^^^^ method not found in `rand::prelude::ThreadRng`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_range` found for struct `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]    --> src/game.rs:122:29
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let mut new_y = rng.get_range(1, self.height - 1);
[INFO] [stderr]     |                             ^^^^^^^^^ method not found in `rand::prelude::ThreadRng`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_range` found for struct `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]    --> src/game.rs:121:29
[INFO] [stderr]     |
[INFO] [stderr] 121 |         let mut new_x = rng.get_range(1, self.width - 1);
[INFO] [stderr]     |                             ^^^^^^^^^ method not found in `rand::prelude::ThreadRng`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `get_range` found for struct `rand::prelude::ThreadRng` in the current scope
[INFO] [stderr]    --> src/game.rs:122:29
[INFO] [stderr]     |
[INFO] [stderr] 122 |         let mut new_y = rng.get_range(1, self.height - 1);
[INFO] [stderr]     |                             ^^^^^^^^^ method not found in `rand::prelude::ThreadRng`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `snake`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "53ee577c4da67505650e4831b05c85edcca866ecd2dd474695da211b2aeff537"`
[INFO] running `"docker" "rm" "-f" "53ee577c4da67505650e4831b05c85edcca866ecd2dd474695da211b2aeff537"`
[INFO] [stdout] 53ee577c4da67505650e4831b05c85edcca866ecd2dd474695da211b2aeff537
