[INFO] cloning repository https://github.com/moeindana/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/moeindana/snake_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeindana%2Fsnake_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeindana%2Fsnake_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0ad5b7d6cd4a1868f80a70a72f2229d88207e7f [INFO] checking moeindana/snake_game against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoeindana%2Fsnake_game" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/moeindana/snake_game on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/moeindana/snake_game [INFO] finished tweaking git repo https://github.com/moeindana/snake_game [INFO] tweaked toml for git repo https://github.com/moeindana/snake_game written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/moeindana/snake_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-glutin_window v0.67.1 [INFO] [stderr] Downloaded piston v0.52.1 [INFO] [stderr] Downloaded piston2d-graphics v0.39.0 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.76.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95e797a7f2ae130bc17954d55c9a77ff20ee756aad1b8adb9cb0c1782c62cc03 [INFO] running `Command { std: "docker" "start" "-a" "95e797a7f2ae130bc17954d55c9a77ff20ee756aad1b8adb9cb0c1782c62cc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95e797a7f2ae130bc17954d55c9a77ff20ee756aad1b8adb9cb0c1782c62cc03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95e797a7f2ae130bc17954d55c9a77ff20ee756aad1b8adb9cb0c1782c62cc03", kill_on_drop: false }` [INFO] [stdout] 95e797a7f2ae130bc17954d55c9a77ff20ee756aad1b8adb9cb0c1782c62cc03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49d9b2f887c4b9b859ec7bf8da2ee0e081de74b1de4827d4997e965f458d62bb [INFO] running `Command { std: "docker" "start" "-a" "49d9b2f887c4b9b859ec7bf8da2ee0e081de74b1de4827d4997e965f458d62bb", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking piston-float v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking piston-graphics_api_version v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking piston-viewport v1.0.0 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking shader_version v0.7.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking libloading v0.6.5 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking piston2d-graphics v0.39.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.6.0 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Checking piston2d-opengl_graphics v0.76.0 [INFO] [stderr] Checking pistoncore-input v1.0.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking pistoncore-window v0.47.0 [INFO] [stderr] Checking pistoncore-event_loop v0.52.0 [INFO] [stderr] Checking piston v0.52.1 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-glutin_window v0.67.1 [INFO] [stderr] Checking snake-game v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 65 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 65 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `green` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `green` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.40s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking snake-game v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 65 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `green` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `graphics` is imported redundantly [INFO] [stdout] --> src/main.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate graphics; [INFO] [stdout] | ---------------------- the item `graphics` is already imported here [INFO] [stdout] ... [INFO] [stdout] 65 | use graphics; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GREEN` should have a snake case name [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let GREEN: [f32; 4] = [0.0, 1.0, 0.0, 1.0]; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `green` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RED` should have a snake case name [INFO] [stdout] --> src/main.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0]; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.19s [INFO] running `Command { std: "docker" "inspect" "49d9b2f887c4b9b859ec7bf8da2ee0e081de74b1de4827d4997e965f458d62bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d9b2f887c4b9b859ec7bf8da2ee0e081de74b1de4827d4997e965f458d62bb", kill_on_drop: false }` [INFO] [stdout] 49d9b2f887c4b9b859ec7bf8da2ee0e081de74b1de4827d4997e965f458d62bb