[INFO] cloning repository https://github.com/Peter-Johnstone/King-Domino [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Peter-Johnstone/King-Domino" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeter-Johnstone%2FKing-Domino", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeter-Johnstone%2FKing-Domino'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46b2edd09345905b9d0685033b4a3d57acbf045e [INFO] checking Peter-Johnstone/King-Domino against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeter-Johnstone%2FKing-Domino" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Peter-Johnstone/King-Domino [INFO] finished tweaking git repo https://github.com/Peter-Johnstone/King-Domino [INFO] tweaked toml for git repo https://github.com/Peter-Johnstone/King-Domino written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Peter-Johnstone/King-Domino on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Peter-Johnstone/King-Domino 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c [INFO] running `Command { std: "docker" "start" "baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c", 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" "baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c", 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" "baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling quad-snd v0.2.8 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking dasp_frame v0.11.0 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking audrey v0.3.0 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking num_enum v0.7.4 [INFO] [stderr] Checking kingdomino v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `draft`, `grid_domino`, and `grid` [INFO] [stdout] --> src/gui.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::components::{draft, grid, grid_domino}; [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: `self` [INFO] [stdout] --> src/components/player.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::grid_domino::{self, GridDomino}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `draft`, `grid_domino`, and `grid` [INFO] [stdout] --> src/gui.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::components::{draft, grid, grid_domino}; [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: `self` [INFO] [stdout] --> src/components/player.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::grid_domino::{self, GridDomino}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let mut x_center: f32 = ((*x_high as f32) + (*x_low as f32))/2.0; [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/gui.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut y_center: f32 = ((*y_high as f32) + (*y_low as f32))/2.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let mut x_center: f32 = ((*x_high as f32) + (*x_low as f32))/2.0; [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/gui.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | let mut y_center: f32 = ((*y_high as f32) + (*y_low as f32))/2.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/grid.rs:277:44 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/grid.rs:277:51 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/components/grid.rs:277:58 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domino_rotation` [INFO] [stdout] --> src/components/grid.rs:277:69 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domino_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bot_maps`, `position_selected`, and `tile_map` are never used [INFO] [stdout] --> src/components/grid.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 54 | impl Grid [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn get_bot_maps(&self) -> &Vec<[[Tile; 9]; 9]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub(crate) fn tile_map(&self) -> &[[Tile;9];9]{&self.tile_map} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_not_placing` is never used [INFO] [stdout] --> src/components/player.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn is_not_placing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/components/grid.rs:277:44 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/components/grid.rs:277:51 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/components/grid.rs:277:58 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domino_rotation` [INFO] [stdout] --> src/components/grid.rs:277:69 [INFO] [stdout] | [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domino_rotation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bot_maps`, `position_selected`, and `tile_map` are never used [INFO] [stdout] --> src/components/grid.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 54 | impl Grid [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn get_bot_maps(&self) -> &Vec<[[Tile; 9]; 9]> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub(crate) fn position_selected(&self, x: u8, y: u8, id: usize, domino_rotation: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | pub(crate) fn tile_map(&self) -> &[[Tile;9];9]{&self.tile_map} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_not_placing` is never used [INFO] [stdout] --> src/components/player.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 15 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn is_not_placing(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/controller.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | for i in 0..100 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `controller` [INFO] [stdout] --> tests/controller.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | let controller = Controller::new().await; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_controller` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `tokio` [INFO] [stderr] --> Cargo.toml:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | [dependencies.tokio] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `tokio` [INFO] [stderr] warning: `kingdomino` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.41s [INFO] running `Command { std: "docker" "inspect" "baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c", kill_on_drop: false }` [INFO] [stdout] baa6fb07c4c633615fec04342e35d1275b1c58022903e83f94550ea0f5ac359c