Skip to content

Swift 5.8 compilation failure /Package.swift:4:8: error: no such module 'CompilerPluginSupport' -> ⚠️ SemVer break #349

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

Open
weissi opened this issue Apr 25, 2025 · 3 comments

Comments

@weissi
Copy link
Member

weissi commented Apr 25, 2025

As per Package.swift we support Swift 5.8 here. But an actual compilation fails with

error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.ImEdbq/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.8.0", "/Package.swift", "-Xfrontend", "-disable-implicit-concurrency-module-import", "-Xfrontend", "-disable-implicit-string-processing-module-import", "-o", "/tmp/TemporaryDirectory.qU2Iyh/swift-async-algorithms-manifest"])
     /Package.swift:4:8: error: no such module 'CompilerPluginSupport'
     import CompilerPluginSupport
            ^ in https://github.com/apple/swift-async-algorithms.git

This is a SemVer break so needs urgent fixing.

@weissi
Copy link
Member Author

weissi commented Apr 25, 2025

CC @FranzBusch this also suggests the CI isn't setup correctly

@FranzBusch
Copy link
Member

5.8 is out of the support policy already so this is expected https://forums.swift.org/t/dropping-support-for-swift-5-8-on-linux/78533

@weissi
Copy link
Member Author

weissi commented Apr 25, 2025

5.8 is out of the support policy already so this is expected https://forums.swift.org/t/dropping-support-for-swift-5-8-on-linux/78533

This cannot be expected. The Package.swift says swift-tools-version:5.8 so this will break people. We need to release a final version that is compatible with 5.8 and then we can change it to swift-tools-version:5.10 or whatever and move on. But what's not okay is to leave the last released version that claims 5.8 support not supporting 5.8

@weissi weissi changed the title Swift 5.8 compilation failure /Package.swift:4:8: error: no such module 'CompilerPluginSupport' Swift 5.8 compilation failure /Package.swift:4:8: error: no such module 'CompilerPluginSupport' -> ⚠️ SemVer break Apr 25, 2025
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

No branches or pull requests

2 participants