[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjayshrivastava%2Fsnake" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jayshrivastava/snake on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-3/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.60.0" "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-event_loop v0.52.0 [INFO] [stderr] Downloaded weezl v0.1.2 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.70.0 [INFO] [stderr] Downloaded piston2d-graphics v0.37.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.66.0 [INFO] [stderr] Downloaded piston v0.52.0 [INFO] [stderr] Downloaded piston_window v0.113.0 [INFO] [stderr] Downloaded image v0.23.11 [INFO] [stderr] Downloaded tiff v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bde8a164ce0335770e22c821dcae15584ce989532b293282259f25da63a971b [INFO] running `Command { std: "docker" "start" "-a" "5bde8a164ce0335770e22c821dcae15584ce989532b293282259f25da63a971b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bde8a164ce0335770e22c821dcae15584ce989532b293282259f25da63a971b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bde8a164ce0335770e22c821dcae15584ce989532b293282259f25da63a971b", kill_on_drop: false }` [INFO] [stdout] 5bde8a164ce0335770e22c821dcae15584ce989532b293282259f25da63a971b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a57d5d7a0603b5251689bd49967ef865046935b00f0c34a372b714f0098f1c2 [INFO] running `Command { std: "docker" "start" "-a" "9a57d5d7a0603b5251689bd49967ef865046935b00f0c34a372b714f0098f1c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling weezl v0.1.2 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [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 bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [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 gl v0.11.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [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 png v0.16.7 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling piston2d-graphics v0.37.0 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling wayland-commons v0.21.13 [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 pistoncore-window v0.47.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.70.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: 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` 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] | ^^^^^^^^^^ 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" "9a57d5d7a0603b5251689bd49967ef865046935b00f0c34a372b714f0098f1c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a57d5d7a0603b5251689bd49967ef865046935b00f0c34a372b714f0098f1c2", kill_on_drop: false }` [INFO] [stdout] 9a57d5d7a0603b5251689bd49967ef865046935b00f0c34a372b714f0098f1c2