[INFO] cloning repository https://github.com/niknik3610/Tetris-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niknik3610/Tetris-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniknik3610%2FTetris-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniknik3610%2FTetris-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7224564f9895ad3679552373a08eb335e7739dcc
[INFO] checking niknik3610/Tetris-rs against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniknik3610%2FTetris-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/niknik3610/Tetris-rs
[INFO] finished tweaking git repo https://github.com/niknik3610/Tetris-rs
[INFO] tweaked toml for git repo https://github.com/niknik3610/Tetris-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/niknik3610/Tetris-rs on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/niknik3610/Tetris-rs 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded xml-rs v0.8.5
[INFO] [stderr]   Downloaded gl v0.14.0
[INFO] [stderr]   Downloaded libc v0.2.142
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f87cbd158a2cc67e9ce59a3d3d87374b255ced5a1d90e68abd83929d215ffdb2
[INFO] running `Command { std: "docker" "start" "-a" "f87cbd158a2cc67e9ce59a3d3d87374b255ced5a1d90e68abd83929d215ffdb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f87cbd158a2cc67e9ce59a3d3d87374b255ced5a1d90e68abd83929d215ffdb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f87cbd158a2cc67e9ce59a3d3d87374b255ced5a1d90e68abd83929d215ffdb2", kill_on_drop: false }`
[INFO] [stdout] f87cbd158a2cc67e9ce59a3d3d87374b255ced5a1d90e68abd83929d215ffdb2
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5f804df7692ffdd8ee651a7400d702ac4dd2c43fed55ca98d2c2c7004c8e1f0a
[INFO] running `Command { std: "docker" "start" "-a" "5f804df7692ffdd8ee651a7400d702ac4dd2c43fed55ca98d2c2c7004c8e1f0a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling xml-rs v0.8.5
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl v0.14.0
[INFO] [stderr]     Checking getrandom v0.2.9
[INFO] [stderr]     Checking sdl2-sys v0.35.2
[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 sdl2 v0.35.2
[INFO] [stderr]     Checking tetris-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error_handler::Error`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::error_handler::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error_handler::Error`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use crate::error_handler::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> src/error_handler.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]   |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `f`
[INFO] [stdout]  --> src/error_handler.rs:8:19
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
[INFO] [stdout]   |                   ^ help: if this is intentional, prefix it with an underscore: `_f`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (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:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut moves_per_second = 7;
[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:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut move_time = Duration::from_millis(1000 / moves_per_second);
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/main.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     timestamp,
[INFO] [stdout]     |                     ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/main.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     window_id,
[INFO] [stdout]     |                     ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `template`
[INFO] [stdout]    --> src/main.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     template: &Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AlreadyTaken` is never constructed
[INFO] [stdout]   --> src/game_board.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum BoardError {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 18 |     AlreadyTaken,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BoardError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sdl` is never read
[INFO] [stdout]   --> src/opengl_backend.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct GLStructs {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 17 |     sdl: Sdl,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_bg` is never used
[INFO] [stdout]    --> src/opengl_backend.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl VideoBuffer {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn clear_bg(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_source` is never used
[INFO] [stdout]  --> src/opengl_backend/shader.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Shader {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn from_source(source: &CStr, kind: GLuint) -> Result<Shader, String> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let mut moves_per_second = 7;
[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:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     let mut move_time = Duration::from_millis(1000 / moves_per_second);
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `timestamp`
[INFO] [stdout]    --> src/main.rs:104:21
[INFO] [stdout]     |
[INFO] [stdout] 104 |                     timestamp,
[INFO] [stdout]     |                     ^^^^^^^^^ help: try ignoring the field: `timestamp: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_id`
[INFO] [stdout]    --> src/main.rs:105:21
[INFO] [stdout]     |
[INFO] [stdout] 105 |                     window_id,
[INFO] [stdout]     |                     ^^^^^^^^^ help: try ignoring the field: `window_id: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `template`
[INFO] [stdout]    --> src/main.rs:152:5
[INFO] [stdout]     |
[INFO] [stdout] 152 |     template: &Vec<usize>,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `AlreadyTaken` is never constructed
[INFO] [stdout]   --> src/game_board.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum BoardError {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 18 |     AlreadyTaken,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `BoardError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `sdl` is never read
[INFO] [stdout]   --> src/opengl_backend.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct GLStructs {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] 17 |     sdl: Sdl,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `clear_bg` is never used
[INFO] [stdout]    --> src/opengl_backend.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl VideoBuffer {
[INFO] [stdout]     | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn clear_bg(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_source` is never used
[INFO] [stdout]  --> src/opengl_backend/shader.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Shader {
[INFO] [stdout]   | ----------- associated function in this implementation
[INFO] [stdout] 7 |     pub fn from_source(source: &CStr, kind: GLuint) -> Result<Shader, String> {
[INFO] [stdout]   |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.50s
[INFO] running `Command { std: "docker" "inspect" "5f804df7692ffdd8ee651a7400d702ac4dd2c43fed55ca98d2c2c7004c8e1f0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f804df7692ffdd8ee651a7400d702ac4dd2c43fed55ca98d2c2c7004c8e1f0a", kill_on_drop: false }`
[INFO] [stdout] 5f804df7692ffdd8ee651a7400d702ac4dd2c43fed55ca98d2c2c7004c8e1f0a
