[INFO] cloning repository https://github.com/eniltrexAdmin/heroes-of-camelot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eniltrexAdmin/heroes-of-camelot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeniltrexAdmin%2Fheroes-of-camelot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeniltrexAdmin%2Fheroes-of-camelot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca0f9944eb15fccf653d35a484aeafb0b0796165 [INFO] checking eniltrexAdmin/heroes-of-camelot against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FeniltrexAdmin%2Fheroes-of-camelot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eniltrexAdmin/heroes-of-camelot [INFO] finished tweaking git repo https://github.com/eniltrexAdmin/heroes-of-camelot [INFO] tweaked toml for git repo https://github.com/eniltrexAdmin/heroes-of-camelot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eniltrexAdmin/heroes-of-camelot 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/eniltrexAdmin/heroes-of-camelot 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded bytemuck v1.22.0 [INFO] [stderr] Downloaded rand v0.9.2 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded ttf-parser v0.21.1 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded libc v0.2.171 [INFO] [stderr] Downloaded macroquad v0.4.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b [INFO] running `Command { std: "docker" "start" "ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b", 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" "ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b", 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" "ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking glam v0.27.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Checking quad-rand v0.2.3 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking slug v0.1.6 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking fontdue v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking macroquad v0.4.14 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking heroes-of-camelot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::domain::*` [INFO] [stdout] --> src/domain/battle/battle_state.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use crate::domain::*; [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: `crate::domain::*` [INFO] [stdout] --> src/domain/management/card/card.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | use crate::domain::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::*` [INFO] [stdout] --> src/domain/management/card/card_template.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use crate::domain::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::*` [INFO] [stdout] --> src/domain/management/skill/card_skill.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use crate::domain::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_evaluate_formula_card_level` is never used [INFO] [stdout] --> src/domain/battle/battle_team/active_skill/choose_active_skill.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn test_evaluate_formula_card_level() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_create_template` is never used [INFO] [stdout] --> src/domain/management/card/card_template.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn test_create_template() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PartyType` is never used [INFO] [stdout] --> src/domain/management/party/party.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PartyType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `EndTurn` is never constructed [INFO] [stdout] --> src/macroquad/battle_state/battle_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum BattlePhaseTurn { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | EndTurn, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BattlePhaseTurn` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation`, `active`, and `animation` are never read [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MacroquadTeam { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | rotation: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | animation: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `game_team` is never used [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MacroquadTeam { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn game_team(&self) -> &BattleTeam { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team_layout.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TeamLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | position: BattlePosition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `background_rectangle` is never used [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team_layout.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl TeamLayout { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn background_rectangle(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_attack_rectangle` is never used [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team_layout.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn calculate_attack_rectangle(stats_rectangle: Rect, position: &BattlePosition) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `team_position` is never read [INFO] [stdout] --> src/macroquad/battle_state/macroquad_card.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MacroquadCard { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | team_position: BattlePosition, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/macroquad/battle_state/card_animation.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct CardAnimation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 148 | kind: CardAnimationKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardAnimation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_card_rectangles` is never used [INFO] [stdout] --> src/macroquad/battle_state/card_animation.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn calculate_card_rectangles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PartyType` is never used [INFO] [stdout] --> src/domain/management/party/party.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum PartyType { [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 `EndTurn` is never constructed [INFO] [stdout] --> src/macroquad/battle_state/battle_state.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum BattlePhaseTurn { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | EndTurn, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BattlePhaseTurn` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rotation`, `active`, and `animation` are never read [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct MacroquadTeam { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | rotation: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | active: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | animation: Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `game_team` is never used [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl MacroquadTeam { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn game_team(&self) -> &BattleTeam { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team_layout.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TeamLayout { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | position: BattlePosition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `background_rectangle` is never used [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team_layout.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl TeamLayout { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn background_rectangle(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_attack_rectangle` is never used [INFO] [stdout] --> src/macroquad/battle_state/macroquad_team_layout.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn calculate_attack_rectangle(stats_rectangle: Rect, position: &BattlePosition) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `team_position` is never read [INFO] [stdout] --> src/macroquad/battle_state/macroquad_card.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MacroquadCard { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 10 | team_position: BattlePosition, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/macroquad/battle_state/card_animation.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct CardAnimation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 148 | kind: CardAnimationKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardAnimation` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_card_rectangles` is never used [INFO] [stdout] --> src/macroquad/battle_state/card_animation.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn calculate_card_rectangles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `slug` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | slug = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `slug` [INFO] [stderr] warning: `heroes-of-camelot` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.43s [INFO] running `Command { std: "docker" "inspect" "ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b", kill_on_drop: false }` [INFO] [stdout] ab5c0248379ea5d8f8cfa63cf6113e9e2f2510fa26fee493db1babe70051783b