CI on main has failed the last four pushes: two one-line clippy fixes, and the test suite has not run #1267

Closed
opened 2026-11-28 16:47:17 +00:00 by github-bot · 5 comments
Owner

@⁠HailLucifer666 on GitHub · 2026-11-28 16:46 UTC · original

Hi — I work on the Marvisak/VIctory line (our staging-bounds and pipeline-library serialization fixes landed upstream there). While mapping this fork for contributions I noticed main's CI has been red all day, so offering this before anything else.

The last four push runs on main failed (all 2026-11-28 UTC):

The failure at HEAD is two lints, both one-line fixes:

error: manual implementation of `.is_multiple_of()`
   --> crates\victory-gpu\src\shadow.rs:1708
    |
1708 | ...  if turns % 16 == 0 {
     help: replace with: `turns.is_multiple_of(16)`

error: returning the result of a `let` binding from a block
   --> crates\victory-shader (lib test; the block constructing a record with
       io / res / inputs / outputs / prims / mesh_stride, then .unwrap())

Because the build fails first, no tests have run on these pushes — including the WARP-gated GPU tests, so their behavior on CI runners is currently unverified.

Offer 1: I can open a small PR with both fixes (rebased on whatever main is by then).

Offer 2, separate and only if wanted: while reading the tree I saw that the GPU tests silently report as passed on a machine with no WARP adapter — WarpHarness::new() returns an Option and the acquire sites do let Some(...) = ... else { return } (e.g. indirect.rs around lines 894, 970, 1025). We upstreamed a cargo xtask test-gate to Marvisak/VIctory that refuses a run that executed nothing and pairs every report with the binary cargo named; happy to port it here as its own PR if useful.

The failed-CI log excerpt for 9ce3cf9e (first error blocks, from the run above):

error: returning the result of a `let` binding from a block
error: could not compile `victory-shader` (lib test) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: manual implementation of `.is_multiple_of()`
   --> crates\victory-gpu\src\shadow.rs:1708:32
     |  if turns % 16 == 0 {
        ^^^^^^^^^^^^^^^^^ help: replace with: `turns.is_multiple_of(16)`
error: could not compile `victory-gpu` (lib) due to 1 previous error

Either way, thanks for the fork — the docs (dlss.md, findings.md, fork-ray-tracing.md) made the mapping work much faster than usual.

**@⁠HailLucifer666** on GitHub · 2026-11-28 16:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1267) Hi — I work on the Marvisak/VIctory line (our staging-bounds and pipeline-library serialization fixes landed upstream there). While mapping this fork for contributions I noticed main's CI has been red all day, so offering this before anything else. **The last four push runs on `main` failed** (all 2026-11-28 UTC): - [`e7d8150d`](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46154038190) 14:19 - [`2a66ef1b`](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46154833762) 14:28 - [`f4608f0c`](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46155565404) 14:36 - [`9ce3cf9e`](https://github.com/trustno1-coder/VIctory-NVIDIA/actions/runs/46157117122) 14:55 (current HEAD) **The failure at HEAD is two lints**, both one-line fixes: ```text error: manual implementation of `.is_multiple_of()` --> crates\victory-gpu\src\shadow.rs:1708 | 1708 | ... if turns % 16 == 0 { help: replace with: `turns.is_multiple_of(16)` error: returning the result of a `let` binding from a block --> crates\victory-shader (lib test; the block constructing a record with io / res / inputs / outputs / prims / mesh_stride, then .unwrap()) ``` Because the build fails first, **no tests have run on these pushes** — including the WARP-gated GPU tests, so their behavior on CI runners is currently unverified. **Offer 1:** I can open a small PR with both fixes (rebased on whatever main is by then). **Offer 2, separate and only if wanted:** while reading the tree I saw that the GPU tests silently report as passed on a machine with no WARP adapter — `WarpHarness::new()` returns an `Option` and the acquire sites do `let Some(...) = ... else { return }` (e.g. `indirect.rs` around lines 894, 970, 1025). We upstreamed a `cargo xtask test-gate` to Marvisak/VIctory that refuses a run that executed nothing and pairs every report with the binary cargo named; happy to port it here as its own PR if useful. The failed-CI log excerpt for `9ce3cf9e` (first error blocks, from the run above): ```text error: returning the result of a `let` binding from a block error: could not compile `victory-shader` (lib test) due to 1 previous error warning: build failed, waiting for other jobs to finish... error: manual implementation of `.is_multiple_of()` --> crates\victory-gpu\src\shadow.rs:1708:32 | if turns % 16 == 0 { ^^^^^^^^^^^^^^^^^ help: replace with: `turns.is_multiple_of(16)` error: could not compile `victory-gpu` (lib) due to 1 previous error ``` Either way, thanks for the fork — the docs (`dlss.md`, `findings.md`, `fork-ray-tracing.md`) made the mapping work much faster than usual.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 16:47:17 +00:00
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 16:46 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.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

**@⁠github-actions[bot]** on GitHub · 2026-11-28 16:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1267#issuecomment-7242499081) 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. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
Author
Owner

@⁠HailLucifer666 on GitHub · 2026-11-28 17:02 UTC · original

Both offers are now open as PRs: #1290 (Offer 1 — the CI fixes; turned out to be four lints, not two: the last two only fire under --all-features or later in the build, plus the bindings.ini allowlist entry repository_passes_policy has needed since 4715a42) and #1294 (Offer 2 — the test-gate and workflow shape checks, stacked on #1290). Both verified locally; CI runs on approval.

**@⁠HailLucifer666** on GitHub · 2026-11-28 17:02 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1267#issuecomment-7242710253) Both offers are now open as PRs: **#1290** (Offer 1 — the CI fixes; turned out to be four lints, not two: the last two only fire under `--all-features` or later in the build, plus the `bindings.ini` allowlist entry `repository_passes_policy` has needed since `4715a42`) and **#1294** (Offer 2 — the test-gate and workflow shape checks, stacked on #1290). Both verified locally; CI runs on approval.
Author
Owner

@⁠jptorres96 on GitHub · 2026-11-28 17:19 UTC · original

One thing to expect once #1290 (or #1160) turns the clippy steps green: the test step is red on its own about one run in four. cargo test --workspace hasn't run on these pushes, so this hasn't shown yet.

Three victory-gpu tests fail now and then on main, at f4608f0 and at 63b902f. #724, #785 and #819 (or #594) fix them. Together they passed 25 of 25 runs here, against 19 of 25 for main. Details and counts are in #1138.

Two of the three only fail in parallel, as CI runs them, so a local --test-threads=1 run doesn't show them.

**@⁠jptorres96** on GitHub · 2026-11-28 17:19 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1267#issuecomment-7242925367) One thing to expect once #1290 (or #1160) turns the clippy steps green: the test step is red on its own about one run in four. `cargo test --workspace` hasn't run on these pushes, so this hasn't shown yet. Three `victory-gpu` tests fail now and then on `main`, at `f4608f0` and at `63b902f`. #724, #785 and #819 (or #594) fix them. Together they passed 25 of 25 runs here, against 19 of 25 for `main`. Details and counts are in https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/issues/1138. Two of the three only fail in parallel, as CI runs them, so a local `--test-threads=1` run doesn't show them.
Author
Owner

@⁠kalberts0089-hash on GitHub · 2026-11-29 09:23 UTC · original

@⁠HailLucifer666 thanks for the write-up. The two lints from the report are fixed on main now (#1160, shadow.rs:2493 is turns.is_multiple_of(16)), and bindings.ini is allowed at xtask/src/policy.rs:153-154. So what #1290 fixes is already in.

CI is still red, for a new reason. The last two push runs (4d98ca8 and 829188e) both stop at Clippy:

error: function `unwind_copy` is never used
   --> crates\victory-loader\src\crash.rs:804:15

Its only caller is stacks.rs:207, and stacks is only built with #[cfg(all(windows, feature = "diagnostics"))]. unwind_copy needs the same cfg.

I ran the rest of the pipeline locally at 4d98ca8 (the line numbers are the same at 829188e). Once that lint is gone, these are next:

  • Clippy: 37 more warnings, which are errors under -D warnings (victory-gpu 30, victory-shader 4, victory-hle 2). One looks like a real bug: host/font.rs:48 and :55 are both b'%' arms, so the second glyph never gets used.
  • Diagnostics build: --features diagnostics doesn't compile (9 errors in victory-gpu). Open PR #2048 fixes it.
  • Tests: 7 of about 2,250 fail. Three bcpack::tests::oracle_parity_* tests fail every time. #1408 made Tables read 32 index slots starting at the word after the widths, but the test oracle still skips that word and reads 31 (bcpack.rs:1943-1944). With the oracle changed to match, victory-formats passes. repository_passes_policy fails on heap_sites/frame_users.rs (2022 hex digits in one run), and whether to allow that is a maintainer call. The other three only fail when tests run in parallel.
**@⁠kalberts0089-hash** on GitHub · 2026-11-29 09:23 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1267#issuecomment-7253732957) @⁠HailLucifer666 thanks for the write-up. The two lints from the report are fixed on `main` now (#1160, `shadow.rs:2493` is `turns.is_multiple_of(16)`), and `bindings.ini` is allowed at `xtask/src/policy.rs:153-154`. So what #1290 fixes is already in. CI is still red, for a new reason. The last two push runs (`4d98ca8` and `829188e`) both stop at Clippy: ```text error: function `unwind_copy` is never used --> crates\victory-loader\src\crash.rs:804:15 ``` Its only caller is `stacks.rs:207`, and `stacks` is only built with `#[cfg(all(windows, feature = "diagnostics"))]`. `unwind_copy` needs the same cfg. I ran the rest of the pipeline locally at `4d98ca8` (the line numbers are the same at `829188e`). Once that lint is gone, these are next: - **Clippy:** 37 more warnings, which are errors under `-D warnings` (victory-gpu 30, victory-shader 4, victory-hle 2). One looks like a real bug: `host/font.rs:48` and `:55` are both `b'%'` arms, so the second glyph never gets used. - **Diagnostics build:** `--features diagnostics` doesn't compile (9 errors in victory-gpu). Open PR #2048 fixes it. - **Tests:** 7 of about 2,250 fail. Three `bcpack::tests::oracle_parity_*` tests fail every time. #1408 made `Tables` read 32 index slots starting at the word after the widths, but the test oracle still skips that word and reads 31 (`bcpack.rs:1943-1944`). With the oracle changed to match, victory-formats passes. `repository_passes_policy` fails on `heap_sites/frame_users.rs` (2022 hex digits in one run), and whether to allow that is a maintainer call. The other three only fail when tests run in parallel.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 15:46 UTC · original

Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.

If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
**@⁠trustno1-coder** on GitHub · 2026-11-30 15:46 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1267#issuecomment-7283559324) Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.01). If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA#1267
No description provided.