Bump swift-sdk to 0.12 to fix build under Swift 6.3#3
Open
arihantdaga wants to merge 1 commit into
Open
Conversation
swift-sdk 0.10.2 fails to compile on the Swift 6.3 toolchain — its NetworkTransport captures a var across an actor boundary, which 6.3's strict-concurrency checker now treats as a hard error. 0.12 fixes the race upstream. Adapts the one Tool.Content.text destructuring site to the new tuple-shaped API and raises the manifest floor to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
swift build/swift runfails on the Swift 6.3 toolchain. The pinned swift-sdk 0.10.2 captures avaracross an actor boundary inNetworkTransport, which 6.3's strict-concurrency checker now rejects as a hard error (#SendingRisksDataRace) rather than a warning. The build dies in the dependency before our code compiles.What
@MainActorreference type).Tool.Content.textdestructuring site to its new tuple-shaped associated values (0.12API change).from: "0.12.0"so the lockfile, manifest, and source all agree on the required SDK.No toolchain or platform floor change: swift-sdk 0.12 keeps the same
swift-tools-version:6.1and macOS 13 minimum as 0.10. The project already requiredswift-tools-version: 6.2.Testing
swift build -c releaseis green and produces theEngramVisualizerbinary. Builds on both Swift 6.2 and 6.3 (6.3 was previously broken).