Skip to content

Conversation

fw-immunant
Copy link
Contributor

@fw-immunant fw-immunant commented Oct 2, 2025

I think this requires less fiddly setup with newer versions of the z3 crate, but we can't use those because they switch to the 2024 edition, which our pinned nightly from 2023 doesn't know about.

@fw-immunant fw-immunant changed the title [DNM] test z3 build fix for restored c2rust-refactor [DNM] test z3 CI fix for restored c2rust-refactor Oct 2, 2025
@fw-immunant fw-immunant force-pushed the fw/restore_refactor-z3-fix branch from ed3d3a4 to d48ad20 Compare October 2, 2025 16:31
@ahomescu
Copy link
Contributor

ahomescu commented Oct 2, 2025

Don't we also have a problem on mac OS? I couldn't figure out how to solve that one.

@ahomescu
Copy link
Contributor

ahomescu commented Oct 2, 2025

Couldn't this have been a pull request from #1328, so it only shows your new commits?

@ahomescu
Copy link
Contributor

ahomescu commented Oct 2, 2025

Couldn't this have been a pull request from #1328, so it only shows your new commits?

I mean, I can cherry-pick your fixes once they work, but PR-against-PR might have been cleaner.

@ahomescu ahomescu self-requested a review October 2, 2025 16:43
@fw-immunant
Copy link
Contributor Author

Couldn't this have been a pull request from #1328, so it only shows your new commits?

I mean, I can cherry-pick your fixes once they work, but PR-against-PR might have been cleaner.

I just opened a PR to run CI; I can set target to your branch if you want. I wasn't sure if this would need a rebase/etc. first and wanted to avoid noise in the original PR, or I would have just pushed to that branch.

@ahomescu
Copy link
Contributor

ahomescu commented Oct 2, 2025

Couldn't this have been a pull request from #1328, so it only shows your new commits?

I mean, I can cherry-pick your fixes once they work, but PR-against-PR might have been cleaner.

I just opened a PR to run CI; I can set target to your branch if you want. I wasn't sure if this would need a rebase/etc. first and wanted to avoid noise in the original PR, or I would have just pushed to that branch.

Just nitpicking and trying to make our lives easier, appreciate the help! I'm not sure when I'll get around to rebase my original branch, but I could roll your fixes into it once they pass CI.

@fw-immunant
Copy link
Contributor Author

I'm not sure when I'll get around to rebase my original branch, but I could roll your fixes into it once they pass CI.

Despite GH's claims to the contrary, a simple git rebase master seems to work without any intervention locally.

@fw-immunant fw-immunant force-pushed the fw/restore_refactor-z3-fix branch 3 times, most recently from 9d5e834 to e64801b Compare October 2, 2025 18:28
@fw-immunant
Copy link
Contributor Author

macOS CI now works... but for some reason the testsuite is broken.

@fw-immunant fw-immunant force-pushed the fw/restore_refactor-z3-fix branch 2 times, most recently from e2fbf8c to 82f1cc2 Compare October 3, 2025 16:54
@fw-immunant
Copy link
Contributor Author

fw-immunant commented Oct 3, 2025

e2fbf8c failed the z3 test claiming quickcheck failed:

---- transform::casts::tests::verify_double_cast stdout ----
thread 'transform::casts::tests::verify_double_cast' panicked at '[quickcheck] TEST FAILED. Arguments: (PointerWidth(64), [Int(32, true), Int(32, false), Size(true)])', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/quickcheck-0.9.2/src/tester.rs:178:28
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Upon further investigation, it looks like this is a real test failure, but not macOS-related. That CI run just got lucky with quickcheck seeds. I'll submit a follow-up PR.

@fw-immunant fw-immunant force-pushed the fw/restore_refactor-z3-fix branch 3 times, most recently from b68e96b to 2f656bb Compare October 3, 2025 17:26
@fw-immunant fw-immunant changed the base branch from master to ahomescu/restore_refactor October 3, 2025 17:27
@fw-immunant fw-immunant changed the title [DNM] test z3 CI fix for restored c2rust-refactor Fix z3 in CI for restored c2rust-refactor Oct 3, 2025
@fw-immunant fw-immunant force-pushed the fw/restore_refactor-z3-fix branch from 2f656bb to b2cd4eb Compare October 3, 2025 17:29
@ahomescu ahomescu merged commit e3fb41a into ahomescu/restore_refactor Oct 3, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants