[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 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayshrivastava%2Fsnake" "/workspace/builds/worker-9/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jayshrivastava/snake on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "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-9/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" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded piston_window v0.113.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "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] b2711ba921b3154d894eefd10d5348453362b3a9fce4dc2efdba1a767f48f54b
[INFO] running `Command { std: "docker" "start" "-a" "b2711ba921b3154d894eefd10d5348453362b3a9fce4dc2efdba1a767f48f54b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2711ba921b3154d894eefd10d5348453362b3a9fce4dc2efdba1a767f48f54b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2711ba921b3154d894eefd10d5348453362b3a9fce4dc2efdba1a767f48f54b", kill_on_drop: false }`
[INFO] [stdout] b2711ba921b3154d894eefd10d5348453362b3a9fce4dc2efdba1a767f48f54b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a308c5fd070e2c88304e28d4346574dbcb78765d01abdb47df584650e79e0a3f
[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" "a308c5fd070e2c88304e28d4346574dbcb78765d01abdb47df584650e79e0a3f", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.0
[INFO] [stderr]    Compiling weezl v0.1.2
[INFO] [stderr]    Compiling cc v1.0.61
[INFO] [stderr]    Compiling bytemuck v1.4.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[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 draw_state v0.8.0
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling gif v0.11.1
[INFO] [stderr]    Compiling png v0.16.7
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling wayland-sys v0.21.13
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.9.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 rand_chacha v0.2.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[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-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling rayon v1.5.0
[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 gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling image v0.23.11
[INFO] [stderr]    Compiling pistoncore-input v1.0.0
[INFO] [stderr]    Compiling piston-gfx_texture v0.41.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.70.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 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: remove 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]   = help: the following other types implement trait `Mul<Rhs>`:
[INFO] [stdout]             <&'a f32 as Mul<f32>>
[INFO] [stdout]             <&'a f64 as Mul<f64>>
[INFO] [stdout]             <&'a i128 as Mul<i128>>
[INFO] [stdout]             <&'a i16 as Mul<i16>>
[INFO] [stdout]             <&'a i32 as Mul<i32>>
[INFO] [stdout]             <&'a i64 as Mul<i64>>
[INFO] [stdout]             <&'a i8 as Mul<i8>>
[INFO] [stdout]             <&'a isize as Mul<isize>>
[INFO] [stdout]           and 51 others
[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]    |                                     ^^^^^^^^^^ expected `f64`, found `f32`
[INFO] [stdout]    |
[INFO] [stdout] help: you can convert an `f32` to an `f64`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     rectangle(color, [gui_x, gui_y, BLOCK_SIZE.into(), BLOCK_SIZE], con.transform, g)
[INFO] [stdout]    |                                               +++++++
[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" "a308c5fd070e2c88304e28d4346574dbcb78765d01abdb47df584650e79e0a3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a308c5fd070e2c88304e28d4346574dbcb78765d01abdb47df584650e79e0a3f", kill_on_drop: false }`
[INFO] [stdout] a308c5fd070e2c88304e28d4346574dbcb78765d01abdb47df584650e79e0a3f
