[INFO] cloning repository https://github.com/simeleo20/tetrisRaylib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/simeleo20/tetrisRaylib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimeleo20%2FtetrisRaylib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimeleo20%2FtetrisRaylib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f64e3b93b6575b3b52c86a4d814f0d58ee78aec [INFO] checking simeleo20/tetrisRaylib against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsimeleo20%2FtetrisRaylib" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/simeleo20/tetrisRaylib [INFO] finished tweaking git repo https://github.com/simeleo20/tetrisRaylib [INFO] tweaked toml for git repo https://github.com/simeleo20/tetrisRaylib written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/simeleo20/tetrisRaylib on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/simeleo20/tetrisRaylib 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded raylib v5.5.0 [INFO] [stderr] Downloaded raylib-sys v5.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d9d07f9d11dc684a4d3c7cf85260e2f5428b58425db4e546c05966b04fd11da [INFO] running `Command { std: "docker" "start" "-a" "5d9d07f9d11dc684a4d3c7cf85260e2f5428b58425db4e546c05966b04fd11da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d9d07f9d11dc684a4d3c7cf85260e2f5428b58425db4e546c05966b04fd11da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d9d07f9d11dc684a4d3c7cf85260e2f5428b58425db4e546c05966b04fd11da", kill_on_drop: false }` [INFO] [stdout] 5d9d07f9d11dc684a4d3c7cf85260e2f5428b58425db4e546c05966b04fd11da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b93f808a9c6b73b8134e62a0fef6d2052148229626ca7a552f1e846dab5aad58 [INFO] running `Command { std: "docker" "start" "-a" "b93f808a9c6b73b8134e62a0fef6d2052148229626ca7a552f1e846dab5aad58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.0 [INFO] [stderr] Checking raylib v5.5.0 [INFO] [stderr] Checking tetrisRaylib v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeginDrawing`, `GetRandomValue`, and `false_` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use raylib::{ffi::{false_, BeginDrawing, GetRandomValue}, prelude::*}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::clone` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::clone; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeginDrawing`, `GetRandomValue`, and `false_` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use raylib::{ffi::{false_, BeginDrawing, GetRandomValue}, prelude::*}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{prelude::*, random_range}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{prelude::*, random_range}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/main.rs:696:37 [INFO] [stdout] | [INFO] [stdout] 696 | fn handle_move_input(&mut self, rl:&mut RaylibHandle) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/main.rs:721:33 [INFO] [stdout] | [INFO] [stdout] 721 | fn handle_rotate(&mut self, rl:&mut RaylibHandle) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/main.rs:696:37 [INFO] [stdout] | [INFO] [stdout] 696 | fn handle_move_input(&mut self, rl:&mut RaylibHandle) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | let map: [[Option; 10]; 40] = [[None;10]; 40]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/main.rs:721:33 [INFO] [stdout] | [INFO] [stdout] 721 | fn handle_rotate(&mut self, rl:&mut RaylibHandle) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_map` is never used [INFO] [stdout] --> src/main.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Piece { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn print_map(&self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Up` is never constructed [INFO] [stdout] --> src/main.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 252 | enum Dir [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 253 | { [INFO] [stdout] 254 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_key_down` is never used [INFO] [stdout] --> src/main.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 283 | impl KeysStates { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | fn is_key_down(&self, key:KeyboardKey) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hold` and `hold_used` are never read [INFO] [stdout] --> src/main.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct Game [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | hold: Piece, [INFO] [stdout] | ^^^^ [INFO] [stdout] 353 | hold_used: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `map` [INFO] [stdout] --> src/main.rs:772:9 [INFO] [stdout] | [INFO] [stdout] 772 | let map: [[Option; 10]; 40] = [[None;10]; 40]; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `map_size` should have an upper case name [INFO] [stdout] --> src/main.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 366 | const map_size:Vector2 = Vector2::new(10.,40.); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 366 - const map_size:Vector2 = Vector2::new(10.,40.); [INFO] [stdout] 366 + const MAP_SIZE:Vector2 = Vector2::new(10.,40.); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_map` is never used [INFO] [stdout] --> src/main.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl Piece { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | fn print_map(&self) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Up` is never constructed [INFO] [stdout] --> src/main.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 252 | enum Dir [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 253 | { [INFO] [stdout] 254 | Up, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_key_down` is never used [INFO] [stdout] --> src/main.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 283 | impl KeysStates { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 296 | fn is_key_down(&self, key:KeyboardKey) -> bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hold` and `hold_used` are never read [INFO] [stdout] --> src/main.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 347 | struct Game [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 352 | hold: Piece, [INFO] [stdout] | ^^^^ [INFO] [stdout] 353 | hold_used: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `map_size` should have an upper case name [INFO] [stdout] --> src/main.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 366 | const map_size:Vector2 = Vector2::new(10.,40.); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 366 - const map_size:Vector2 = Vector2::new(10.,40.); [INFO] [stdout] 366 + const MAP_SIZE:Vector2 = Vector2::new(10.,40.); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.77s [INFO] running `Command { std: "docker" "inspect" "b93f808a9c6b73b8134e62a0fef6d2052148229626ca7a552f1e846dab5aad58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93f808a9c6b73b8134e62a0fef6d2052148229626ca7a552f1e846dab5aad58", kill_on_drop: false }` [INFO] [stdout] b93f808a9c6b73b8134e62a0fef6d2052148229626ca7a552f1e846dab5aad58