[INFO] cloning repository https://github.com/abeyonalaja/rsnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abeyonalaja/rsnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabeyonalaja%2Frsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabeyonalaja%2Frsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3db4c665a25fa57e12c9bf8b5de902ca4c739bb1 [INFO] checking abeyonalaja/rsnake against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabeyonalaja%2Frsnake" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abeyonalaja/rsnake 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/abeyonalaja/rsnake [INFO] finished tweaking git repo https://github.com/abeyonalaja/rsnake [INFO] tweaked toml for git repo https://github.com/abeyonalaja/rsnake written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/abeyonalaja/rsnake 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 119e927fc628c8ba3275ed440dc1a2f65b9c3216d0ca5863d632e9ee544239b7 [INFO] running `Command { std: "docker" "start" "-a" "119e927fc628c8ba3275ed440dc1a2f65b9c3216d0ca5863d632e9ee544239b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "119e927fc628c8ba3275ed440dc1a2f65b9c3216d0ca5863d632e9ee544239b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "119e927fc628c8ba3275ed440dc1a2f65b9c3216d0ca5863d632e9ee544239b7", kill_on_drop: false }` [INFO] [stdout] 119e927fc628c8ba3275ed440dc1a2f65b9c3216d0ca5863d632e9ee544239b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 687ee806207ad91e4d786d60dcb2cadc9b8ffdf9a0a830bdf7bf472af46bebd8 [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" "687ee806207ad91e4d786d60dcb2cadc9b8ffdf9a0a830bdf7bf472af46bebd8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.41 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling cc v1.0.38 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.2.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.7 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.1.6 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking stb_truetype v0.2.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking rayon-core v1.5.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking rusttype v0.7.7 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking piston2d-graphics v0.32.0 [INFO] [stderr] Compiling gfx_gl v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling derivative v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.97 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.1 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking gfx_core v0.8.3 [INFO] [stderr] Checking image v0.21.2 [INFO] [stderr] Checking glutin v0.21.0 [INFO] [stderr] Checking gfx v0.17.1 [INFO] [stderr] Checking gfx_device_gl v0.15.5 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking piston-gfx_texture v0.36.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.61.0 [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.100.0 [INFO] [stderr] Checking rsnake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/snake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use draw::draw_block; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `G2d` [INFO] [stdout] --> src/snake.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::{Context, G2d}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> src/snake.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/draw.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | BLOCK_SIZE * (width as f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `draw` [INFO] [stdout] --> src/snake.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use draw::draw_block; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::draw` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `G2d` [INFO] [stdout] --> src/snake.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::{Context, G2d}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::LinkedList` [INFO] [stdout] --> src/snake.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::LinkedList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/draw.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | BLOCK_SIZE * (width as f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `UP` found for enum `Direction` in the current scope [INFO] [stdout] --> src/snake.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Direction { [INFO] [stdout] | ------------------ variant or associated item `UP` not found here [INFO] [stdout] ... [INFO] [stdout] 19 | Direction::UP => Direction::Down, [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Direction` [INFO] [stdout] | help: there is a variant with a similar name: `Up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `UP` found for enum `Direction` in the current scope [INFO] [stdout] --> src/snake.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Direction { [INFO] [stdout] | ------------------ variant or associated item `UP` not found here [INFO] [stdout] ... [INFO] [stdout] 19 | Direction::UP => Direction::Down, [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Direction` [INFO] [stdout] | help: there is a variant with a similar name: `Up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `UP` found for enum `Direction` in the current scope [INFO] [stdout] --> src/snake.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Direction { [INFO] [stdout] | ------------------ variant or associated item `UP` not found here [INFO] [stdout] ... [INFO] [stdout] 20 | Direction::Down => Direction::UP, [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Direction` [INFO] [stdout] | help: there is a variant with a similar name: `Up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `UP` found for enum `Direction` in the current scope [INFO] [stdout] --> src/snake.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Direction { [INFO] [stdout] | ------------------ variant or associated item `UP` not found here [INFO] [stdout] ... [INFO] [stdout] 20 | Direction::Down => Direction::UP, [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | variant or associated item not found in `Direction` [INFO] [stdout] | help: there is a variant with a similar name: `Up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsnake` [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: build failed [INFO] running `Command { std: "docker" "inspect" "687ee806207ad91e4d786d60dcb2cadc9b8ffdf9a0a830bdf7bf472af46bebd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687ee806207ad91e4d786d60dcb2cadc9b8ffdf9a0a830bdf7bf472af46bebd8", kill_on_drop: false }` [INFO] [stdout] 687ee806207ad91e4d786d60dcb2cadc9b8ffdf9a0a830bdf7bf472af46bebd8