[INFO] cloning repository https://github.com/Iamhere345/snake-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Iamhere345/snake-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIamhere345%2Fsnake-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIamhere345%2Fsnake-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbc96d2df9ce2ff5ed19ee58f2a3ef417eb3ad30 [INFO] building Iamhere345/snake-rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIamhere345%2Fsnake-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Iamhere345/snake-rust [INFO] finished tweaking git repo https://github.com/Iamhere345/snake-rust [INFO] tweaked toml for git repo https://github.com/Iamhere345/snake-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Iamhere345/snake-rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Iamhere345/snake-rust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.10 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded lyon_geom v0.17.7 [INFO] [stderr] Downloaded ttf-parser v0.15.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8499376c64684a354da7a77118cb42252f7a457b87f42b9191f87b576e10f9cf [INFO] running `Command { std: "docker" "start" "-a" "8499376c64684a354da7a77118cb42252f7a457b87f42b9191f87b576e10f9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8499376c64684a354da7a77118cb42252f7a457b87f42b9191f87b576e10f9cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8499376c64684a354da7a77118cb42252f7a457b87f42b9191f87b576e10f9cf", kill_on_drop: false }` [INFO] [stdout] 8499376c64684a354da7a77118cb42252f7a457b87f42b9191f87b576e10f9cf [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc1fc7f3a6157f4cc2a2b235e5e1682860f38a976e40d1245ddb38254e119d36 [INFO] running `Command { std: "docker" "start" "-a" "fc1fc7f3a6157f4cc2a2b235e5e1682860f38a976e40d1245ddb38254e119d36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling semver v1.0.10 [INFO] [stderr] Compiling camino v1.0.9 [INFO] [stderr] Compiling euclid v0.22.7 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.1 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ttf-parser v0.15.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling weezl v0.1.6 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling lyon_geom v0.17.7 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling owned_ttf_parser v0.15.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling ab_glyph v0.2.15 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling ordered-float v3.0.0 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling directories v3.0.2 [INFO] [stderr] Compiling glam v0.20.5 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling gilrs-core v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling glyph_brush v0.7.4 [INFO] [stderr] Compiling gilrs v0.8.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ggez v0.7.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling old_school_gfx_glutin_ext v0.27.0 [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let mut snake_head = &mut self.snake_pos[0]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let mut snake_pos = &mut self.snake_pos; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "fc1fc7f3a6157f4cc2a2b235e5e1682860f38a976e40d1245ddb38254e119d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc1fc7f3a6157f4cc2a2b235e5e1682860f38a976e40d1245ddb38254e119d36", kill_on_drop: false }` [INFO] [stdout] fc1fc7f3a6157f4cc2a2b235e5e1682860f38a976e40d1245ddb38254e119d36 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e4a585e7043d9b14a2eed783ee126b27f1981f7adf6fb33f035263e5f1b67f1 [INFO] running `Command { std: "docker" "start" "-a" "9e4a585e7043d9b14a2eed783ee126b27f1981f7adf6fb33f035263e5f1b67f1", kill_on_drop: false }` [INFO] [stderr] Compiling snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread` and `time` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:25 [INFO] [stdout] | [INFO] [stdout] 110 | let mut snake_head = &mut self.snake_pos[0]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let mut snake_pos = &mut self.snake_pos; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "9e4a585e7043d9b14a2eed783ee126b27f1981f7adf6fb33f035263e5f1b67f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4a585e7043d9b14a2eed783ee126b27f1981f7adf6fb33f035263e5f1b67f1", kill_on_drop: false }` [INFO] [stdout] 9e4a585e7043d9b14a2eed783ee126b27f1981f7adf6fb33f035263e5f1b67f1