[INFO] cloning repository https://github.com/AIexandrKotov/MDConquest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AIexandrKotov/MDConquest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIexandrKotov%2FMDConquest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIexandrKotov%2FMDConquest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 395d71342835ebc92ba0ceced668319a49642c24 [INFO] checking AIexandrKotov/MDConquest against 895980e0290783bb09b1ccf1b11f14eb09b10430 for pr-160186 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAIexandrKotov%2FMDConquest" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AIexandrKotov/MDConquest [INFO] finished tweaking git repo https://github.com/AIexandrKotov/MDConquest [INFO] tweaked toml for git repo https://github.com/AIexandrKotov/MDConquest written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AIexandrKotov/MDConquest 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/AIexandrKotov/MDConquest 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-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54 [INFO] running `Command { std: "docker" "start" "ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54", 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" "ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54", 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" "ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54" "/opt/rustwide/cargo-home/bin/cargo" "+895980e0290783bb09b1ccf1b11f14eb09b10430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Checking mdconquest-lib v0.1.0 (/opt/rustwide/workdir/mdconquest-lib) [INFO] [stderr] Checking mdconquest-server v0.1.0 (/opt/rustwide/workdir/mdconquest-server) [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Checking mdconquest-client v0.1.0 (/opt/rustwide/workdir/mdconquest-client) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | fn hovered(&self, x: f32, y: f32, button: MouseButton) -> bool { [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] --> mdconquest-client/src/uihelpers.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | fn hovered(&self, x: f32, y: f32, button: MouseButton) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_turn` is assigned to, but never used [INFO] [stdout] --> mdconquest-client/src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut current_turn = Option::::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_turn` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_turn` is never read [INFO] [stdout] --> mdconquest-client/src/main.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | current_turn = Option::::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EnemyTick` is never constructed [INFO] [stdout] --> mdconquest-client/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | PlayerTick, [INFO] [stdout] 16 | EnemyTick, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enemy` is never constructed [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum Side { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 91 | Me, [INFO] [stdout] 92 | Enemy [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Side` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 144 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_cards`, `change_side`, and `tick_turn` are never used [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 148 | impl Deck { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 149 | fn get_cards(&self, card_id: usize, direction: Direction) -> Vec<(usize, Cell)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn change_side(&mut self, card: usize, side: Side) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn tick_turn(&mut self, new_card_id: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 57 | fn hovered(&self, x: f32, y: f32, button: MouseButton) -> bool { [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] --> mdconquest-client/src/uihelpers.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 57 | fn hovered(&self, x: f32, y: f32, button: MouseButton) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `current_turn` is assigned to, but never used [INFO] [stdout] --> mdconquest-client/src/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut current_turn = Option::::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_current_turn` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `current_turn` is never read [INFO] [stdout] --> mdconquest-client/src/main.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | current_turn = Option::::None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EnemyTick` is never constructed [INFO] [stdout] --> mdconquest-client/src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum GameState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | PlayerTick, [INFO] [stdout] 16 | EnemyTick, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Enemy` is never constructed [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum Side { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 91 | Me, [INFO] [stdout] 92 | Enemy [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Side` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:144:6 [INFO] [stdout] | [INFO] [stdout] 144 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_cards`, `change_side`, and `tick_turn` are never used [INFO] [stdout] --> mdconquest-client/src/uihelpers.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 148 | impl Deck { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 149 | fn get_cards(&self, card_id: usize, direction: Direction) -> Vec<(usize, Cell)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn change_side(&mut self, card: usize, side: Side) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn tick_turn(&mut self, new_card_id: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.44s [INFO] running `Command { std: "docker" "inspect" "ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54", kill_on_drop: false }` [INFO] [stdout] ba8d2bfbbb91e47046b5d6a53d54ef41bd6afc196504f185ced725d44e2f5b54