[INFO] cloning repository https://github.com/tyler274/rummage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tyler274/rummage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyler274%2Frummage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyler274%2Frummage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 215928ff7241435bccec6a4eea87c6bcc175df38 [INFO] checking tyler274/rummage against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyler274%2Frummage" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tyler274/rummage on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/tyler274/rummage [INFO] finished tweaking git repo https://github.com/tyler274/rummage [INFO] tweaked toml for git repo https://github.com/tyler274/rummage written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tyler274/rummage 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" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8eab7588c8f164afc76026bb83d62cdae0409a198a14274768f0d949802b22ba [INFO] running `Command { std: "docker" "start" "-a" "8eab7588c8f164afc76026bb83d62cdae0409a198a14274768f0d949802b22ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8eab7588c8f164afc76026bb83d62cdae0409a198a14274768f0d949802b22ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8eab7588c8f164afc76026bb83d62cdae0409a198a14274768f0d949802b22ba", kill_on_drop: false }` [INFO] [stdout] 8eab7588c8f164afc76026bb83d62cdae0409a198a14274768f0d949802b22ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bc88f172e6a7d0247e2efa19d8769c1d6a9080d4891677175e870cf3e6fd24c [INFO] running `Command { std: "docker" "start" "-a" "2bc88f172e6a7d0247e2efa19d8769c1d6a9080d4891677175e870cf3e6fd24c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking event-listener-strategy v0.5.3 [INFO] [stderr] Compiling uuid v1.12.1 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking disqualified v1.0.0 [INFO] [stderr] Checking bevy_ptr v0.15.3 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bevy_tasks v0.15.3 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling naga v23.1.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling wgpu-hal v23.0.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Compiling bevy_macro_utils v0.15.3 [INFO] [stderr] Compiling encase_derive_impl v0.10.0 [INFO] [stderr] Compiling blake3 v1.6.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling wgpu-core v23.0.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking glow v0.14.2 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling wgpu v23.0.1 [INFO] [stderr] Checking atomicow v1.0.0 [INFO] [stderr] Checking stackfuture v0.3.0 [INFO] [stderr] Checking const_panic v0.2.12 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling wayland-sys v0.31.6 [INFO] [stderr] Checking accesskit v0.17.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking ruzstd v0.7.3 [INFO] [stderr] Checking ktx2 v0.3.0 [INFO] [stderr] Compiling wayland-backend v0.3.8 [INFO] [stderr] Checking const_soft_float v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking constgebra v0.1.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking sysinfo v0.32.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking const-fnv1a-hash v1.1.0 [INFO] [stderr] Compiling wayland-client v0.31.8 [INFO] [stderr] Checking data-encoding v2.8.0 [INFO] [stderr] Checking offset-allocator v0.2.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling quick-xml v0.37.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking radsort v0.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Compiling wayland-scanner v0.31.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking roxmltree v0.20.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking svg_fmt v0.4.4 [INFO] [stderr] Checking ab_glyph v0.2.29 [INFO] [stderr] Checking guillotiere v0.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Checking fontconfig-parser v0.5.7 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling winit v0.30.9 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking ttf-parser v0.21.1 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking rectangle-pack v0.4.2 [INFO] [stderr] Checking unicode-bidi-mirroring v0.2.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking zeno v0.2.3 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking yazi v0.1.6 [INFO] [stderr] Checking unicode-ccc v0.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking self_cell v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling gilrs v0.11.0 [INFO] [stderr] Checking fontdb v0.16.2 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking rangemap v1.5.1 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking sys-locale v0.3.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking dpi v0.1.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking grid v0.14.0 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking taffy v0.5.2 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling rustix v1.0.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling bzip2-sys v0.1.13+1.0.8 [INFO] [stderr] Checking linux-raw-sys v0.9.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling bevy_utils_proc_macros v0.15.3 [INFO] [stderr] Compiling assert_type_match v0.1.1 [INFO] [stderr] Compiling bevy_reflect_derive v0.15.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bevy_ecs_macros v0.15.3 [INFO] [stderr] Compiling bevy_derive v0.15.3 [INFO] [stderr] Checking bytemuck v1.22.0 [INFO] [stderr] Compiling bevy_asset_macros v0.15.3 [INFO] [stderr] Compiling encase_derive v0.10.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Compiling bevy_render_macros v0.15.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling bevy_encase_derive v0.15.3 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking glam v0.29.2 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking erased-serde v0.4.6 [INFO] [stderr] Checking bevy_utils v0.15.3 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking wgpu-types v23.0.0 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking bevy_reflect v0.15.3 [INFO] [stderr] Checking encase v0.10.0 [INFO] [stderr] Checking hexasphere v15.1.0 [INFO] [stderr] Checking bevy_mikktspace v0.15.3 [INFO] [stderr] Checking tokio v1.44.0 [INFO] [stderr] Checking font-types v0.7.3 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking read-fonts v0.22.7 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking inotify v0.11.0 [INFO] [stderr] Checking polling v3.7.4 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking bevy_ecs v0.15.3 [INFO] [stderr] Checking bevy_math v0.15.3 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking rustybuzz v0.14.1 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking naga_oil v0.16.0 [INFO] [stderr] Checking wayland-protocols v0.32.6 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.8 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling gltf-derive v1.4.1 [INFO] [stderr] Checking skrifa v0.22.3 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking gilrs-core v0.6.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking swash v0.1.19 [INFO] [stderr] Checking bevy_color v0.15.4 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking gltf-json v1.4.1 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking rodio v0.19.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.6 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.6 [INFO] [stderr] Checking cosmic-text v0.12.1 [INFO] [stderr] Checking gltf v1.4.1 [INFO] [stderr] Compiling bevy_gizmos_macros v0.15.3 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Compiling bevy_state_macros v0.15.3 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking bevy_app v0.15.3 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking wyrand v0.2.1 [INFO] [stderr] Checking bevy_core v0.15.3 [INFO] [stderr] Checking bevy_hierarchy v0.15.3 [INFO] [stderr] Checking bevy_asset v0.15.3 [INFO] [stderr] Checking bevy_input v0.15.3 [INFO] [stderr] Checking bevy_transform v0.15.3 [INFO] [stderr] Checking bevy_a11y v0.15.3 [INFO] [stderr] Checking bevy_time v0.15.3 [INFO] [stderr] Checking bevy_log v0.15.3 [INFO] [stderr] Checking bevy_diagnostic v0.15.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking bevy_prng v0.9.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking xattr v1.5.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking bzip2 v0.5.2 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking bevy_rand v0.9.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Compiling async-trait v0.1.87 [INFO] [stderr] Checking bevy_window v0.15.3 [INFO] [stderr] Checking bevy_gilrs v0.15.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking accesskit_winit v0.23.1 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking bevy_image v0.15.3 [INFO] [stderr] Checking bevy_state v0.15.3 [INFO] [stderr] Checking bevy_audio v0.15.3 [INFO] [stderr] Checking bevy_mesh v0.15.3 [INFO] [stderr] Checking bevy_winit v0.15.3 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking bevy_render v0.15.3 [INFO] [stderr] Checking bevy_core_pipeline v0.15.3 [INFO] [stderr] Checking bevy_picking v0.15.3 [INFO] [stderr] Checking bevy_animation v0.15.3 [INFO] [stderr] Checking bevy_scene v0.15.3 [INFO] [stderr] Checking bevy_sprite v0.15.3 [INFO] [stderr] Checking bevy_pbr v0.15.3 [INFO] [stderr] Checking bevy_text v0.15.3 [INFO] [stderr] Checking bevy_ui v0.15.3 [INFO] [stderr] Checking bevy_gltf v0.15.3 [INFO] [stderr] Checking bevy_gizmos v0.15.3 [INFO] [stderr] Checking bevy_internal v0.15.3 [INFO] [stderr] Checking bevy_dylib v0.15.3 [INFO] [stderr] Checking bevy v0.15.3 [INFO] [stderr] Checking rummage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bevy::text::JustifyText` [INFO] [stdout] --> src/card/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bevy::text::JustifyText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::utils::HashMap` [INFO] [stdout] --> src/card/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use bevy::utils::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextContent`, `CardTextType`, and `SpawnedText` [INFO] [stdout] --> src/card/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::text::{self, CardTextContent, CardTextType, SpawnedText}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextType` [INFO] [stdout] --> src/player.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::text::{CardTextContent, CardTextType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextType` and `TextLayoutInfo` [INFO] [stdout] --> src/text/systems/card_text.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | components::{CardTextContent, CardTextType, DebugConfig, SpawnedText, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle`, `calculate_text_position`, `calculate_text_size`, and `get_card_font_size` [INFO] [stdout] --> src/text/systems/mana_cost_text.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | components::{CardTextBundle, CardTextType, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | mana_symbols::{ManaSymbolOptions, render_mana_symbol}, [INFO] [stdout] 8 | utils::{calculate_text_position, calculate_text_size, get_card_font_size, get_card_layout}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_text_position` [INFO] [stdout] --> src/text/systems/name_text.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextLayout, calculate_text_position, calculate_text_size, get_card_font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle` and `CardTextContent` [INFO] [stdout] --> src/text/systems/power_toughness_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextBundle` [INFO] [stdout] --> src/text/systems/type_line_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::text::JustifyText` [INFO] [stdout] --> src/card/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bevy::text::JustifyText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::utils::HashMap` [INFO] [stdout] --> src/card/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use bevy::utils::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextContent`, `CardTextType`, and `SpawnedText` [INFO] [stdout] --> src/card/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::text::{self, CardTextContent, CardTextType, SpawnedText}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextType` [INFO] [stdout] --> src/player.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::text::{CardTextContent, CardTextType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextType` and `TextLayoutInfo` [INFO] [stdout] --> src/text/systems/card_text.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | components::{CardTextContent, CardTextType, DebugConfig, SpawnedText, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle`, `calculate_text_position`, `calculate_text_size`, and `get_card_font_size` [INFO] [stdout] --> src/text/systems/mana_cost_text.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | components::{CardTextBundle, CardTextType, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | mana_symbols::{ManaSymbolOptions, render_mana_symbol}, [INFO] [stdout] 8 | utils::{calculate_text_position, calculate_text_size, get_card_font_size, get_card_layout}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_text_position` [INFO] [stdout] --> src/text/systems/name_text.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextLayout, calculate_text_position, calculate_text_size, get_card_font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle` and `CardTextContent` [INFO] [stdout] --> src/text/systems/power_toughness_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextBundle` [INFO] [stdout] --> src/text/systems/type_line_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::prelude::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/player.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | color: Color::rgb(0.85, 0.85, 0.85), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::prelude::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/player.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | color: Color::rgb(0.85, 0.85, 0.85), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/card/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/card/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/card/mod.rs:779:26 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn get_example_cards(owner: Entity) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/card/mod.rs:779:26 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn get_example_cards(owner: Entity) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/actions.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | player, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `player: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/game_engine/actions.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ability_index` [INFO] [stdout] --> src/game_engine/actions.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ability_index, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `ability_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/game_engine/actions.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | targets, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `targets: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mana_payment` [INFO] [stdout] --> src/game_engine/actions.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | mana_payment, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `mana_payment: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/actions.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | player, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `player: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_engine/combat/combat.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | for event in events.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/game_engine/actions.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/combat/combat.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ability_index` [INFO] [stdout] --> src/game_engine/actions.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ability_index, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `ability_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/game_engine/actions.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | targets, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `targets: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mana_payment` [INFO] [stdout] --> src/game_engine/actions.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | mana_payment, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `mana_payment: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_engine/combat/combat.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | for event in events.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/combat/combat.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | cmd_zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/game_engine/commander.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | cards: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_query` [INFO] [stdout] --> src/game_engine/commander.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | card_query: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/commander.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commanders` [INFO] [stdout] --> src/game_engine/commander.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | commanders: Query<(Entity, &Commander)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commanders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `players` [INFO] [stdout] --> src/game_engine/commander.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | players: Query>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | cmd_zone_manager: Res, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | cmd_zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/game_engine/commander.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | cards: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_query` [INFO] [stdout] --> src/game_engine/commander.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | card_query: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/commander.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commanders` [INFO] [stdout] --> src/game_engine/commander.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | commanders: Query<(Entity, &Commander)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commanders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `players` [INFO] [stdout] --> src/game_engine/commander.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | players: Query>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | cmd_zone_manager: Res, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/phase.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/phase.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | player_query: Query>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/phase.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/phase.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | player_query: Query>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/politics.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | game_state: Res, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_player` [INFO] [stdout] --> src/game_engine/politics.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let active_player = turn_manager.active_player; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/politics.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | game_state: Res, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/priority.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_player` [INFO] [stdout] --> src/game_engine/politics.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let active_player = turn_manager.active_player; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/state.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | for (entity, player) in player_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/priority.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/state.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | for (entity, player) in player_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/game_engine/zones.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn add_to_battlefield(&mut self, owner: Entity, card: Entity) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/game_engine/zones.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn add_to_battlefield(&mut self, owner: Entity, card: Entity) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/menu/pause_menu.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | asset_server: &AssetServer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/menu/pause_menu.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | asset_server: &AssetServer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_pos` [INFO] [stdout] --> src/text/systems/debug_visualization.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | card_pos: Vec2, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/text/systems/rules_text.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text/systems/rules_text.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_test_combat` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn setup_test_combat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_combat_damage` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn apply_combat_damage(app: &mut App, damage_events: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_attacker_with_target` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn add_attacker_with_target(app: &mut App, attacker: Entity, target: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_blocker` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn assign_blocker(app: &mut App, attacker: Entity, blocker: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deal_damage_to_players` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn deal_damage_to_players(app: &mut App, amount: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_menu_camera` is never used [INFO] [stdout] --> src/menu/systems.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_menu_camera(mut commands: Commands) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_mana_symbols_with_unicode` is never used [INFO] [stdout] --> src/text/systems/rules_text.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn replace_mana_symbols_with_unicode(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_pos` [INFO] [stdout] --> src/text/systems/debug_visualization.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | card_pos: Vec2, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/text/systems/rules_text.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text/systems/rules_text.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_test_combat` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn setup_test_combat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_combat_damage` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn apply_combat_damage(app: &mut App, damage_events: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_attacker_with_target` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn add_attacker_with_target(app: &mut App, attacker: Entity, target: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_blocker` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn assign_blocker(app: &mut App, attacker: Entity, blocker: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deal_damage_to_players` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn deal_damage_to_players(app: &mut App, amount: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_menu_camera` is never used [INFO] [stdout] --> src/menu/systems.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_menu_camera(mut commands: Commands) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_mana_symbols_with_unicode` is never used [INFO] [stdout] --> src/text/systems/rules_text.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn replace_mana_symbols_with_unicode(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionType` and `CombatRestriction` [INFO] [stdout] --> tests/politics_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ActionType, CombatRestriction, Deal, DealBrokenEvent, DealDuration, DealProposedEvent, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/politics_tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> tests/politics_tests.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zone` [INFO] [stdout] --> tests/state_based_actions_tests.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use rummage::game_engine::zones::{Zone, ZoneManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionType` and `CombatRestriction` [INFO] [stdout] --> tests/politics_tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ActionType, CombatRestriction, Deal, DealBrokenEvent, DealDuration, DealProposedEvent, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/politics_tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> tests/politics_tests.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zone` [INFO] [stdout] --> tests/state_based_actions_tests.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use rummage::game_engine::zones::{Zone, ZoneManager}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bevy::prelude::Events::::get_reader`: `get_reader` has been deprecated. Please use `get_cursor` instead. [INFO] [stdout] --> tests/politics_tests.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | let mut reader = vote_completed_events.get_reader(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/state_based_actions_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut world = app.world_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_entity` [INFO] [stdout] --> tests/state_based_actions_tests.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let commander_entity = app.world_mut().spawn((card, commander)).id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `bevy::prelude::Events::::get_reader`: `get_reader` has been deprecated. Please use `get_cursor` instead. [INFO] [stdout] --> tests/politics_tests.rs:194:48 [INFO] [stdout] | [INFO] [stdout] 194 | let mut reader = vote_completed_events.get_reader(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/state_based_actions_tests.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut world = app.world_mut(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_entity` [INFO] [stdout] --> tests/state_based_actions_tests.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let commander_entity = app.world_mut().spawn((card, commander)).id(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_entity` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::text::JustifyText` [INFO] [stdout] --> src/card/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bevy::text::JustifyText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::utils::HashMap` [INFO] [stdout] --> src/card/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use bevy::utils::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextContent`, `CardTextType`, and `SpawnedText` [INFO] [stdout] --> src/card/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::text::{self, CardTextContent, CardTextType, SpawnedText}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextType` [INFO] [stdout] --> src/player.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::text::{CardTextContent, CardTextType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextType` and `TextLayoutInfo` [INFO] [stdout] --> src/text/systems/card_text.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | components::{CardTextContent, CardTextType, DebugConfig, SpawnedText, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle`, `calculate_text_position`, `calculate_text_size`, and `get_card_font_size` [INFO] [stdout] --> src/text/systems/mana_cost_text.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | components::{CardTextBundle, CardTextType, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | mana_symbols::{ManaSymbolOptions, render_mana_symbol}, [INFO] [stdout] 8 | utils::{calculate_text_position, calculate_text_size, get_card_font_size, get_card_layout}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_text_position` [INFO] [stdout] --> src/text/systems/name_text.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextLayout, calculate_text_position, calculate_text_size, get_card_font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle` and `CardTextContent` [INFO] [stdout] --> src/text/systems/power_toughness_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextBundle` [INFO] [stdout] --> src/text/systems/type_line_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::text::JustifyText` [INFO] [stdout] --> src/card/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use bevy::text::JustifyText; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bevy::utils::HashMap` [INFO] [stdout] --> src/card/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use bevy::utils::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextContent`, `CardTextType`, and `SpawnedText` [INFO] [stdout] --> src/card/mod.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::text::{self, CardTextContent, CardTextType, SpawnedText}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextType` [INFO] [stdout] --> src/player.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::text::{CardTextContent, CardTextType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextType` and `TextLayoutInfo` [INFO] [stdout] --> src/text/systems/card_text.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | components::{CardTextContent, CardTextType, DebugConfig, SpawnedText, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle`, `calculate_text_position`, `calculate_text_size`, and `get_card_font_size` [INFO] [stdout] --> src/text/systems/mana_cost_text.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | components::{CardTextBundle, CardTextType, TextLayoutInfo}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | mana_symbols::{ManaSymbolOptions, render_mana_symbol}, [INFO] [stdout] 8 | utils::{calculate_text_position, calculate_text_size, get_card_font_size, get_card_layout}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `calculate_text_position` [INFO] [stdout] --> src/text/systems/name_text.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextLayout, calculate_text_position, calculate_text_size, get_card_font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardTextBundle` and `CardTextContent` [INFO] [stdout] --> src/text/systems/power_toughness_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CardTextBundle` [INFO] [stdout] --> src/text/systems/type_line_text.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | CardTextBundle, CardTextContent, CardTextStyleBundle, CardTextType, TextLayoutInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::prelude::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/player.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | color: Color::rgb(0.85, 0.85, 0.85), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/card/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `bevy::prelude::Color::rgb`: Use `Color::srgb` instead [INFO] [stdout] --> src/player.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | color: Color::rgb(0.85, 0.85, 0.85), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/card/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/card/mod.rs:779:26 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn get_example_cards(owner: Entity) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/actions.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | player, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `player: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/game_engine/actions.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ability_index` [INFO] [stdout] --> src/game_engine/actions.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ability_index, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `ability_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/game_engine/actions.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | targets, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `targets: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mana_payment` [INFO] [stdout] --> src/game_engine/actions.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | mana_payment, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `mana_payment: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_engine/combat/combat.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | for event in events.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/combat/combat.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | cmd_zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/game_engine/commander.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | cards: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_query` [INFO] [stdout] --> src/game_engine/commander.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | card_query: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/commander.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commanders` [INFO] [stdout] --> src/game_engine/commander.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | commanders: Query<(Entity, &Commander)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commanders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `players` [INFO] [stdout] --> src/game_engine/commander.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | players: Query>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | cmd_zone_manager: Res, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/phase.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/phase.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | player_query: Query>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/politics.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | game_state: Res, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_player` [INFO] [stdout] --> src/game_engine/politics.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let active_player = turn_manager.active_player; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/priority.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/state.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | for (entity, player) in player_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/game_engine/zones.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn add_to_battlefield(&mut self, owner: Entity, card: Entity) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/card/mod.rs:779:26 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn get_example_cards(owner: Entity) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/actions.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | player, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `player: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/game_engine/actions.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | source, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `source: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ability_index` [INFO] [stdout] --> src/game_engine/actions.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ability_index, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `ability_index: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `targets` [INFO] [stdout] --> src/game_engine/actions.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | targets, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `targets: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mana_payment` [INFO] [stdout] --> src/game_engine/actions.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | mana_payment, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `mana_payment: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/game_engine/combat/combat.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | for event in events.read() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/combat/combat.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/combat/combat.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/menu/pause_menu.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | asset_server: &AssetServer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 455 | cmd_zone_manager: ResMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commander_query` [INFO] [stdout] --> src/game_engine/commander.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | commander_query: Query<&mut Commander>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commander_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cards` [INFO] [stdout] --> src/game_engine/commander.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | cards: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cards` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_query` [INFO] [stdout] --> src/game_engine/commander.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | card_query: Query<(Entity, &Card)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/commander.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 500 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/commander.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | game_state: ResMut, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commanders` [INFO] [stdout] --> src/game_engine/commander.rs:502:5 [INFO] [stdout] | [INFO] [stdout] 502 | commanders: Query<(Entity, &Commander)>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commanders` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `players` [INFO] [stdout] --> src/game_engine/commander.rs:503:5 [INFO] [stdout] | [INFO] [stdout] 503 | players: Query>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_players` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd_zone_manager` [INFO] [stdout] --> src/game_engine/commander.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | cmd_zone_manager: Res, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cmd_zone_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/phase.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/phase.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | player_query: Query>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/game_engine/politics.rs:336:5 [INFO] [stdout] | [INFO] [stdout] 336 | game_state: Res, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `active_player` [INFO] [stdout] --> src/game_engine/politics.rs:528:17 [INFO] [stdout] | [INFO] [stdout] 528 | let active_player = turn_manager.active_player; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_active_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:513:5 [INFO] [stdout] | [INFO] [stdout] 513 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/politics.rs:558:5 [INFO] [stdout] | [INFO] [stdout] 558 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/priority.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_pos` [INFO] [stdout] --> src/text/systems/debug_visualization.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | card_pos: Vec2, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/text/systems/rules_text.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text/systems/rules_text.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/game_engine/state.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | for (entity, player) in player_query.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_query` [INFO] [stdout] --> src/game_engine/turns.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | player_query: Query<&Player>, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commands` [INFO] [stdout] --> src/game_engine/turns.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | commands: Commands, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `owner` [INFO] [stdout] --> src/game_engine/zones.rs:173:42 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn add_to_battlefield(&mut self, owner: Entity, card: Entity) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_owner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Shared`, `Wireframe`, `Debug`, `DebugText`, and `DebugGizmo` are never constructed [INFO] [stdout] --> src/camera/components.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppLayer { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Shared = 2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Wireframe = 10, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | /// Layer for debug visuals [INFO] [stdout] 32 | Debug = 11, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | /// Layer for debug text [INFO] [stdout] 34 | DebugText = 12, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | /// Layer for debug gizmos/shapes [INFO] [stdout] 36 | DebugGizmo = 13, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppLayer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_shared`, `debug_layers`, `wireframe_layers`, and `all_layers` are never used [INFO] [stdout] --> src/camera/components.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl AppLayer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_shared(&self) -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn debug_layers() -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn wireframe_layers() -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn all_layers() -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CardBundle` is never constructed [INFO] [stdout] --> src/card/mod.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 500 | pub struct CardBundle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardBundle` 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: associated function `new` is never used [INFO] [stdout] --> src/card/mod.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 520 | impl Card { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 521 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_card` is never read [INFO] [stdout] --> src/card/hdr.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EmissiveCard { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | pub original_card: Entity, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CastSpell`, `ActivateAbility`, and `PassPriority` are never constructed [INFO] [stdout] --> src/game_engine/actions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GameAction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | CastSpell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ActivateAbility { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | PassPriority { player: Entity }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameAction` 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: field `is_first_strike` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AssignCombatDamageEvent { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 23 | pub is_first_strike: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CombatBeginEvent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 40 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CombatEndEvent { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 45 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DeclareAttackersStepBeginEvent { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] 50 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DeclareAttackersStepEndEvent { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 55 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct DeclareBlockersStepBeginEvent { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 60 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DeclareBlockersStepEndEvent { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 65 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attacker` and `defender` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct CreatureAttacksEvent { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 70 | pub attacker: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub defender: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blocker` and `attacker` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct CreatureBlocksEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 76 | pub blocker: Entity, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | pub attacker: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attacker` and `blocker` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CreatureBlockedEvent { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 82 | pub attacker: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | pub blocker: Entity, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct CombatDamageCompleteEvent { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 88 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CreatureType`, `Color`, `Power`, and `Toughness` are never constructed [INFO] [stdout] --> src/game_engine/combat/combat.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum BlockRestriction { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 100 | CreatureType(CreatureType), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 101 | Color(Color), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Power(Comparison, i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 103 | Toughness(Comparison, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockRestriction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LessThan`, `LessThanOrEqual`, `Equal`, `GreaterThanOrEqual`, and `GreaterThan` are never constructed [INFO] [stdout] --> src/game_engine/combat/combat.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum Comparison { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 108 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | LessThanOrEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | GreaterThanOrEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comparison` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `players_attacked_this_turn`, `creatures_attacking_each_player`, and `cannot_be_blocked_by` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CombatState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | pub players_attacked_this_turn: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub creatures_attacking_each_player: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub cannot_be_blocked_by: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_test_combat` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn setup_test_combat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_combat_damage` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn apply_combat_damage(app: &mut App, damage_events: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_attacker_with_target` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn add_attacker_with_target(app: &mut App, attacker: Entity, target: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_blocker` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn assign_blocker(app: &mut App, attacker: Entity, blocker: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deal_damage_to_players` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn deal_damage_to_players(app: &mut App, amount: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cast_count`, `color_identity`, `is_partner`, and `is_background` are never read [INFO] [stdout] --> src/game_engine/commander.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Commander { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub cast_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub color_identity: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub is_partner: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | pub is_background: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commander` 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: field `cards` is never read [INFO] [stdout] --> src/game_engine/commander.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CommandZone { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 50 | /// Cards in the command zone [INFO] [stdout] 51 | pub cards: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_card`, `remove_card`, and `contains` are never used [INFO] [stdout] --> src/game_engine/commander.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl CommandZone { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 55 | /// Add a card to the command zone [INFO] [stdout] 56 | pub fn add_card(&mut self, card: Entity) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn remove_card(&mut self, card: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn contains(&self, card: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_commanders`, `commander_partners`, and `commander_colors` are never read [INFO] [stdout] --> src/game_engine/commander.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct CommandZoneManager { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 93 | /// Maps player entities to their commander entities [INFO] [stdout] 94 | pub player_commanders: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub commander_partners: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub commander_colors: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandZoneManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `initialize`, `set_commander_color_identity`, `get_player_commanders`, `get_commander_zone`, and `get_cast_count` are never used [INFO] [stdout] --> src/game_engine/commander.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl CommandZoneManager { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 110 | /// Initialize with a list of players and their commanders [INFO] [stdout] 111 | pub fn initialize(&mut self, player_commanders: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn set_commander_color_identity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_player_commanders(&self, player: Entity) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_commander_zone(&self, commander: Entity) -> CommanderZoneLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_cast_count(&self, commander: Entity) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Concede` and `CardEffect` are never constructed [INFO] [stdout] --> src/game_engine/commander.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub enum EliminationReason { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 202 | Concede, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 203 | /// Player lost due to a specific card effect [INFO] [stdout] 204 | CardEffect(Entity), // The card that caused the elimination [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EliminationReason` 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 `player` and `reason` are never read [INFO] [stdout] --> src/game_engine/commander.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct PlayerEliminatedEvent { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 210 | /// The player that was eliminated [INFO] [stdout] 211 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 212 | /// The reason the player was eliminated [INFO] [stdout] 213 | pub reason: EliminationReason, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `STANDARD_PLAYER_COUNT`, `STARTING_LIFE`, `calculate_tax`, `check_commander_damage_elimination`, `can_be_commander`, and `extract_color_identity` are never used [INFO] [stdout] --> src/game_engine/commander.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 219 | impl CommanderRules { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub const STANDARD_PLAYER_COUNT: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub const STARTING_LIFE: i32 = 40; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn calculate_tax(cast_count: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn check_commander_damage_elimination(commander: &Commander, player: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn can_be_commander(card: &Card) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn extract_color_identity(card: &Card) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_commander` is never used [INFO] [stdout] --> src/game_engine/commander.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn setup_commander(mut commands: Commands) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_commander_cost` is never used [INFO] [stdout] --> src/game_engine/commander.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn calculate_commander_cost( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_commander_casting` is never used [INFO] [stdout] --> src/game_engine/commander.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn handle_commander_casting( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_commander_deck` is never used [INFO] [stdout] --> src/game_engine/commander.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn validate_commander_deck( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_commander_systems` is never used [INFO] [stdout] --> src/game_engine/commander.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn register_commander_systems(app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `initiative_holder`, `vow_effects`, `alliances`, and `combat_restrictions` are never read [INFO] [stdout] --> src/game_engine/politics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PoliticsSystem { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub initiative_holder: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub vow_effects: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub alliances: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub combat_restrictions: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `source`, `controller`, and `choices` are never read [INFO] [stdout] --> src/game_engine/politics.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Vote { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub source: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub controller: Entity, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub choices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vote` 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 `proposer`, `target`, and `terms` are never read [INFO] [stdout] --> src/game_engine/politics.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Deal { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub proposer: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub target: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub terms: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deal` 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: variants `DoNotAttack`, `Truce`, `SharedDefense`, `TargetOtherPlayer`, `AllowAction`, and `Custom` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum DealTerm { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 137 | /// Agreement not to attack for N turns [INFO] [stdout] 138 | DoNotAttack(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | Truce(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | SharedDefense { against: Entity, turns: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | TargetOtherPlayer { target: Entity, turns: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | AllowAction { action_type: ActionType, turns: u32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealTerm` 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: variants `Attack`, `CastSpell`, `ActivateAbility`, `DestroyPermanent`, and `Other` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub enum ActionType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 159 | Attack, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 160 | CastSpell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 161 | ActivateAbility, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | DestroyPermanent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionType` 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: variants `Proposed` and `Expired` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum DealStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 169 | /// Deal has been proposed but not yet accepted/rejected [INFO] [stdout] 170 | Proposed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealStatus` 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: variants `Turns`, `UntilEndOfGame`, `UntilPlayerEliminated`, and `Custom` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub enum DealDuration { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 188 | /// Lasts for a specific number of turns [INFO] [stdout] 189 | Turns(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | UntilEndOfGame, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | UntilPlayerEliminated(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealDuration` 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: field `target` is never read [INFO] [stdout] --> src/game_engine/politics.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct GoadEffect { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 204 | /// The creature that is goaded [INFO] [stdout] 205 | pub target: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoadEffect` 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 `target`, `protected_player`, `duration`, and `created_at` are never read [INFO] [stdout] --> src/game_engine/politics.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct VowEffect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 220 | /// The creature with the vow [INFO] [stdout] 221 | pub target: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub protected_player: Entity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub created_at: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VowEffect` 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: variants `MustAttack`, `MustAttackPlayer`, `CannotAttackPlayer`, `CannotBlock`, and `CannotBlockAttacksAgainst` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum CombatRestriction { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 236 | /// Creature must attack if able [INFO] [stdout] 237 | MustAttack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | MustAttackPlayer(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | CannotAttackPlayer(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | CannotBlock, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | CannotBlockAttacksAgainst(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CombatRestriction` 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 `previous_monarch` and `source` are never read [INFO] [stdout] --> src/game_engine/politics.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct MonarchChangedEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 259 | pub previous_monarch: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vote_id`, `winning_choice`, and `vote_count` are never read [INFO] [stdout] --> src/game_engine/politics.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct VoteCompletedEvent { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 288 | /// The vote ID [INFO] [stdout] 289 | pub vote_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub winning_choice: VoteChoice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub vote_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `responder` is never read [INFO] [stdout] --> src/game_engine/politics.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct DealResponseEvent { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 315 | pub responder: Entity, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason` is never read [INFO] [stdout] --> src/game_engine/politics.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct DealBrokenEvent { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 328 | pub reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `controller` and `targets` are never used [INFO] [stdout] --> src/game_engine/stack.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Effect: Debug + Send + Sync { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn controller(&self) -> Entity; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn targets(&self) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `controller` is never read [INFO] [stdout] --> src/game_engine/stack.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StackItemResolvedEvent { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 21 | /// The controller of the resolved effect [INFO] [stdout] 22 | pub controller: Entity, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `targets` is never read [INFO] [stdout] --> src/game_engine/stack.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StackItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub targets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `push`, and `validate_targets` are never used [INFO] [stdout] --> src/game_engine/stack.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl GameStack { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn push(&mut self, effect: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn validate_targets(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `starting_life` is never read [INFO] [stdout] --> src/game_engine/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub starting_life: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_turn_order` and `record_draw` are never used [INFO] [stdout] --> src/game_engine/state.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 68 | /// Set the turn order of players [INFO] [stdout] 69 | pub fn set_turn_order(&mut self, players: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn record_draw(&mut self, player: Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_phase` is never read [INFO] [stdout] --> src/game_engine/turns.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TurnManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub current_phase: Phase, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `advance_turn`, `eliminate_player`, `is_game_over`, and `get_player_index` are never used [INFO] [stdout] --> src/game_engine/turns.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl TurnManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn advance_turn(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn eliminate_player(&mut self, player: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_player_index(&self, player: Entity) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player` and `turn_number` are never read [INFO] [stdout] --> src/game_engine/turns.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct TurnStartEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 101 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | pub turn_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player` and `turn_number` are never read [INFO] [stdout] --> src/game_engine/turns.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct TurnEndEvent { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 108 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | pub turn_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_turn_systems` is never used [INFO] [stdout] --> src/game_engine/turns.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn register_turn_systems(app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Limbo` is never constructed [INFO] [stdout] --> src/game_engine/zones.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Zone { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Limbo, // For temporary transitions [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zone` 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 `owner`, `was_visible`, and `is_visible` are never read [INFO] [stdout] --> src/game_engine/zones.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ZoneChangeEvent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub owner: Entity, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub was_visible: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | /// Whether the card is visible in the destination zone [INFO] [stdout] 32 | pub is_visible: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_player_zones` and `get_card_zone` are never used [INFO] [stdout] --> src/game_engine/zones.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ZoneManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 79 | /// Initialize a new player's zones [INFO] [stdout] 80 | pub fn init_player_zones(&mut self, player: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn get_card_zone(&self, card: Entity) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_zone_manager` is never used [INFO] [stdout] --> src/game_engine/zones.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn setup_zone_manager(mut commands: Commands, player_query: Query>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_zone_systems` is never used [INFO] [stdout] --> src/game_engine/zones.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn register_zone_systems(app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/mana.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 182 | impl Mana { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_star_of_david` is never used [INFO] [stdout] --> src/menu/cleanup.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn cleanup_star_of_david(mut commands: Commands, stars: Query>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_menu_camera` is never used [INFO] [stdout] --> src/menu/systems.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_menu_camera(mut commands: Commands) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `size`, and `alignment` are never read [INFO] [stdout] --> src/text/components.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TextLayoutInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 56 | /// The position of the text relative to the card [INFO] [stdout] 57 | pub position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | /// The size of the text bounds [INFO] [stdout] 59 | pub size: Vec2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | /// The alignment of the text [INFO] [stdout] 61 | pub alignment: JustifyText, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextLayoutInfo` 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: associated function `new` is never used [INFO] [stdout] --> src/text/components.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl CardTextBundle { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 90 | /// Create a new text bundle for cards with standard configuration [INFO] [stdout] 91 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mana_cost_text_system` is never used [INFO] [stdout] --> src/text/systems/mana_cost_text.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn mana_cost_text_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name_text_system` is never used [INFO] [stdout] --> src/text/systems/name_text.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn name_text_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_mana_symbols_with_unicode` is never used [INFO] [stdout] --> src/text/systems/rules_text.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn replace_mana_symbols_with_unicode(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `card_width`, `card_height`, `vertical_margin`, `horizontal_margin`, and `type_line_x_offset` are never read [INFO] [stdout] --> src/text/utils.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CardTextLayout { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 40 | /// The width of the card [INFO] [stdout] 41 | pub card_width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | /// The height of the card [INFO] [stdout] 43 | pub card_height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub vertical_margin: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | /// The horizontal margin for text relative to the card edge (normalized) [INFO] [stdout] 57 | pub horizontal_margin: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub type_line_x_offset: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardTextLayout` 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: function `spawn_debug_bounds` is never used [INFO] [stdout] --> src/text/utils.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn spawn_debug_bounds( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_text_position` is never used [INFO] [stdout] --> src/text/utils.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn calculate_text_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_server` [INFO] [stdout] --> src/menu/pause_menu.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | asset_server: &AssetServer, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_server` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_pos` [INFO] [stdout] --> src/text/systems/debug_visualization.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | card_pos: Vec2, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> src/text/systems/rules_text.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text/systems/rules_text.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut text = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Shared`, `Wireframe`, `Debug`, `DebugText`, and `DebugGizmo` are never constructed [INFO] [stdout] --> src/camera/components.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum AppLayer { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Shared = 2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | Wireframe = 10, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | /// Layer for debug visuals [INFO] [stdout] 32 | Debug = 11, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 33 | /// Layer for debug text [INFO] [stdout] 34 | DebugText = 12, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 35 | /// Layer for debug gizmos/shapes [INFO] [stdout] 36 | DebugGizmo = 13, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppLayer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_shared`, `debug_layers`, `wireframe_layers`, and `all_layers` are never used [INFO] [stdout] --> src/camera/components.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl AppLayer { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn with_shared(&self) -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn debug_layers() -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn wireframe_layers() -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn all_layers() -> RenderLayers { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CardBundle` is never constructed [INFO] [stdout] --> src/card/mod.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 500 | pub struct CardBundle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardBundle` 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: associated function `new` is never used [INFO] [stdout] --> src/card/mod.rs:521:12 [INFO] [stdout] | [INFO] [stdout] 520 | impl Card { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 521 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `original_card` is never read [INFO] [stdout] --> src/card/hdr.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct EmissiveCard { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | pub original_card: Entity, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CastSpell`, `ActivateAbility`, and `PassPriority` are never constructed [INFO] [stdout] --> src/game_engine/actions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GameAction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 14 | CastSpell { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | ActivateAbility { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | PassPriority { player: Entity }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameAction` 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: field `is_first_strike` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct AssignCombatDamageEvent { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] 23 | pub is_first_strike: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CombatBeginEvent { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 40 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct CombatEndEvent { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 45 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct DeclareAttackersStepBeginEvent { [INFO] [stdout] | ------------------------------ field in this struct [INFO] [stdout] 50 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct DeclareAttackersStepEndEvent { [INFO] [stdout] | ---------------------------- field in this struct [INFO] [stdout] 55 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct DeclareBlockersStepBeginEvent { [INFO] [stdout] | ----------------------------- field in this struct [INFO] [stdout] 60 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DeclareBlockersStepEndEvent { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 65 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attacker` and `defender` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct CreatureAttacksEvent { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 70 | pub attacker: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 71 | pub defender: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blocker` and `attacker` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct CreatureBlocksEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 76 | pub blocker: Entity, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 77 | pub attacker: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `attacker` and `blocker` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct CreatureBlockedEvent { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 82 | pub attacker: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 83 | pub blocker: Entity, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `player` is never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct CombatDamageCompleteEvent { [INFO] [stdout] | ------------------------- field in this struct [INFO] [stdout] 88 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CreatureType`, `Color`, `Power`, and `Toughness` are never constructed [INFO] [stdout] --> src/game_engine/combat/combat.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum BlockRestriction { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 100 | CreatureType(CreatureType), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 101 | Color(Color), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 102 | Power(Comparison, i32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 103 | Toughness(Comparison, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockRestriction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LessThan`, `LessThanOrEqual`, `Equal`, `GreaterThanOrEqual`, and `GreaterThan` are never constructed [INFO] [stdout] --> src/game_engine/combat/combat.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum Comparison { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 108 | LessThan, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | LessThanOrEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | Equal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | GreaterThanOrEqual, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | GreaterThan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comparison` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `players_attacked_this_turn`, `creatures_attacking_each_player`, and `cannot_be_blocked_by` are never read [INFO] [stdout] --> src/game_engine/combat/combat.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct CombatState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 134 | pub players_attacked_this_turn: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub creatures_attacking_each_player: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub cannot_be_blocked_by: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_test_combat` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn setup_test_combat( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_combat_damage` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn apply_combat_damage(app: &mut App, damage_events: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_attacker_with_target` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn add_attacker_with_target(app: &mut App, attacker: Entity, target: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_blocker` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn assign_blocker(app: &mut App, attacker: Entity, blocker: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `deal_damage_to_players` is never used [INFO] [stdout] --> src/game_engine/combat/test_utils.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn deal_damage_to_players(app: &mut App, amount: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cast_count`, `color_identity`, `is_partner`, and `is_background` are never read [INFO] [stdout] --> src/game_engine/commander.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Commander { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub cast_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub color_identity: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub is_partner: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | pub is_background: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Commander` 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: field `cards` is never read [INFO] [stdout] --> src/game_engine/commander.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct CommandZone { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 50 | /// Cards in the command zone [INFO] [stdout] 51 | pub cards: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandZone` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_card`, `remove_card`, and `contains` are never used [INFO] [stdout] --> src/game_engine/commander.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl CommandZone { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 55 | /// Add a card to the command zone [INFO] [stdout] 56 | pub fn add_card(&mut self, card: Entity) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn remove_card(&mut self, card: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn contains(&self, card: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player_commanders`, `commander_partners`, and `commander_colors` are never read [INFO] [stdout] --> src/game_engine/commander.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct CommandZoneManager { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 93 | /// Maps player entities to their commander entities [INFO] [stdout] 94 | pub player_commanders: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub commander_partners: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub commander_colors: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandZoneManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `initialize`, `set_commander_color_identity`, `get_player_commanders`, `get_commander_zone`, and `get_cast_count` are never used [INFO] [stdout] --> src/game_engine/commander.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 109 | impl CommandZoneManager { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 110 | /// Initialize with a list of players and their commanders [INFO] [stdout] 111 | pub fn initialize(&mut self, player_commanders: HashMap>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn set_commander_color_identity( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_player_commanders(&self, player: Entity) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn get_commander_zone(&self, commander: Entity) -> CommanderZoneLocation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn get_cast_count(&self, commander: Entity) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Concede` and `CardEffect` are never constructed [INFO] [stdout] --> src/game_engine/commander.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 194 | pub enum EliminationReason { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 202 | Concede, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 203 | /// Player lost due to a specific card effect [INFO] [stdout] 204 | CardEffect(Entity), // The card that caused the elimination [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EliminationReason` 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 `player` and `reason` are never read [INFO] [stdout] --> src/game_engine/commander.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct PlayerEliminatedEvent { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 210 | /// The player that was eliminated [INFO] [stdout] 211 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 212 | /// The reason the player was eliminated [INFO] [stdout] 213 | pub reason: EliminationReason, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `STANDARD_PLAYER_COUNT`, `STARTING_LIFE`, `calculate_tax`, `check_commander_damage_elimination`, `can_be_commander`, and `extract_color_identity` are never used [INFO] [stdout] --> src/game_engine/commander.rs:224:15 [INFO] [stdout] | [INFO] [stdout] 219 | impl CommanderRules { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub const STANDARD_PLAYER_COUNT: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub const STARTING_LIFE: i32 = 40; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn calculate_tax(cast_count: u32) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn check_commander_damage_elimination(commander: &Commander, player: Entity) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn can_be_commander(card: &Card) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn extract_color_identity(card: &Card) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_commander` is never used [INFO] [stdout] --> src/game_engine/commander.rs:288:8 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn setup_commander(mut commands: Commands) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_commander_cost` is never used [INFO] [stdout] --> src/game_engine/commander.rs:294:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn calculate_commander_cost( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_commander_casting` is never used [INFO] [stdout] --> src/game_engine/commander.rs:452:8 [INFO] [stdout] | [INFO] [stdout] 452 | pub fn handle_commander_casting( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_commander_deck` is never used [INFO] [stdout] --> src/game_engine/commander.rs:468:8 [INFO] [stdout] | [INFO] [stdout] 468 | pub fn validate_commander_deck( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_commander_systems` is never used [INFO] [stdout] --> src/game_engine/commander.rs:514:8 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn register_commander_systems(app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `initiative_holder`, `vow_effects`, `alliances`, and `combat_restrictions` are never read [INFO] [stdout] --> src/game_engine/politics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct PoliticsSystem { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub initiative_holder: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub vow_effects: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub alliances: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub combat_restrictions: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `source`, `controller`, and `choices` are never read [INFO] [stdout] --> src/game_engine/politics.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct Vote { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub source: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub controller: Entity, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub choices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vote` 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 `proposer`, `target`, and `terms` are never read [INFO] [stdout] --> src/game_engine/politics.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct Deal { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 116 | pub proposer: Entity, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub target: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub terms: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deal` 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: variants `DoNotAttack`, `Truce`, `SharedDefense`, `TargetOtherPlayer`, `AllowAction`, and `Custom` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 136 | pub enum DealTerm { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 137 | /// Agreement not to attack for N turns [INFO] [stdout] 138 | DoNotAttack(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | Truce(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | SharedDefense { against: Entity, turns: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | TargetOtherPlayer { target: Entity, turns: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | AllowAction { action_type: ActionType, turns: u32 }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealTerm` 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: variants `Attack`, `CastSpell`, `ActivateAbility`, `DestroyPermanent`, and `Other` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 158 | pub enum ActionType { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 159 | Attack, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 160 | CastSpell, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 161 | ActivateAbility, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 162 | DestroyPermanent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 163 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionType` 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: variants `Proposed` and `Expired` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub enum DealStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 169 | /// Deal has been proposed but not yet accepted/rejected [INFO] [stdout] 170 | Proposed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealStatus` 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: variants `Turns`, `UntilEndOfGame`, `UntilPlayerEliminated`, and `Custom` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 187 | pub enum DealDuration { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 188 | /// Lasts for a specific number of turns [INFO] [stdout] 189 | Turns(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | UntilEndOfGame, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | UntilPlayerEliminated(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | Custom(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DealDuration` 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: field `target` is never read [INFO] [stdout] --> src/game_engine/politics.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct GoadEffect { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 204 | /// The creature that is goaded [INFO] [stdout] 205 | pub target: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GoadEffect` 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 `target`, `protected_player`, `duration`, and `created_at` are never read [INFO] [stdout] --> src/game_engine/politics.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct VowEffect { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 220 | /// The creature with the vow [INFO] [stdout] 221 | pub target: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub protected_player: Entity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub created_at: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VowEffect` 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: variants `MustAttack`, `MustAttackPlayer`, `CannotAttackPlayer`, `CannotBlock`, and `CannotBlockAttacksAgainst` are never constructed [INFO] [stdout] --> src/game_engine/politics.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 235 | pub enum CombatRestriction { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 236 | /// Creature must attack if able [INFO] [stdout] 237 | MustAttack, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | MustAttackPlayer(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | CannotAttackPlayer(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | CannotBlock, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 249 | CannotBlockAttacksAgainst(Entity), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CombatRestriction` 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 `previous_monarch` and `source` are never read [INFO] [stdout] --> src/game_engine/politics.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 254 | pub struct MonarchChangedEvent { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 259 | pub previous_monarch: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vote_id`, `winning_choice`, and `vote_count` are never read [INFO] [stdout] --> src/game_engine/politics.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 287 | pub struct VoteCompletedEvent { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 288 | /// The vote ID [INFO] [stdout] 289 | pub vote_id: Uuid, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub winning_choice: VoteChoice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | pub vote_count: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `responder` is never read [INFO] [stdout] --> src/game_engine/politics.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 307 | pub struct DealResponseEvent { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 315 | pub responder: Entity, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason` is never read [INFO] [stdout] --> src/game_engine/politics.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 320 | pub struct DealBrokenEvent { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 328 | pub reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `controller` and `targets` are never used [INFO] [stdout] --> src/game_engine/stack.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Effect: Debug + Send + Sync { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn controller(&self) -> Entity; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn targets(&self) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `controller` is never read [INFO] [stdout] --> src/game_engine/stack.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct StackItemResolvedEvent { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 21 | /// The controller of the resolved effect [INFO] [stdout] 22 | pub controller: Entity, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `targets` is never read [INFO] [stdout] --> src/game_engine/stack.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct StackItem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | pub targets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len`, `push`, and `validate_targets` are never used [INFO] [stdout] --> src/game_engine/stack.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl GameStack { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn push(&mut self, effect: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn validate_targets(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `starting_life` is never read [INFO] [stdout] --> src/game_engine/state.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | pub starting_life: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_turn_order` and `record_draw` are never used [INFO] [stdout] --> src/game_engine/state.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 68 | /// Set the turn order of players [INFO] [stdout] 69 | pub fn set_turn_order(&mut self, players: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn record_draw(&mut self, player: Entity) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_phase` is never read [INFO] [stdout] --> src/game_engine/turns.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct TurnManager { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub current_phase: Phase, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TurnManager` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `advance_turn`, `eliminate_player`, `is_game_over`, and `get_player_index` are never used [INFO] [stdout] --> src/game_engine/turns.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl TurnManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn advance_turn(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn eliminate_player(&mut self, player: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_player_index(&self, player: Entity) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player` and `turn_number` are never read [INFO] [stdout] --> src/game_engine/turns.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct TurnStartEvent { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 101 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 102 | pub turn_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `player` and `turn_number` are never read [INFO] [stdout] --> src/game_engine/turns.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 107 | pub struct TurnEndEvent { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 108 | pub player: Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 109 | pub turn_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_turn_systems` is never used [INFO] [stdout] --> src/game_engine/turns.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn register_turn_systems(app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Limbo` is never constructed [INFO] [stdout] --> src/game_engine/zones.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Zone { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Limbo, // For temporary transitions [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Zone` 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 `owner`, `was_visible`, and `is_visible` are never read [INFO] [stdout] --> src/game_engine/zones.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ZoneChangeEvent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub owner: Entity, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub was_visible: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | /// Whether the card is visible in the destination zone [INFO] [stdout] 32 | pub is_visible: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_player_zones` and `get_card_zone` are never used [INFO] [stdout] --> src/game_engine/zones.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ZoneManager { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 79 | /// Initialize a new player's zones [INFO] [stdout] 80 | pub fn init_player_zones(&mut self, player: Entity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn get_card_zone(&self, card: Entity) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_zone_manager` is never used [INFO] [stdout] --> src/game_engine/zones.rs:303:8 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn setup_zone_manager(mut commands: Commands, player_query: Query>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_zone_systems` is never used [INFO] [stdout] --> src/game_engine/zones.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn register_zone_systems(app: &mut App) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/mana.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 182 | impl Mana { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup_star_of_david` is never used [INFO] [stdout] --> src/menu/cleanup.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn cleanup_star_of_david(mut commands: Commands, stars: Query>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_menu_camera` is never used [INFO] [stdout] --> src/menu/systems.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn setup_menu_camera(mut commands: Commands) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position`, `size`, and `alignment` are never read [INFO] [stdout] --> src/text/components.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct TextLayoutInfo { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 56 | /// The position of the text relative to the card [INFO] [stdout] 57 | pub position: Vec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 58 | /// The size of the text bounds [INFO] [stdout] 59 | pub size: Vec2, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | /// The alignment of the text [INFO] [stdout] 61 | pub alignment: JustifyText, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextLayoutInfo` 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: associated function `new` is never used [INFO] [stdout] --> src/text/components.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl CardTextBundle { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 90 | /// Create a new text bundle for cards with standard configuration [INFO] [stdout] 91 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mana_cost_text_system` is never used [INFO] [stdout] --> src/text/systems/mana_cost_text.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn mana_cost_text_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `name_text_system` is never used [INFO] [stdout] --> src/text/systems/name_text.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn name_text_system( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace_mana_symbols_with_unicode` is never used [INFO] [stdout] --> src/text/systems/rules_text.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn replace_mana_symbols_with_unicode(text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `card_width`, `card_height`, `vertical_margin`, `horizontal_margin`, and `type_line_x_offset` are never read [INFO] [stdout] --> src/text/utils.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct CardTextLayout { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 40 | /// The width of the card [INFO] [stdout] 41 | pub card_width: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | /// The height of the card [INFO] [stdout] 43 | pub card_height: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub vertical_margin: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | /// The horizontal margin for text relative to the card edge (normalized) [INFO] [stdout] 57 | pub horizontal_margin: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub type_line_x_offset: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CardTextLayout` 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: function `spawn_debug_bounds` is never used [INFO] [stdout] --> src/text/utils.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn spawn_debug_bounds( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_text_position` is never used [INFO] [stdout] --> src/text/utils.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn calculate_text_position( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 10m 43s [INFO] running `Command { std: "docker" "inspect" "2bc88f172e6a7d0247e2efa19d8769c1d6a9080d4891677175e870cf3e6fd24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bc88f172e6a7d0247e2efa19d8769c1d6a9080d4891677175e870cf3e6fd24c", kill_on_drop: false }` [INFO] [stdout] 2bc88f172e6a7d0247e2efa19d8769c1d6a9080d4891677175e870cf3e6fd24c