ci: fix workspace clippy -D warnings failures across default and diagnostics builds #3560
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!3560
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3560"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Gauss999 on GitHub · 2026-11-30 01:02 UTC · original
Gauss999:fix/ci-clippy→main· +61 −42 · 23 files · 1 commits · closed without mergingWhat it changes
Fixes the pre-existing
cargo clippy ... -- -D warningserrors onmain(41adb551) across both default and--all-features(diagnostics) builds so the CIClippyandClippy, diagnostics buildsteps can pass cleanly:crates/victory-gpu/src/host/font.rs: remove unreachable duplicateb'%'match arm.crates/victory-gpu/src/lib.rs,crates/victory-hle/src/modules/lifecycle.rs: move items (set_range_lockre-export,keys_or_mouse) before#[cfg(test)] mod ...(clippy::items-after-test-module).crates/victory-gpu/src/pipeline/library.rs: add#[allow(clippy::incompatible_msrv)]onfile.try_lock()(workspace MSRV is1.88, toolchain is1.98.1) and use.is_multiple_of(500).AtomicBoolinshader_cache.rs,PAIR_MEETINGSinanalysis.rs, unusedlane_regionsre-export inlower.rs).ahead_snapbinding inhost.rs, prefix unused_busy(resource.rs) and_adapter(streamline.rs), drop redundant borrows (&list,&l,&cmds,&handles), replaceunwrap_or_elsewithunwrap_or(resource.rs),thenwiththen_some(gameinput.rs),x % 2 == 0withx.is_multiple_of(2)(host/panel.rs),while loadswithif loads { loop { ... } }(analysis.rs), constantassert!withconst { assert!(...) }(streamline.rs), and add#[allow(clippy::too_many_arguments)]oncompose::Compositor::recordandnative::tests::record.#[cfg_attr(not(feature = "diagnostics"), allow(dead_code))]onvictory_loader::crash::unwind_copy,#[cfg_attr(not(test), allow(dead_code))]onhost::take_spare_wb, and#[allow(dead_code)]on kept helpers inhost.rs,host/recycle.rs,descriptor/host.rs,pipeline.rs,pipeline/make.rs,memory.rs,shadow.rs, andwatch.rs.Validation
cargo clippy --workspace --all-targets --locked -- -D warnings: passed (exit 0)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings: passed (exit 0)cargo xtask policy --staged: passed (23 files ok)victory-hlemodules::gameinput(84 passed),modules::lifecycle(15 passed),victory-loader(75 + 2 + 2 passed)github-bot referenced this pull request2026-11-30 05:13:30 +00:00
github-bot referenced this pull request2026-11-30 05:13:30 +00:00
@trustno1-coder on GitHub · 2026-12-01 18:51 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed