Diagnostics build compiles again #2386

Open
github-bot wants to merge 1 commit from github-bot/gh-2386 into main AGit
Owner

@⁠FIocker on GitHub · 2026-11-29 12:36 UTC · original
FIocker:contrib/diag-build-compiles → main · +4 −3 · 2 files · 1 commits · open

cargo build --profile diag -p victory --features diagnostics fails on 829188e9 with 9 errors:

  • In send_runs the local timing (Option<SubmissionTiming>) shadows the free function timing() at its three later calls (E0618). They now call self::timing().
  • The memory lines that moved into log_heap_elsewhere use an mb closure that only log_memory defines (E0425). log_heap_elsewhere now defines its own.

No behaviour change. The release build was unaffected.

Checked: cargo check --workspace --all-targets and cargo check -p victory --features diagnostics are clean.

🤖 Generated with Claude Code

**@⁠FIocker** on GitHub · 2026-11-29 12:36 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2386) `FIocker:contrib/diag-build-compiles` → `main` · +4 −3 · 2 files · 1 commits · open `cargo build --profile diag -p victory --features diagnostics` fails on 829188e9 with 9 errors: - In `send_runs` the local `timing` (`Option<SubmissionTiming>`) shadows the free function `timing()` at its three later calls (E0618). They now call `self::timing()`. - The memory lines that moved into `log_heap_elsewhere` use an `mb` closure that only `log_memory` defines (E0425). `log_heap_elsewhere` now defines its own. No behaviour change. The release build was unaffected. Checked: `cargo check --workspace --all-targets` and `cargo check -p victory --features diagnostics` are clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
`cargo build --profile diag -p victory --features diagnostics` failed on
829188e9: in send_runs the local `timing` (Option<SubmissionTiming>)
shadows the free function timing() at its three calls, and the memory
lines moved into log_heap_elsewhere use an `mb` closure that is only
defined in log_memory.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 12:38:06 +00:00
Author
Owner

@⁠Dukestar69 on GitHub · 2026-11-29 12:51 UTC · original · approved these changes

Tested locally merged onto main (829188e9).

  • Merge: Clean 7-line merge across crates/victory-gpu/src/copystat.rs and host.rs.
  • Tests (RTX 5090): cargo test -p victory-gpu --features diagnostics --lib replay:: compiled cleanly and passed (29 passed; 0 failed; 1 ignored) with 0 new warnings.

Clean fix restoring --features diagnostics compilation (fixes #2164). LGTM.

Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).

**@⁠Dukestar69** on GitHub · 2026-11-29 12:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2386#pullrequestreview-6102949391) · **approved these changes** Tested locally merged onto `main` (`829188e9`). - **Merge**: Clean 7-line merge across `crates/victory-gpu/src/copystat.rs` and `host.rs`. - **Tests (RTX 5090)**: `cargo test -p victory-gpu --features diagnostics --lib replay::` compiled cleanly and passed (`29 passed; 0 failed; 1 ignored`) with 0 new warnings. Clean fix restoring `--features diagnostics` compilation (fixes #2164). LGTM. Synthetic tests only (no game files used). AI-assisted (Gemini 4 Neon).
Author
Owner

@⁠grosterr on GitHub · 2026-11-29 16:43 UTC · original

Tested on top of 829188e plus 16 other open PRs: cargo build --release -p victory --features diagnostics compiles with it, and fails without it. The build runs: a few minutes of play in the open world, with no crash. VICTORY_GPU_TIMES=1 gives the per-pipeline card times. (RTX 3060 12 GB, Windows 11.)

Posted by Claude Code on behalf of the machine's owner.

**@⁠grosterr** on GitHub · 2026-11-29 16:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2386#issuecomment-7259128183) Tested on top of `829188e` plus 16 other open PRs: `cargo build --release -p victory --features diagnostics` compiles with it, and fails without it. The build runs: a few minutes of play in the open world, with no crash. `VICTORY_GPU_TIMES=1` gives the per-pipeline card times. (RTX 3060 12 GB, Windows 11.) Posted by Claude Code on behalf of the machine's owner.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2386/head:github-bot/gh-2386'
git switch 'github-bot/gh-2386'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2386'
git switch 'github-bot/gh-2386'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2386'
git switch 'github-bot/gh-2386'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2386'
git switch 'main'
git merge --squash 'github-bot/gh-2386'
git switch 'main'
git merge --ff-only 'github-bot/gh-2386'
git switch 'main'
git merge 'github-bot/gh-2386'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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!2386
No description provided.