clippy: the lints that are not dead code, so the CI step gets past victory-shader #3
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/RedLightDOWN--VIvidia!3
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3"
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?
@erdemcisse on GitHub · 2026-12-01 21:54 UTC · original
clippy/mechanical-lints→main· +7 −8 · 5 files · 1 commits · closed without mergingWhat and why
cargo clippy --workspace --all-targets --locked -- -D warningshas never passed here (issue #2), and CI stops at that step, socargo test --workspacehas never run in CI at all. The two errors that stop it first are mechanical, invictory-shader:With those two out of the way
victory-gpuis next, and three of its errors need no decision from anyone (line numbers onmainb67c405):crates/victory-gpu/src/shadow.rs:1716if turns % 16 == 0if turns.is_multiple_of(16)crates/victory-gpu/src/texture.rs:1657is_all_zero(&read)is_all_zero(read)crates/victory-gpu/src/watch.rs:4026open(&mut g, …)open(&g, …)(+ themutthe guard no longer needs)openhas always taken&Guards, so the&mutonly ever coerced;is_multiple_ofisx % n == 0; the&clippy points at is one the compiler dereferences anyway. No behaviour change.What is left is deliberately not here. On this base the remaining failures are 27
dead_codediagnostics — 29 items, because two of them name a pair of methods each: the unused "meta store" inturbo.rs(ShaderMeta,MetaStore,META,META_MAGIC,meta_enabled,encode/decode_resource_kind,encode/decode_root,load_meta_file,meta_store,shader_meta_get/put,flush_meta_now,log_stats),mix64,fast_hash_128*,smart_back::log_stats,host::sends_own,shadow::{card_meta, has_initialized_piece, held_elsewhere}, andwatch'sPort7Counts,port_journal_counts,per_frame,nothing_new,port_guard_plan,port_guard_line— code thatRevert "merge: take non-RT performance and stability work from Leonida Continued"(732113e) left behind. Deleting, wiring up orcfg-gating it is your call, not mine to guess, so issue #2 lists every item with its line.Tested
Rust 1.98.1 (the pin in
rust-toolchain.toml),x86_64-pc-windows-msvc, Windows 11 10.0.26100, MSVC 14.44.35207 — the toolchain and target of the workflow, named explicitly asRUSTUP_TOOLCHAIN=1.98.1-x86_64-pc-windows-msvc(a bare1.98.1resolves to rustup's default host here, which is the gnu one). The branch was rebased onmainb67c405before these runs; the workflow run for this branch reportsaction_required(a fork PR waits for approval), so the numbers are local.Those failures are not from this diff, and they decide what happens next. The same five
gpu_ownedtests fail on unmodifiedmain(b67c405) on this PC —assertion failed: shadow.carded(), "512 KiB buffer should be Card-backed in GDDR7 VRAM" — so they are a property of the machine and of that code, not of a lint. The sixth ishost::menu::tests::the_link_is_always_right_under_the_note, which fails only whereVICTORY_STREAMLINE_DIRis set (that is #1); the seventh, in the multi-threaded workspace run, is the flakywatch::port7_tests::no_write_is_lost_with_port_7of #4. What this change does is let the Tests step run for the first time: it will be red on that set, and #1 and #4 are the other two pieces.GPUs tested: n/a for the change — lints and unit tests; no device workload, no game files.
AI-assisted: yes — DeepSeek Harness (lead agent).
78558db383toe90076c505@erdemcisse on GitHub · 2026-12-02 18:38 UTC · original
Rebased on
mainb67c405; every number in the body is from that tree, not from17303ca.shadow.rs:1716,texture.rs:1657,watch.rs:4026.dead_codediagnostics (29 items — two name a pair of methods), with the inventory listed by file, and--all-featuresadds a never-constructedfaultbook::Unlocked,descriptor.rs:1235andtexture.rs:1825.mainhere — fivegpu_ownedtests (shadow.carded(), "512 KiB buffer should be Card-backed in GDDR7 VRAM"), the menu note whenVICTORY_STREAMLINE_DIRis set (#1), and thewatch::port7_testsflake (#4). None of them come from this diff; the control run onb67c405is quoted in the body.Force-pushed:
e90076c.Pull request closed