[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 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeter-Johnstone%2FKing-Domino" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Peter-Johnstone/King-Domino on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b [INFO] running `Command { std: "docker" "start" "08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b", 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" "08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b", 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" "08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking miniquad v0.4.8 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling indexmap v2.11.0 [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 proc-macro-crate v3.3.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Checking tokio v1.47.1 [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 15.68s [INFO] running `Command { std: "docker" "inspect" "08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b", kill_on_drop: false }` [INFO] [stdout] 08e4879ec9ee985de17dddb369fe6a95b9d39b751463bb7bbf14c9259468c25b