host tests: the two card_pass calls pass the capture argument (the test build did not compile) #4053

Closed
birdneststream wants to merge 1 commit from upstream-pr/4053 into main
birdneststream commented 2026-11-30 15:16:14 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by birdneststream on 2026-11-30T15:16:14Z.


cargo test --no-run fails on main (c71899d9): card_pass gained a sixth argument (capture: [u32; 3]) and its three non-test callers pass it, but two calls in a test in host.rs still pass five:

crates/victory-gpu/src/host.rs:20302:  card_pass(&seed.list, &span, 128 * 1024, 0, 0);
crates/victory-gpu/src/host.rs:20328:  card_pass(&check.list, &span, 128 * 1024, 0, 1);
--> error[E0061]: this function takes 6 arguments but 5 arguments were supplied

This passes [0; 3] at both, as the other callers do. With it the test build compiles again.

Seen in the same run (not changed here, since I don't know which side is right): list::thin::tests::bindings_record_no_work fails with a call is in no list: left 47, right 49 — pure bookkeeping, no GPU, so the same on any machine.

Found while merging main into the Linux/Proton fork (bird/gta-goatse-edition).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5568069835 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4053). Originally posted by [birdneststream](https://github.com/birdneststream) on 2026-11-30T15:16:14Z. --- `cargo test --no-run` fails on main (c71899d9): `card_pass` gained a sixth argument (`capture: [u32; 3]`) and its three non-test callers pass it, but two calls in a test in `host.rs` still pass five: ``` crates/victory-gpu/src/host.rs:20302: card_pass(&seed.list, &span, 128 * 1024, 0, 0); crates/victory-gpu/src/host.rs:20328: card_pass(&check.list, &span, 128 * 1024, 0, 1); --> error[E0061]: this function takes 6 arguments but 5 arguments were supplied ``` This passes `[0; 3]` at both, as the other callers do. With it the test build compiles again. Seen in the same run (not changed here, since I don't know which side is right): `list::thin::tests::bindings_record_no_work` fails with `a call is in no list: left 47, right 49` — pure bookkeeping, no GPU, so the same on any machine. Found while merging main into the Linux/Proton fork (bird/gta-goatse-edition).
birdneststream commented 2026-12-01 02:38:23 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by birdneststream on 2026-12-01T02:38:23Z.


Closing: main fixed the same two calls in 456aec17 before this was opened. Nothing to merge here.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7298832630 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4053#issuecomment-7298832630). Originally posted by [birdneststream](https://github.com/birdneststream) on 2026-12-01T02:38:23Z. --- Closing: main fixed the same two calls in 456aec17 before this was opened. Nothing to merge here.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA!4053
No description provided.