Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Pin syn and proc-macro2 versions for kani@v0.49.0 #419

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

tatsuya6502
Copy link
Member

Fixes #418.

As of April 16, 2024, the latest version 0.49.0 of Kani verifier uses Rust nightly-2024-03-29, which cannot compile proc-macro2@1.0.80, causing a CI job to tail.

To address the issue, a new version of Kani will be released soon (model-checking/kani#3144). But for now, we workaround the issue by pining some crate versions to older versions.

This PR does the followings when running GitHub CI for Kani verifier:

  • Pin proc-macro2 to 1.0.79.
  • Pin syn to 2.0.58.
    • Pinning (downgrading) the proc-macro2 version requires downgrading syn.

@tatsuya6502 tatsuya6502 self-assigned this Apr 16, 2024
@tatsuya6502 tatsuya6502 added this to the v0.12.7 milestone Apr 16, 2024
Copy link
Member Author

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging.

@tatsuya6502 tatsuya6502 merged commit 8ba2a0a into main Apr 16, 2024
50 checks passed
@tatsuya6502 tatsuya6502 deleted the fix-kani-2024-04-16/v0.12 branch April 16, 2024 09:44
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.

CI: Kani verifier v0.49.0 uses Rust nightly-2024-03-29, which cannot compile proc-macro2@1.0.80
1 participant