[INFO] cloning repository https://github.com/Rajansharma995/Snake-Game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rajansharma995/Snake-Game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRajansharma995%2FSnake-Game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRajansharma995%2FSnake-Game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6c4b6ee4a8db3c50011ded96564822d5ee987f4 [INFO] checking Rajansharma995/Snake-Game/a6c4b6ee4a8db3c50011ded96564822d5ee987f4 against master#90384941aae4ea38de00e4702b50757e9b882a19 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRajansharma995%2FSnake-Game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Rajansharma995/Snake-Game on toolchain 90384941aae4ea38de00e4702b50757e9b882a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Rajansharma995/Snake-Game [INFO] finished tweaking git repo https://github.com/Rajansharma995/Snake-Game [INFO] tweaked toml for git repo https://github.com/Rajansharma995/Snake-Game written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Rajansharma995/Snake-Game already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston2d-graphics v0.40.0 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.73.0 [INFO] [stderr] Downloaded piston-gfx_texture v0.41.0 [INFO] [stderr] Downloaded piston_window v0.120.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1ecb08f4db7f42abb229aed98ae16993f599513c7613d7ae20802aa7ca25f90 [INFO] running `Command { std: "docker" "start" "-a" "a1ecb08f4db7f42abb229aed98ae16993f599513c7613d7ae20802aa7ca25f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1ecb08f4db7f42abb229aed98ae16993f599513c7613d7ae20802aa7ca25f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ecb08f4db7f42abb229aed98ae16993f599513c7613d7ae20802aa7ca25f90", kill_on_drop: false }` [INFO] [stdout] a1ecb08f4db7f42abb229aed98ae16993f599513c7613d7ae20802aa7ca25f90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07c43aada75b4f68c3f6879b1b1a720db1140a0d80745baa0af4300d312fe33b [INFO] running `Command { std: "docker" "start" "-a" "07c43aada75b4f68c3f6879b1b1a720db1140a0d80745baa0af4300d312fe33b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking libloading v0.7.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking piston-viewport v1.0.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crc32fast v1.2.2 [INFO] [stderr] Checking xdg v2.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking spin_sleep v1.0.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking piston2d-graphics v0.40.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking pistoncore-window v0.47.1 [INFO] [stderr] Checking pistoncore-event_loop v0.53.1 [INFO] [stderr] Checking piston v0.53.1 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking piston-gfx_texture v0.41.0 [INFO] [stderr] Checking piston2d-gfx_graphics v0.73.0 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking pistoncore-glutin_window v0.69.0 [INFO] [stderr] Checking piston_window v0.120.0 [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 66 | impl Game { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 102 | let (x, y) = match dir { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 203 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` (bin "snake") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 66 | impl Game { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 102 | let (x, y) = match dir { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 203 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snake` (bin "snake" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "07c43aada75b4f68c3f6879b1b1a720db1140a0d80745baa0af4300d312fe33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c43aada75b4f68c3f6879b1b1a720db1140a0d80745baa0af4300d312fe33b", kill_on_drop: false }` [INFO] [stdout] 07c43aada75b4f68c3f6879b1b1a720db1140a0d80745baa0af4300d312fe33b