Skip to content

Incompatible use of nonisolated(unsafe) with Swift 5.9 #843

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

Closed
mattesmohr opened this issue May 21, 2025 · 3 comments · Fixed by #844
Closed

Incompatible use of nonisolated(unsafe) with Swift 5.9 #843

mattesmohr opened this issue May 21, 2025 · 3 comments · Fixed by #844

Comments

@mattesmohr
Copy link

mattesmohr commented May 21, 2025

My workflow is stumbling over the keyword nonisolated(unsafe), which IIRC was introduced with 5.10, but my test runner runs on 5.9.2.

It fetches the version 1.26.0, which has declared 5.9 as its swift tools version.

E. g. it will be used in HTTPClient+HTTPCookie.swift on L219.

@Lukasa
Copy link
Collaborator

Lukasa commented May 22, 2025

Dang it, #830 was subtly wrong. We should ship a fixed 1.26.1, and then actually fix the Package.swift.

@glbrntt
Copy link
Collaborator

glbrntt commented May 22, 2025

Sorry about that, this was fixed in 1.26.1.

@mattesmohr
Copy link
Author

Thank you for the quick reaction. 🙏

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 a pull request may close this issue.

3 participants