[INFO] cloning repository https://github.com/lucascaro/rust-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/lucascaro/rust-snake-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucascaro%2Frust-snake-game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucascaro%2Frust-snake-game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b649cd4766e0fd28c1fddbaf67b586f0bae05068
[INFO] checking lucascaro/rust-snake-game against try#6757d700f93f6d16c8b39cf79e96b019bd570e7d for pr-155299-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucascaro%2Frust-snake-game" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lucascaro/rust-snake-game
[INFO] finished tweaking git repo https://github.com/lucascaro/rust-snake-game
[INFO] tweaked toml for git repo https://github.com/lucascaro/rust-snake-game written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lucascaro/rust-snake-game on toolchain 6757d700f93f6d16c8b39cf79e96b019bd570e7d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lucascaro/rust-snake-game 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" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a93de07f684ce51c5c64080c8e7a10663bbf35a74e2cb407e7f6a03ac316756e
[INFO] running `Command { std: "docker" "start" "-a" "a93de07f684ce51c5c64080c8e7a10663bbf35a74e2cb407e7f6a03ac316756e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a93de07f684ce51c5c64080c8e7a10663bbf35a74e2cb407e7f6a03ac316756e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a93de07f684ce51c5c64080c8e7a10663bbf35a74e2cb407e7f6a03ac316756e", kill_on_drop: false }`
[INFO] [stdout] a93de07f684ce51c5c64080c8e7a10663bbf35a74e2cb407e7f6a03ac316756e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+6757d700f93f6d16c8b39cf79e96b019bd570e7d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bfe9e93e2134adc789c00b34d244fa96fb6d17ad2660fa96aedf42609326ebd7
[INFO] running `Command { std: "docker" "start" "-a" "bfe9e93e2134adc789c00b34d244fa96fb6d17ad2660fa96aedf42609326ebd7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]    Compiling const_fn v0.4.5
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.4
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling wayland-sys v0.28.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling nom v6.1.0
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking piston-graphics_api_version v1.0.0
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]    Compiling wayland-scanner v0.28.3
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking crossbeam-epoch v0.9.1
[INFO] [stderr]     Checking crossbeam-channel v0.5.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking weezl v0.1.3
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking parking_lot_core v0.8.2
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking lock_api v0.4.2
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking gif v0.11.1
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking xcursor v0.3.3
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]     Checking bytemuck v1.5.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking shader_version v0.7.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling wayland-client v0.28.3
[INFO] [stderr]    Compiling wayland-protocols v0.28.3
[INFO] [stderr]     Checking rand_core v0.6.1
[INFO] [stderr]     Checking find_folder v0.3.0
[INFO] [stderr]     Checking piston2d-graphics v0.39.0
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.2
[INFO] [stderr]     Checking wayland-commons v0.28.3
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking jpeg-decoder v0.1.21
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking wayland-cursor v0.28.3
[INFO] [stderr]     Checking wayland-egl v0.28.3
[INFO] [stderr]     Checking image v0.23.12
[INFO] [stderr]     Checking piston-gfx_texture v0.41.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.72.0
[INFO] [stderr]     Checking pistoncore-input v1.0.0
[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 smithay-client-toolkit v0.12.2
[INFO] [stderr]     Checking winit v0.24.0
[INFO] [stderr]     Checking glutin v0.26.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.68.0
[INFO] [stderr]     Checking piston_window v0.117.0
[INFO] [stderr]     Checking snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]   --> src/score.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |   pub fn from(file_name: &str) -> Score {
[INFO] [stdout]    |               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `file_name`
[INFO] [stdout]   --> src/score.rs:14:15
[INFO] [stdout]    |
[INFO] [stdout] 14 |   pub fn from(file_name: &str) -> Score {
[INFO] [stdout]    |               ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `scores` are never read
[INFO] [stdout]   --> src/config.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 27 |   pub version: u8,
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |   pub scores: ScoresConfig,
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `snake` is never read
[INFO] [stdout]   --> src/config.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct ColorConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |   pub snake: Color,
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last` and `top` are never read
[INFO] [stdout]   --> src/config.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct ScoresConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 54 |   pub last: u32,
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 55 |   pub top: Vec<u32>,
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Score` is never constructed
[INFO] [stdout]  --> src/score.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Score {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from`, and `set_score` are never used
[INFO] [stdout]   --> src/score.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Score {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout]  7 |   pub fn new() -> Score {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |   pub fn from(file_name: &str) -> Score {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |   pub fn set_score(&mut self, score: u32) {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version` and `scores` are never read
[INFO] [stdout]   --> src/config.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 27 |   pub version: u8,
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |   pub scores: ScoresConfig,
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `snake` is never read
[INFO] [stdout]   --> src/config.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub struct ColorConfig {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |   pub snake: Color,
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `last` and `top` are never read
[INFO] [stdout]   --> src/config.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct ScoresConfig {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 54 |   pub last: u32,
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 55 |   pub top: Vec<u32>,
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Score` is never constructed
[INFO] [stdout]  --> src/score.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Score {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `from`, and `set_score` are never used
[INFO] [stdout]   --> src/score.rs:7:10
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Score {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout]  7 |   pub fn new() -> Score {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 14 |   pub fn from(file_name: &str) -> Score {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |   pub fn set_score(&mut self, score: u32) {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "bfe9e93e2134adc789c00b34d244fa96fb6d17ad2660fa96aedf42609326ebd7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfe9e93e2134adc789c00b34d244fa96fb6d17ad2660fa96aedf42609326ebd7", kill_on_drop: false }`
[INFO] [stdout] bfe9e93e2134adc789c00b34d244fa96fb6d17ad2660fa96aedf42609326ebd7
