mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-22 04:30:44 +00:00
The Main CI workflow currently fails on Swift 6.1, 6.2, and 6.3 because `-Xswiftc -warnings-as-errors` is enabled, while the `@_implementationOnly` imports in this codebase emit deprecation warnings (`ImplementationOnlyDeprecated`). The PR workflow already handles this correctly; this change brings the main workflow in line. Specifically: - 6.1: Drops `-warnings-as-errors` entirely, since this toolchain doesn't support demoting the ImplementationOnlyDeprecated warning. A comment explains why. - 6.2 / 6.3: Adds `-Xswiftc -Wwarning -Xswiftc` ImplementationOnlyDeprecated to demote the warning while still failing on other warnings.