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

TSCBasic: fix compatibility with Swift 5.5 #415

Merged
merged 3 commits into from May 4, 2023

Conversation

MaxDesiatov
Copy link
Member

Some of our CI nodes still support only Swift 5.5 and we should use UnsafeSendable with that version instead of @unchecked Sendable.

@MaxDesiatov
Copy link
Member Author

@swift-ci test

@MaxDesiatov
Copy link
Member Author

@swift-ci test Apple Silicon

@MaxDesiatov
Copy link
Member Author

@swift-ci clean test macos

@neonichu
Copy link
Member

I think we should rather update our tools-version to 5.7 to fail early with a clear error message considering that we get all kinds of random module errors in SwiftPM's test suite (which run as part of TSC CI) when using older compilers, the CI nodes really just need to be upgraded to something that works.

@MaxDesiatov
Copy link
Member Author

@swift-ci test macos

@MaxDesiatov
Copy link
Member Author

@swift-ci test

@MaxDesiatov
Copy link
Member Author

@swift-ci test windows

@@ -60,7 +60,7 @@
"repositoryURL": "https://github.com/apple/swift-syntax.git",
"state": {
"branch": "main",
"revision": "2d5575b8771c5ccd5673428d959085ddb74dbbf7",
"revision": "a6486790b46a4469bfb2b09d7ff6463aaecc40e5",
Copy link
Member Author

Choose a reason for hiding this comment

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

@neonichu this is what made the macOS build fail, maybe we should try to remove this Package.resolved to avoid similar issues in the future?

Copy link
Member

Choose a reason for hiding this comment

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

IIRC, without it we can't build at all, right? We can try to use an empty one.

Copy link
Member

Choose a reason for hiding this comment

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

Trying over here #417

@MaxDesiatov
Copy link
Member Author

@swift-ci test

@MaxDesiatov
Copy link
Member Author

@swift-ci test windows

1 similar comment
@MaxDesiatov
Copy link
Member Author

@swift-ci test windows

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) May 4, 2023 13:54
@MaxDesiatov MaxDesiatov merged commit 1296d2f into main May 4, 2023
3 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.

None yet

3 participants