clippy -D warnings fails on v2026.11.30.03: loop_caps, ranged, manual is_multiple_of #4618
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#4618
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@gbmrrr on GitHub · 2026-11-30 23:53 UTC · original
Summary
cargo clippy --workspace --all-targets --locked -- -D warnings— the exact commandci.ymlruns — fails onv2026.11.30.03with three errors, none of them in fork code. Reproduced from a detached worktree of the tag with its ownCARGO_TARGET_DIR, so nothing of ours was in the build:Toolchain
Exactly the pinned one — nothing to do with a newer compiler:
rust-toolchain.tomlat the tag pinschannel = "1.98.1"withclippyin its components.Machine
GPU: NVIDIA GeForce RTX 5070 Ti, driver 621.40
Windows: 11 Home Single Language, build 26300, 26H2
The two
dead-codeerrors and theis_multiple_oflint are host-independent; WARP vs hardware does not enter into it.Where each came from
loop_caps1d536280"Shaders: a loop whose trip count the program fixes runs it in full, past the stage's loop cap"ranged8ab3c034"Copies remember the ranges they took whole in a memo of their own…" (and27d312d3,b8bf6d51before it)seed % 37addcfc7"Relay: the compare captures what changed in the flight's own submission…"loop_capsis written and moved but never read:lower.rs:1865initialises it,:2731moves it into the emitted struct,:14793pushes to it, and nothing consumes the field afterwards.rangedwas superseded byranged_lockfree/ranged_lockfree_parts(both called at:7098,:7143,:7168); only the locked pair is now unreachable. The third is a one-character lint in a test.How it shipped
ci.ymlon this tag triggers onpull_requestandpush: branches: [main]— notags:filter:So pushing the release tag runs only
spam,needs-logs,title-labelsandgame-requests. And theCIruns onmainand on the open PR branches are all sitting ataction_requiredrather than completing, which is consistent with the gate never having gone green on a recent merge either:No crash log to attach:
%LOCALAPPDATA%\VIctory\data\7952987A\crashes.logdoes not exist and there is no*.crash.logundertemp\. This is a compiler gate, not a run.Suggested fix
Happy to send these as one patch if you want them, or leave them to you — flagging rather than driving since two of the three are judgement calls about whether the code is genuinely dead or just not yet wired.
Related
Filed alongside this one: #4563, a deterministic
victory-shadertest failure that also shipped in this tag for the same reason — the tag never ran the suite.@github-actions[bot] on GitHub · 2026-11-30 23:54 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU you have and which Windows version (10 or 11).
If this issue needs logs and none are posted here within 12 hours, it will be closed. Add them by editing your post or in a comment.
@gbmrrr on GitHub · 2026-12-01 00:01 UTC · original
Resolved upstream already — closing it myself rather than waiting out the
needs-logstimer, since this one needs no play log or crash log at all: it is a compiler gate, reproducible with three commands and no title.Fixed by
343bf99f("Clippy passes on main again, and two tests of victory-gpu that the merges left behind", banaanpapa). All three errors I reported are in it:victory-shader'sLowered::loop_caps— allowed with a note, since the tests now read it.victory-gpu'sShadow::ranged— removed; the sentence moved toranged_parts, which is what the callers ask for.seed % 3 == 0in a test — nowis_multiple_of.That commit also caught two I missed:
copystat.rs's freembbeing shadowed by a closure of the same name, and anunwrap_or_default-shapedmatchinvictory-hle. Good.The reproduction in my report still holds and may be worth keeping in mind: from a detached worktree of the tag with its own
CARGO_TARGET_DIR,and
ci.yml'spush:has notags:filter, so the tagv2026.11.30.03went out without that gate ever running on it.One thing I should flag for the record, not as a complaint: I had
loop_capsandrangeddown as "judgement calls about whether the code is genuinely dead", and offered to leave them to you.343bf99fsettled both correctly. My hesitation was unnecessary — a-D warningsfailure onmainblocks every PR, so it is worth fixing decisively rather than asking.