Closed
Description
Description
When building swift-testing, I get a bunch of warnings along these lines while SwiftSyntax builds:
/Volumes/Dev/Source/swift-testing/.build/checkouts/swift-syntax/Sources/SwiftSyntax/SyntaxText.swift:15:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftSyntax' may lead to instability during execution
@_implementationOnly import Darwin
^
/Volumes/Dev/Source/swift-testing/.build/checkouts/swift-syntax/Sources/SwiftCompilerPlugin/CompilerPlugin.swift:16:22: warning: using '@_implementationOnly' without enabling library evolution for 'SwiftCompilerPlugin' may lead to instability during execution
@_implementationOnly import SwiftCompilerPluginMessageHandling
^
This then pollutes the output of the downstream package (swift-testing) that's using SwiftSyntax. :(
Steps to Reproduce
Using toolchain swift-DEVELOPMENT-SNAPSHOT-2023-09-20-a and SwiftSyntax 509.0.0.
To repro:
- Check out https://github.com/apple/swift-testing
export TOOLCHAINS=swift
(if needed)swift test