Build Information
Successful build of SGF, reference master (abb31a), with Swift 6.1 for macOS (SPM) on 12 Jul 2026 19:54:00 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/y-ich/swift-sgf.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/y-ich/swift-sgf
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at abb31ad bugfix: could not make public protocol conformance extension
Cloned https://github.com/y-ich/swift-sgf.git
Revision (git rev-parse @):
abb31adff01592431b7d08c5f2f9731baba030a6
SUCCESS checkout https://github.com/y-ich/swift-sgf.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/y-ich/swift-sgf.git
https://github.com/y-ich/swift-sgf.git
{
"dependencies" : [
],
"manifest_display_name" : "SGF",
"name" : "SGF",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SGF",
"targets" : [
"SGF"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SGFTests",
"module_type" : "SwiftTarget",
"name" : "SGFTests",
"path" : "Tests/SGFTests",
"sources" : [
"SGFTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SGF"
],
"type" : "test"
},
{
"c99name" : "SGF",
"module_type" : "SwiftTarget",
"name" : "SGF",
"path" : "Sources/SGF",
"product_memberships" : [
"SGF"
],
"sources" : [
"CitronLexer.swift",
"CitronParser.swift",
"NSTextCheckingResultExtension.swift",
"SGFCursor.swift",
"SGFEncoder.swift",
"SGFParser.swift",
"SGFParserUtils.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling SGF CitronLexer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronLexer.swift:50:50: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
48 | }
49 | }
50 | currentPosition = (tokenPosition: String.Index(encodedOffset: 0), linePosition: String.Index(encodedOffset: 0), lineNumber: 0)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
51 | }
52 |
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronLexer.swift:50:96: warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
48 | }
49 | }
50 | currentPosition = (tokenPosition: String.Index(encodedOffset: 0), linePosition: String.Index(encodedOffset: 0), lineNumber: 0)
| `- warning: 'init(encodedOffset:)' is deprecated: encodedOffset has been deprecated as most common usage is incorrect. Use String.Index(utf16Offset:in:) to achieve the same behavior.
51 | }
52 |
[4/10] Compiling SGF SGFEncoder.swift
[5/10] Emitting module SGF
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:173:10: warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
170 | // Error handling
171 |
172 | enum _CitronParserError<Token, TokenCode>: Error {
| `- note: consider making generic parameter 'Token' conform to the 'Sendable' protocol
173 | case syntaxErrorAt(token: Token, tokenCode: TokenCode)
| `- warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
174 | case unexpectedEndOfInput
175 | case stackOverflow
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:173:10: warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
170 | // Error handling
171 |
172 | enum _CitronParserError<Token, TokenCode>: Error {
| `- note: consider making generic parameter 'TokenCode' conform to the 'Sendable' protocol
173 | case syntaxErrorAt(token: Token, tokenCode: TokenCode)
| `- warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
174 | case unexpectedEndOfInput
175 | case stackOverflow
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:180:7: warning: non-final class '_CitronParserUnexpectedTokenError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
178 | protocol CitronParserError : Error { }
179 |
180 | class _CitronParserUnexpectedTokenError<Token, TokenCode> : CitronParserError {
| `- warning: non-final class '_CitronParserUnexpectedTokenError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
181 | let token: Token
182 | let tokenCode: TokenCode
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:181:9: warning: stored property 'token' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
178 | protocol CitronParserError : Error { }
179 |
180 | class _CitronParserUnexpectedTokenError<Token, TokenCode> : CitronParserError {
| `- note: consider making generic parameter 'Token' conform to the 'Sendable' protocol
181 | let token: Token
| `- warning: stored property 'token' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
182 | let tokenCode: TokenCode
183 | init(token: Token, tokenCode: TokenCode) {
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:182:9: warning: stored property 'tokenCode' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
178 | protocol CitronParserError : Error { }
179 |
180 | class _CitronParserUnexpectedTokenError<Token, TokenCode> : CitronParserError {
| `- note: consider making generic parameter 'TokenCode' conform to the 'Sendable' protocol
181 | let token: Token
182 | let tokenCode: TokenCode
| `- warning: stored property 'tokenCode' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
183 | init(token: Token, tokenCode: TokenCode) {
184 | self.token = token
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:189:7: warning: non-final class 'CitronParserUnexpectedEndOfInputError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
187 | }
188 |
189 | class CitronParserUnexpectedEndOfInputError : CitronParserError {
| `- warning: non-final class 'CitronParserUnexpectedEndOfInputError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
190 | }
191 |
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:192:7: warning: non-final class 'CitronParserStackOverflowError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
190 | }
191 |
192 | class CitronParserStackOverflowError : CitronParserError {
| `- warning: non-final class 'CitronParserStackOverflowError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
193 | }
194 |
[6/10] Compiling SGF SGFCursor.swift
[7/10] Compiling SGF SGFParser.swift
[8/10] Compiling SGF SGFParserUtils.swift
[9/10] Compiling SGF NSTextCheckingResultExtension.swift
[10/10] Compiling SGF CitronParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:173:10: warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
170 | // Error handling
171 |
172 | enum _CitronParserError<Token, TokenCode>: Error {
| `- note: consider making generic parameter 'Token' conform to the 'Sendable' protocol
173 | case syntaxErrorAt(token: Token, tokenCode: TokenCode)
| `- warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
174 | case unexpectedEndOfInput
175 | case stackOverflow
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:173:10: warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
170 | // Error handling
171 |
172 | enum _CitronParserError<Token, TokenCode>: Error {
| `- note: consider making generic parameter 'TokenCode' conform to the 'Sendable' protocol
173 | case syntaxErrorAt(token: Token, tokenCode: TokenCode)
| `- warning: associated value 'syntaxErrorAt(token:tokenCode:)' of 'Sendable'-conforming generic enum '_CitronParserError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
174 | case unexpectedEndOfInput
175 | case stackOverflow
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:180:7: warning: non-final class '_CitronParserUnexpectedTokenError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
178 | protocol CitronParserError : Error { }
179 |
180 | class _CitronParserUnexpectedTokenError<Token, TokenCode> : CitronParserError {
| `- warning: non-final class '_CitronParserUnexpectedTokenError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
181 | let token: Token
182 | let tokenCode: TokenCode
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:181:9: warning: stored property 'token' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
178 | protocol CitronParserError : Error { }
179 |
180 | class _CitronParserUnexpectedTokenError<Token, TokenCode> : CitronParserError {
| `- note: consider making generic parameter 'Token' conform to the 'Sendable' protocol
181 | let token: Token
| `- warning: stored property 'token' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'Token'; this is an error in the Swift 6 language mode
182 | let tokenCode: TokenCode
183 | init(token: Token, tokenCode: TokenCode) {
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:182:9: warning: stored property 'tokenCode' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
178 | protocol CitronParserError : Error { }
179 |
180 | class _CitronParserUnexpectedTokenError<Token, TokenCode> : CitronParserError {
| `- note: consider making generic parameter 'TokenCode' conform to the 'Sendable' protocol
181 | let token: Token
182 | let tokenCode: TokenCode
| `- warning: stored property 'tokenCode' of 'Sendable'-conforming generic class '_CitronParserUnexpectedTokenError' has non-sendable type 'TokenCode'; this is an error in the Swift 6 language mode
183 | init(token: Token, tokenCode: TokenCode) {
184 | self.token = token
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:189:7: warning: non-final class 'CitronParserUnexpectedEndOfInputError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
187 | }
188 |
189 | class CitronParserUnexpectedEndOfInputError : CitronParserError {
| `- warning: non-final class 'CitronParserUnexpectedEndOfInputError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
190 | }
191 |
/Users/admin/builder/spi-builder-workspace/Sources/SGF/CitronParser.swift:192:7: warning: non-final class 'CitronParserStackOverflowError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
190 | }
191 |
192 | class CitronParserStackOverflowError : CitronParserError {
| `- warning: non-final class 'CitronParserStackOverflowError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
193 | }
194 |
Build complete! (4.73s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SGF",
"name" : "SGF",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SGF",
"targets" : [
"SGF"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SGFTests",
"module_type" : "SwiftTarget",
"name" : "SGFTests",
"path" : "Tests/SGFTests",
"sources" : [
"SGFTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SGF"
],
"type" : "test"
},
{
"c99name" : "SGF",
"module_type" : "SwiftTarget",
"name" : "SGF",
"path" : "Sources/SGF",
"product_memberships" : [
"SGF"
],
"sources" : [
"CitronLexer.swift",
"CitronParser.swift",
"NSTextCheckingResultExtension.swift",
"SGFCursor.swift",
"SGFEncoder.swift",
"SGFParser.swift",
"SGFParserUtils.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.