[INFO] cloning repository https://github.com/Celsiusss/blockygame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Celsiusss/blockygame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCelsiusss%2Fblockygame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCelsiusss%2Fblockygame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d36b25a807b50f7649729c611ceb35cdff4372f4 [INFO] checking Celsiusss/blockygame against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCelsiusss%2Fblockygame" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Celsiusss/blockygame on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Celsiusss/blockygame [INFO] finished tweaking git repo https://github.com/Celsiusss/blockygame [INFO] tweaked toml for git repo https://github.com/Celsiusss/blockygame written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Celsiusss/blockygame 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-core v0.1.0 [INFO] [stderr] Downloaded c_vec v2.0.0 [INFO] [stderr] Downloaded serde v1.0.149 [INFO] [stderr] Downloaded time v0.3.17 [INFO] [stderr] Downloaded libc v0.2.137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32b60713feaf47abed0d4e150dab55c4ba6a40faf0e4c66db0c3593d962dcb40 [INFO] running `Command { std: "docker" "start" "-a" "32b60713feaf47abed0d4e150dab55c4ba6a40faf0e4c66db0c3593d962dcb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32b60713feaf47abed0d4e150dab55c4ba6a40faf0e4c66db0c3593d962dcb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b60713feaf47abed0d4e150dab55c4ba6a40faf0e4c66db0c3593d962dcb40", kill_on_drop: false }` [INFO] [stdout] 32b60713feaf47abed0d4e150dab55c4ba6a40faf0e4c66db0c3593d962dcb40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b29481be9571a34b8c5c8169f9d82818ace253ad11b06daf0d357e38f29bfa4 [INFO] running `Command { std: "docker" "start" "-a" "9b29481be9571a34b8c5c8169f9d82818ace253ad11b06daf0d357e38f29bfa4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking c_vec v2.0.0 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sdltest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceType` [INFO] [stdout] --> src/render.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::piece::{BlockData, get_default_piece, PieceType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/render.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sdl2TtfContext` [INFO] [stdout] --> src/render.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::ttf::{Font, Sdl2TtfContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceType` [INFO] [stdout] --> src/render.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::piece::{BlockData, get_default_piece, PieceType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/render.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sdl2TtfContext` [INFO] [stdout] --> src/render.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::ttf::{Font, Sdl2TtfContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_bound` [INFO] [stdout] --> src/grid.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_bound` [INFO] [stdout] --> src/grid.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/input.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn handle_event(&mut self, grid: &mut Grid, event: &Event) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (shape, piece_type) = get_random_piece(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `placed` is never read [INFO] [stdout] --> src/piece.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BlockData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 65 | pub block: Block, [INFO] [stdout] 66 | pub placed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PIECES` is never used [INFO] [stdout] --> src/piece.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub static PIECES: [&ShapeRotations; 7] = [&Ls, &Js, &Ss, &Zs, &Is, &Os, &Ts]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ls` should have an upper case name [INFO] [stdout] --> src/shapes.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub static Ls: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `LS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Js` should have an upper case name [INFO] [stdout] --> src/shapes.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub static Js: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `JS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Is` should have an upper case name [INFO] [stdout] --> src/shapes.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub static Is: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `IS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Os` should have an upper case name [INFO] [stdout] --> src/shapes.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub static Os: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `OS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ss` should have an upper case name [INFO] [stdout] --> src/shapes.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub static Ss: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `SS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Zs` should have an upper case name [INFO] [stdout] --> src/shapes.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub static Zs: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `ZS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ts` should have an upper case name [INFO] [stdout] --> src/shapes.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub static Ts: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_bound` [INFO] [stdout] --> src/grid.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_bound` [INFO] [stdout] --> src/grid.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/input.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn handle_event(&mut self, grid: &mut Grid, event: &Event) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (shape, piece_type) = get_random_piece(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `placed` is never read [INFO] [stdout] --> src/piece.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BlockData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 65 | pub block: Block, [INFO] [stdout] 66 | pub placed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PIECES` is never used [INFO] [stdout] --> src/piece.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub static PIECES: [&ShapeRotations; 7] = [&Ls, &Js, &Ss, &Zs, &Is, &Os, &Ts]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ls` should have an upper case name [INFO] [stdout] --> src/shapes.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub static Ls: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `LS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Js` should have an upper case name [INFO] [stdout] --> src/shapes.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub static Js: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `JS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Is` should have an upper case name [INFO] [stdout] --> src/shapes.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub static Is: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `IS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Os` should have an upper case name [INFO] [stdout] --> src/shapes.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub static Os: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `OS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ss` should have an upper case name [INFO] [stdout] --> src/shapes.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub static Ss: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `SS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Zs` should have an upper case name [INFO] [stdout] --> src/shapes.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub static Zs: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `ZS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ts` should have an upper case name [INFO] [stdout] --> src/shapes.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub static Ts: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.26s [INFO] running `Command { std: "docker" "inspect" "9b29481be9571a34b8c5c8169f9d82818ace253ad11b06daf0d357e38f29bfa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b29481be9571a34b8c5c8169f9d82818ace253ad11b06daf0d357e38f29bfa4", kill_on_drop: false }` [INFO] [stdout] 9b29481be9571a34b8c5c8169f9d82818ace253ad11b06daf0d357e38f29bfa4 [INFO] checking Celsiusss/blockygame against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCelsiusss%2Fblockygame" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Celsiusss/blockygame on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Celsiusss/blockygame [INFO] finished tweaking git repo https://github.com/Celsiusss/blockygame [INFO] tweaked toml for git repo https://github.com/Celsiusss/blockygame written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Celsiusss/blockygame 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42f7549059757acc41c9da52dbe9020332491fc84f62286177d5381aeec1488b [INFO] running `Command { std: "docker" "start" "-a" "42f7549059757acc41c9da52dbe9020332491fc84f62286177d5381aeec1488b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42f7549059757acc41c9da52dbe9020332491fc84f62286177d5381aeec1488b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f7549059757acc41c9da52dbe9020332491fc84f62286177d5381aeec1488b", kill_on_drop: false }` [INFO] [stdout] 42f7549059757acc41c9da52dbe9020332491fc84f62286177d5381aeec1488b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49276e0a952624c97d41ef74a8441f24b861218947672cae0f90f3c897ca131c [INFO] running `Command { std: "docker" "start" "-a" "49276e0a952624c97d41ef74a8441f24b861218947672cae0f90f3c897ca131c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking c_vec v2.0.0 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sdltest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceType` [INFO] [stdout] --> src/render.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::piece::{BlockData, get_default_piece, PieceType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/render.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sdl2TtfContext` [INFO] [stdout] --> src/render.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::ttf::{Font, Sdl2TtfContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/piece.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PieceType` [INFO] [stdout] --> src/render.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::piece::{BlockData, get_default_piece, PieceType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Texture` [INFO] [stdout] --> src/render.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::render::{Canvas, Texture, TextureCreator}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sdl2TtfContext` [INFO] [stdout] --> src/render.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::ttf::{Font, Sdl2TtfContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_bound` [INFO] [stdout] --> src/grid.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_bound` [INFO] [stdout] --> src/grid.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/grid.rs:123:22 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/grid.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | let Position(x, y) = new_position + active.shape.pos; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_bound` [INFO] [stdout] --> src/grid.rs:125:14 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_bound` [INFO] [stdout] --> src/grid.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | let (x_bound, y_bound) = active.shape.bounds; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_bound` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/input.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn handle_event(&mut self, grid: &mut Grid, event: &Event) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (shape, piece_type) = get_random_piece(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `placed` is never read [INFO] [stdout] --> src/piece.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BlockData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 65 | pub block: Block, [INFO] [stdout] 66 | pub placed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PIECES` is never used [INFO] [stdout] --> src/piece.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub static PIECES: [&ShapeRotations; 7] = [&Ls, &Js, &Ss, &Zs, &Is, &Os, &Ts]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ls` should have an upper case name [INFO] [stdout] --> src/shapes.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub static Ls: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `LS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/input.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn handle_event(&mut self, grid: &mut Grid, event: &Event) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Js` should have an upper case name [INFO] [stdout] --> src/shapes.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub static Js: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `JS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Is` should have an upper case name [INFO] [stdout] --> src/shapes.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub static Is: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `IS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Os` should have an upper case name [INFO] [stdout] --> src/shapes.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub static Os: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `OS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ss` should have an upper case name [INFO] [stdout] --> src/shapes.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub static Ss: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `SS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Zs` should have an upper case name [INFO] [stdout] --> src/shapes.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub static Zs: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `ZS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ts` should have an upper case name [INFO] [stdout] --> src/shapes.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub static Ts: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shape` [INFO] [stdout] --> src/main.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | let (shape, piece_type) = get_random_piece(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `placed` is never read [INFO] [stdout] --> src/piece.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct BlockData { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 65 | pub block: Block, [INFO] [stdout] 66 | pub placed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PIECES` is never used [INFO] [stdout] --> src/piece.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub static PIECES: [&ShapeRotations; 7] = [&Ls, &Js, &Ss, &Zs, &Is, &Os, &Ts]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ls` should have an upper case name [INFO] [stdout] --> src/shapes.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub static Ls: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `LS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Js` should have an upper case name [INFO] [stdout] --> src/shapes.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub static Js: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `JS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Is` should have an upper case name [INFO] [stdout] --> src/shapes.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub static Is: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `IS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Os` should have an upper case name [INFO] [stdout] --> src/shapes.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub static Os: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `OS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ss` should have an upper case name [INFO] [stdout] --> src/shapes.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub static Ss: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `SS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Zs` should have an upper case name [INFO] [stdout] --> src/shapes.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 260 | pub static Zs: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `ZS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Ts` should have an upper case name [INFO] [stdout] --> src/shapes.rs:303:12 [INFO] [stdout] | [INFO] [stdout] 303 | pub static Ts: ShapeRotations = [ [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `TS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.19s [INFO] running `Command { std: "docker" "inspect" "49276e0a952624c97d41ef74a8441f24b861218947672cae0f90f3c897ca131c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49276e0a952624c97d41ef74a8441f24b861218947672cae0f90f3c897ca131c", kill_on_drop: false }` [INFO] [stdout] 49276e0a952624c97d41ef74a8441f24b861218947672cae0f90f3c897ca131c