[INFO] cloning repository https://github.com/thislock/a_star_snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thislock/a_star_snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthislock%2Fa_star_snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthislock%2Fa_star_snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0b484bb31c1018c57931514eede031316ab736f [INFO] building thislock/a_star_snake against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthislock%2Fa_star_snake" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thislock/a_star_snake on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thislock/a_star_snake [INFO] finished tweaking git repo https://github.com/thislock/a_star_snake [INFO] tweaked toml for git repo https://github.com/thislock/a_star_snake written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/thislock/a_star_snake 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cc94806be8700c560aa3256fe88768989020f75036c71bd7f8f051c5eacfa04 [INFO] running `Command { std: "docker" "start" "-a" "1cc94806be8700c560aa3256fe88768989020f75036c71bd7f8f051c5eacfa04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cc94806be8700c560aa3256fe88768989020f75036c71bd7f8f051c5eacfa04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc94806be8700c560aa3256fe88768989020f75036c71bd7f8f051c5eacfa04", kill_on_drop: false }` [INFO] [stdout] 1cc94806be8700c560aa3256fe88768989020f75036c71bd7f8f051c5eacfa04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e2da332068ec59ee87ff5c539043ea8de0126f6d13545bee40095f601c75a7d [INFO] running `Command { std: "docker" "start" "-a" "1e2da332068ec59ee87ff5c539043ea8de0126f6d13545bee40095f601c75a7d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling a_star_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/snake.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{draw::{Color, PixelBuffer}, SNAKE_GRID_SIZE_I32, pathfinding::Path, SNAKE_GRID_SIZE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/pathfinding.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::libc::_SC_THREAD_CPUTIME` [INFO] [stdout] --> src/pathfinding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::libc::_SC_THREAD_CPUTIME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/pathfinding.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/events.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 13 | Event::KeyDown { keycode: Some(keycode), .. } => { [INFO] [stdout] | --------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 26 | Event::KeyDown { keycode: Some(Keycode::Escape), .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target_fps`, `fps_count`, and `sec_counter` are never read [INFO] [stdout] --> src/frame_culling.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FrameCulling { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | target_fps: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fps_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | sec_counter: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_fps` and `reset_fps` are never used [INFO] [stdout] --> src/frame_culling.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl FrameCulling { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn print_fps(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn reset_fps(&mut self, fps: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.08s [INFO] running `Command { std: "docker" "inspect" "1e2da332068ec59ee87ff5c539043ea8de0126f6d13545bee40095f601c75a7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2da332068ec59ee87ff5c539043ea8de0126f6d13545bee40095f601c75a7d", kill_on_drop: false }` [INFO] [stdout] 1e2da332068ec59ee87ff5c539043ea8de0126f6d13545bee40095f601c75a7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d9a2e1eed15dacd6bf0c2e7008db9e63ff4a13f98505834ba89504d788100be [INFO] running `Command { std: "docker" "start" "-a" "1d9a2e1eed15dacd6bf0c2e7008db9e63ff4a13f98505834ba89504d788100be", kill_on_drop: false }` [INFO] [stderr] Compiling a_star_snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Color` [INFO] [stdout] --> src/snake.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{draw::{Color, PixelBuffer}, SNAKE_GRID_SIZE_I32, pathfinding::Path, SNAKE_GRID_SIZE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread` [INFO] [stdout] --> src/pathfinding.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{collections::HashMap, thread}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::libc::_SC_THREAD_CPUTIME` [INFO] [stdout] --> src/pathfinding.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::libc::_SC_THREAD_CPUTIME; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/pathfinding.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/events.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 13 | Event::KeyDown { keycode: Some(keycode), .. } => { [INFO] [stdout] | --------------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 26 | Event::KeyDown { keycode: Some(Keycode::Escape), .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `target_fps`, `fps_count`, and `sec_counter` are never read [INFO] [stdout] --> src/frame_culling.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct FrameCulling { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 7 | target_fps: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fps_count: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | sec_counter: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_fps` and `reset_fps` are never used [INFO] [stdout] --> src/frame_culling.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 15 | impl FrameCulling { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn print_fps(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn reset_fps(&mut self, fps: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "1d9a2e1eed15dacd6bf0c2e7008db9e63ff4a13f98505834ba89504d788100be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9a2e1eed15dacd6bf0c2e7008db9e63ff4a13f98505834ba89504d788100be", kill_on_drop: false }` [INFO] [stdout] 1d9a2e1eed15dacd6bf0c2e7008db9e63ff4a13f98505834ba89504d788100be