Fix workspace Clippy -D warnings failures across CI targets #140

Manually merged
github merged 1 commit from github-bot/gh-140 into main 2026-11-26 08:21:46 +00:00 AGit
Owner

@⁠mattkajorinc on GitHub · 2026-11-26 07:05 UTC · original
mattkajorinc:fix/ci-clippy → main · +53 −46 · 28 files · 1 commits · merged 2026-11-26 08:17 UTC

Summary

  • Fixes the clippy::precedence failure blocking main CI (Run #68) at crates/victory-formats/src/texture.rs:1346 (((i * 7) >> 3)).
  • Resolves the remaining Clippy -D warnings and compiler warnings uncovered across the workspace under the pinned 1.98.1 toolchain for both default and --all-features builds:
    • Precedence & hex grouping: crates/victory-gpu/src/texture.rs, crates/victory-hle/src/modules/dstorage.rs, crates/victory-gpu/src/port.rs, crates/victory-gpu/src/queue.rs.
    • .is_multiple_of(...) & style lints: crates/victory-gpu/src/{host/send.rs, host/upq.rs, shadow.rs, watch.rs, land/tests.rs, titlewrite/decode.rs, draw.rs, copystat.rs, host.rs, descriptor.rs, pipeline/known.rs, replay/play.rs, replay/play/diverge.rs, replay/play/merge.rs}, crates/victory-hle/src/modules/dstorage.rs, apps/victory/src/warm.rs.
    • Annotations, visibility & unused/feature-gated warnings: crates/victory-loader/src/write_sites.rs, crates/victory-gpu/src/{book.rs, draw.rs, host.rs, host/indirects.rs, indirect.rs, land.rs, list/thin.rs, replay/play/pixel.rs, resource.rs}, apps/victory/src/main.rs.

Verification

  • cargo clippy --workspace --all-targets --locked -- -D warnings (passed, 0 warnings)
  • cargo clippy --workspace --all-targets --all-features --locked -- -D warnings (passed, 0 warnings)
  • cargo run --locked -p xtask -- policy (asset policy: 249 files ok)
  • cargo test -p xtask -p victory-formats -p victory-gpu -p victory-loader -p victory --locked (plus victory-gpu --lib --all-features; in victory-hle --lib, 149 passed with 2 tests skipped due to sandbox socket/hardlink restrictions)
**@⁠mattkajorinc** on GitHub · 2026-11-26 07:05 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/140) `mattkajorinc:fix/ci-clippy` → `main` · +53 −46 · 28 files · 1 commits · merged 2026-11-26 08:17 UTC ## Summary - Fixes the `clippy::precedence` failure blocking `main` CI (`Run #68`) at `crates/victory-formats/src/texture.rs:1346` (`((i * 7) >> 3)`). - Resolves the remaining Clippy `-D warnings` and compiler warnings uncovered across the workspace under the pinned `1.98.1` toolchain for both default and `--all-features` builds: - **Precedence & hex grouping:** `crates/victory-gpu/src/texture.rs`, `crates/victory-hle/src/modules/dstorage.rs`, `crates/victory-gpu/src/port.rs`, `crates/victory-gpu/src/queue.rs`. - **`.is_multiple_of(...)` & style lints:** `crates/victory-gpu/src/{host/send.rs, host/upq.rs, shadow.rs, watch.rs, land/tests.rs, titlewrite/decode.rs, draw.rs, copystat.rs, host.rs, descriptor.rs, pipeline/known.rs, replay/play.rs, replay/play/diverge.rs, replay/play/merge.rs}`, `crates/victory-hle/src/modules/dstorage.rs`, `apps/victory/src/warm.rs`. - **Annotations, visibility & unused/feature-gated warnings:** `crates/victory-loader/src/write_sites.rs`, `crates/victory-gpu/src/{book.rs, draw.rs, host.rs, host/indirects.rs, indirect.rs, land.rs, list/thin.rs, replay/play/pixel.rs, resource.rs}`, `apps/victory/src/main.rs`. ## Verification - `cargo clippy --workspace --all-targets --locked -- -D warnings` (passed, 0 warnings) - `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` (passed, 0 warnings) - `cargo run --locked -p xtask -- policy` (`asset policy: 249 files ok`) - `cargo test -p xtask -p victory-formats -p victory-gpu -p victory-loader -p victory --locked` (plus `victory-gpu --lib --all-features`; in `victory-hle --lib`, 149 passed with 2 tests skipped due to sandbox socket/hardlink restrictions)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 07:07:48 +00:00
Author
Owner

@⁠avatarmanz on GitHub · 2026-11-26 07:56 UTC · original

Merged into main in the next push (tests pass); thanks.

**@⁠avatarmanz** on GitHub · 2026-11-26 07:56 UTC · [original](https://github.com/avatarmanz/VIctory-7900XTX/pull/140#issuecomment-7186002927) Merged into main in the next push (tests pass); thanks.
github manually merged commit 8ec1189d29 into main 2026-11-26 08:21:46 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.