[INFO] cloning repository https://github.com/jayshrivastava/snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jayshrivastava/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayshrivastava%2Fsnake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayshrivastava%2Fsnake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 69196bec4bf6357f6bdbb611da9af90505fe89c5
[INFO] testing jayshrivastava/snake against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayshrivastava%2Fsnake" "/workspace/builds/worker-56/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-56/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jayshrivastava/snake on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jayshrivastava/snake
[INFO] finished tweaking git repo https://github.com/jayshrivastava/snake
[INFO] tweaked toml for git repo https://github.com/jayshrivastava/snake written to /workspace/builds/worker-56/source/Cargo.toml
[INFO] crate git repo https://github.com/jayshrivastava/snake already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.70.0
[INFO] [stderr]   Downloaded piston_window v0.113.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c8ebb95bf952c98546c2a8e3db5382363d81908a48b05d636d5f7b6a70142edd
[INFO] running `Command { std: "docker" "start" "-a" "c8ebb95bf952c98546c2a8e3db5382363d81908a48b05d636d5f7b6a70142edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8ebb95bf952c98546c2a8e3db5382363d81908a48b05d636d5f7b6a70142edd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8ebb95bf952c98546c2a8e3db5382363d81908a48b05d636d5f7b6a70142edd", kill_on_drop: false }`
[INFO] [stdout] c8ebb95bf952c98546c2a8e3db5382363d81908a48b05d636d5f7b6a70142edd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-56/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=warn" "-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" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d0ced92d56764de9d3e81b9c4d01c75dcb66a612e17e8add14e608e8695f02cb
[INFO] running `Command { std: "docker" "start" "-a" "d0ced92d56764de9d3e81b9c4d01c75dcb66a612e17e8add14e608e8695f02cb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling piston-float v1.0.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.0
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling weezl v0.1.2
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling piston-texture v0.8.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling bytemuck v1.4.1
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.3.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling libloading v0.6.5
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling piston-viewport v1.0.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling gif v0.11.1
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling smallvec v0.6.13
[INFO] [stderr]    Compiling png v0.16.7
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling piston2d-graphics v0.37.0
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling wayland-commons v0.21.13
[INFO] [stderr]    Compiling jpeg-decoder v0.1.20
[INFO] [stderr]    Compiling tiff v0.6.0
[INFO] [stderr]    Compiling image v0.23.11
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling pistoncore-input v1.0.0
[INFO] [stderr]    Compiling pistoncore-window v0.47.0
[INFO] [stderr]    Compiling pistoncore-event_loop v0.52.0
[INFO] [stderr]    Compiling piston v0.52.0
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.70.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.4.6
[INFO] [stderr]    Compiling winit v0.19.5
[INFO] [stderr]    Compiling glutin v0.21.2
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.66.0
[INFO] [stderr]    Compiling piston_window v0.113.0
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::LinkedList`
[INFO] [stdout]  --> src/snake.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::LinkedList;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Context`, `G2d`, `rectangle`
[INFO] [stdout]  --> src/snake.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use piston_window::{rectangle, Context, G2d};
[INFO] [stdout]   |                     ^^^^^^^^^  ^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/ui.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     (game_coord as f64) * BLOCK_SIZE;
[INFO] [stdout]   |                           ^^^^^^^^^^ expected `f64`, found `f32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/ui.rs:6:37
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn to_coord(game_coord: i32) -> f64 {
[INFO] [stdout]   |        --------                     ^^^ expected `f64`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 7 |     (game_coord as f64) * BLOCK_SIZE;
[INFO] [stdout]   |                                     - help: consider removing this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot multiply `f64` by `f32`
[INFO] [stdout]  --> src/ui.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     (game_coord as f64) * BLOCK_SIZE;
[INFO] [stdout]   |                         ^ no implementation for `f64 * f32`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Mul<f32>` is not implemented for `f64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/ui.rs:14:37
[INFO] [stdout]    |
[INFO] [stdout] 14 |     rectangle(color, [gui_x, gui_y, BLOCK_SIZE, BLOCK_SIZE], con.transform, g)
[INFO] [stdout]    |                                     ^^^^^^^^^^
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     expected `f64`, found `f32`
[INFO] [stdout]    |                                     help: you can convert an `f32` to an `f64`: `BLOCK_SIZE.into()`
[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: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake` due to 5 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d0ced92d56764de9d3e81b9c4d01c75dcb66a612e17e8add14e608e8695f02cb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0ced92d56764de9d3e81b9c4d01c75dcb66a612e17e8add14e608e8695f02cb", kill_on_drop: false }`
[INFO] [stdout] d0ced92d56764de9d3e81b9c4d01c75dcb66a612e17e8add14e608e8695f02cb
