[INFO] cloning repository https://github.com/HeyKile/twenty-fourty-eight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HeyKile/twenty-fourty-eight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeyKile%2Ftwenty-fourty-eight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeyKile%2Ftwenty-fourty-eight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ada5c955dc2d34a904a258c8b6239afaf80948b [INFO] checking HeyKile/twenty-fourty-eight against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeyKile%2Ftwenty-fourty-eight" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HeyKile/twenty-fourty-eight [INFO] finished tweaking git repo https://github.com/HeyKile/twenty-fourty-eight [INFO] tweaked toml for git repo https://github.com/HeyKile/twenty-fourty-eight written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HeyKile/twenty-fourty-eight on toolchain 895980e0290783bb09b1ccf1b11f14eb09b10430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HeyKile/twenty-fourty-eight 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" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641 [INFO] running `Command { std: "docker" "start" "39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling miniquad v0.4.5 [INFO] [stderr] Checking bytemuck v1.16.3 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking quad-rand v0.2.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.7.3 [INFO] [stderr] Checking macroquad v0.4.12 [INFO] [stderr] Checking twenty-fourty-eight v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [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: `rand::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_board` [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | fn spawn_square(game_board: Vec, sq_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sq_size` [INFO] [stdout] --> src/main.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | fn spawn_square(game_board: Vec, sq_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sq_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SIZE` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TILE_SIZE: i32 = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `pos`, and `color` are never read [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Square { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | value: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pos: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | color: Color [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Square { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 17 | fn new(init_value: u16, init_pos: Point, init_color: Color) -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_square` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn spawn_square(game_board: Vec, sq_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::vec; [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: `rand::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_board` [INFO] [stdout] --> src/main.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | fn spawn_square(game_board: Vec, sq_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sq_size` [INFO] [stdout] --> src/main.rs:80:42 [INFO] [stdout] | [INFO] [stdout] 80 | fn spawn_square(game_board: Vec, sq_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sq_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TILE_SIZE` is never used [INFO] [stdout] --> src/main.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const TILE_SIZE: i32 = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value`, `pos`, and `color` are never read [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | struct Square { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | value: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pos: Point, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | color: Color [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Square { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 17 | fn new(init_value: u16, init_pos: Point, init_color: Color) -> Square { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `spawn_square` is never used [INFO] [stdout] --> src/main.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn spawn_square(game_board: Vec, sq_size: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.29s [INFO] running `Command { std: "docker" "inspect" "39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641", kill_on_drop: false }` [INFO] [stdout] 39f062469009f682ea46d637ea82c2482a06b3fe565185dc3be3509d47282641