[INFO] cloning repository https://github.com/DempseyBlum/rust-snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DempseyBlum/rust-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDempseyBlum%2Frust-snake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDempseyBlum%2Frust-snake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4774952dc4b47028147daa7c6e90342bf06cf4a7 [INFO] building DempseyBlum/rust-snake against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDempseyBlum%2Frust-snake" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DempseyBlum/rust-snake [INFO] finished tweaking git repo https://github.com/DempseyBlum/rust-snake [INFO] tweaked toml for git repo https://github.com/DempseyBlum/rust-snake written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DempseyBlum/rust-snake 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/DempseyBlum/rust-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded image-webp v0.1.3 [INFO] [stderr] Downloaded spin_sleep v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b0f992de707aaa78aed279b37bf70b9c36c963226bc5ac6b190ffc9d99dae2f8 [INFO] running `Command { std: "docker" "start" "-a" "b0f992de707aaa78aed279b37bf70b9c36c963226bc5ac6b190ffc9d99dae2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0f992de707aaa78aed279b37bf70b9c36c963226bc5ac6b190ffc9d99dae2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f992de707aaa78aed279b37bf70b9c36c963226bc5ac6b190ffc9d99dae2f8", kill_on_drop: false }` [INFO] [stdout] b0f992de707aaa78aed279b37bf70b9c36c963226bc5ac6b190ffc9d99dae2f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 74728fff8fc3c7b1a95d4785c4a6b57d06629e9dea1545917702c0db5d25831b [INFO] running `Command { std: "docker" "start" "-a" "74728fff8fc3c7b1a95d4785c4a6b57d06629e9dea1545917702c0db5d25831b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytemuck v1.17.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling glutin_egl_sys v0.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.4.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling gfx v0.18.3 [INFO] [stderr] Compiling spin_sleep v1.2.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling glutin v0.30.10 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v1.0.0 [INFO] [stderr] Compiling pistoncore-event_loop v1.0.0 [INFO] [stderr] Compiling piston v1.0.0 [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling piston-gfx_texture v0.45.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.85.1 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.81.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling glutin-winit v0.3.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.72.0 [INFO] [stderr] Compiling piston_window v0.132.0 [INFO] [stderr] Compiling rust-snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/main.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(columns: u32, rows: u32) -> App { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/main.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(columns: u32, rows: u32) -> App { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut snake = snake::Snake::new(0, 0, Some(snake::Direction::Right), grid.cols as i32, grid.rows as i32); [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: unused variable: `args` [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(args) = e.render_args() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | score: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "74728fff8fc3c7b1a95d4785c4a6b57d06629e9dea1545917702c0db5d25831b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74728fff8fc3c7b1a95d4785c4a6b57d06629e9dea1545917702c0db5d25831b", kill_on_drop: false }` [INFO] [stdout] 74728fff8fc3c7b1a95d4785c4a6b57d06629e9dea1545917702c0db5d25831b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 187d5a7ba53063ebdfa59b66f4cd1bfe658f0ef3fd470e47141d2a88c4fd006d [INFO] running `Command { std: "docker" "start" "-a" "187d5a7ba53063ebdfa59b66f4cd1bfe658f0ef3fd470e47141d2a88c4fd006d", kill_on_drop: false }` [INFO] [stderr] Compiling rust-snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `columns` [INFO] [stdout] --> src/main.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(columns: u32, rows: u32) -> App { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_columns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/main.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(columns: u32, rows: u32) -> App { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut snake = snake::Snake::new(0, 0, Some(snake::Direction::Right), grid.cols as i32, grid.rows as i32); [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: unused variable: `args` [INFO] [stdout] --> src/main.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(args) = e.render_args() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `score` is never read [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | score: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.19s [INFO] running `Command { std: "docker" "inspect" "187d5a7ba53063ebdfa59b66f4cd1bfe658f0ef3fd470e47141d2a88c4fd006d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "187d5a7ba53063ebdfa59b66f4cd1bfe658f0ef3fd470e47141d2a88c4fd006d", kill_on_drop: false }` [INFO] [stdout] 187d5a7ba53063ebdfa59b66f4cd1bfe658f0ef3fd470e47141d2a88c4fd006d