Build Information
Successful build of swift-grammar, reference master (0dac97
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 08:30:54 UTC.
Swift 6 data race errors: 2
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-grammar.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tayloraswift/swift-grammar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0dac977 remove the obsolete Testing_ module, and its transitive swift-atomics dependency
Cloned https://github.com/tayloraswift/swift-grammar.git
Revision (git rev-parse @):
0dac977b50bf677b2c3adabd7d5586a7b6e09b17
SUCCESS checkout https://github.com/tayloraswift/swift-grammar.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tayloraswift/swift-grammar.git
https://github.com/tayloraswift/swift-grammar.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-grammar",
"name" : "swift-grammar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Grammar",
"targets" : [
"Grammar"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TraceableErrors",
"targets" : [
"TraceableErrors"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TraceableErrors",
"module_type" : "SwiftTarget",
"name" : "TraceableErrors",
"path" : "Sources/TraceableErrors",
"product_memberships" : [
"Grammar",
"TraceableErrors"
],
"sources" : [
"NamedError.swift",
"TraceableError.swift"
],
"type" : "library"
},
{
"c99name" : "Grammar",
"module_type" : "SwiftTarget",
"name" : "Grammar",
"path" : "Sources/Grammar",
"product_memberships" : [
"Grammar"
],
"sources" : [
"Diagnostics/DefaultDiagnostics.swift",
"Diagnostics/NoDiagnostics.swift",
"Diagnostics/ParsingDiagnostics.swift",
"Digit/DigitRule.swift",
"Digit/UnicodeDigit.swift",
"Parsing/ASCIITerminal.swift",
"Parsing/CharacterTerminal.swift",
"Parsing/Grammar.swift",
"Parsing/ParsingError.Frame.swift",
"Parsing/ParsingError.swift",
"Parsing/ParsingInput.swift",
"Parsing/UTF16Terminal.swift",
"Parsing/UTF8Terminal.swift",
"Parsing/UnicodeTerminal.swift",
"Patterns/Pattern.IntegerOverflowError.swift",
"Patterns/Pattern.UnexpectedEndOfInputError.swift",
"Patterns/Pattern.UnexpectedValueError.swift",
"Patterns/Pattern.swift",
"Rule/AtomicRule.swift",
"Rule/LiteralRule.swift",
"Rule/ParsingRule.swift",
"Rule/TerminalRule.swift",
"Rule/UnicodeEncoding.Newline.swift",
"Rule/UnicodeEncoding.swift"
],
"target_dependencies" : [
"TraceableErrors"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/6] Compiling TraceableErrors NamedError.swift
[5/6] Compiling TraceableErrors TraceableError.swift
[6/6] Emitting module TraceableErrors
[7/29] Compiling Grammar ParsingRule.swift
[8/29] Compiling Grammar TerminalRule.swift
[9/29] Compiling Grammar DefaultDiagnostics.swift
[10/29] Compiling Grammar NoDiagnostics.swift
[11/29] Compiling Grammar ParsingDiagnostics.swift
[12/31] Compiling Grammar UTF8Terminal.swift
[13/31] Compiling Grammar UnicodeTerminal.swift
[14/31] Compiling Grammar DigitRule.swift
[15/31] Compiling Grammar UnicodeDigit.swift
[16/31] Compiling Grammar ASCIITerminal.swift
[17/31] Compiling Grammar Pattern.UnexpectedValueError.swift
[18/31] Compiling Grammar Pattern.swift
[19/31] Compiling Grammar AtomicRule.swift
[20/31] Compiling Grammar LiteralRule.swift
[21/31] Compiling Grammar CharacterTerminal.swift
[22/31] Compiling Grammar Grammar.swift
[23/31] Compiling Grammar ParsingError.Frame.swift
[24/31] Compiling Grammar ParsingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
12 | @frozen public
13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
| `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
14 | {
15 | /// The underlying parsing error.
:
22 | /// index comes from the longest successful parse.
23 | public
24 | let index:Index
| `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
25 | public
26 | let trace:[Frame]
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
24 | let index:Index
25 | public
26 | let trace:[Frame]
| `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
27 |
28 | @inlinable public
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
5 | /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
6 | @frozen public
7 | struct Frame
| `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
8 | {
9 | /// Indicates the position in the ``ParsingInput.source`` where
[25/31] Compiling Grammar ParsingInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
12 | @frozen public
13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
| `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
14 | {
15 | /// The underlying parsing error.
:
22 | /// index comes from the longest successful parse.
23 | public
24 | let index:Index
| `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
25 | public
26 | let trace:[Frame]
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
24 | let index:Index
25 | public
26 | let trace:[Frame]
| `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
27 |
28 | @inlinable public
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
5 | /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
6 | @frozen public
7 | struct Frame
| `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
8 | {
9 | /// Indicates the position in the ``ParsingInput.source`` where
[26/31] Compiling Grammar UTF16Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
12 | @frozen public
13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
| `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
14 | {
15 | /// The underlying parsing error.
:
22 | /// index comes from the longest successful parse.
23 | public
24 | let index:Index
| `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
25 | public
26 | let trace:[Frame]
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
24 | let index:Index
25 | public
26 | let trace:[Frame]
| `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
27 |
28 | @inlinable public
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
5 | /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
6 | @frozen public
7 | struct Frame
| `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
8 | {
9 | /// Indicates the position in the ``ParsingInput.source`` where
[27/31] Compiling Grammar Pattern.IntegerOverflowError.swift
[28/31] Compiling Grammar Pattern.UnexpectedEndOfInputError.swift
[29/31] Emitting module Grammar
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:24:9: warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
11 | /// Custom ``ParsingRule`` implementations should not throw this error either.
12 | @frozen public
13 | struct ParsingError<Index>:TraceableError, CustomStringConvertible
| `- note: consider making generic parameter 'Index' conform to the 'Sendable' protocol
14 | {
15 | /// The underlying parsing error.
:
22 | /// index comes from the longest successful parse.
23 | public
24 | let index:Index
| `- warning: stored property 'index' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type 'Index'; this is an error in the Swift 6 language mode
25 | public
26 | let trace:[Frame]
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.swift:26:9: warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
24 | let index:Index
25 | public
26 | let trace:[Frame]
| `- warning: stored property 'trace' of 'Sendable'-conforming generic struct 'ParsingError' has non-sendable type '[ParsingError<Index>.Frame]'; this is an error in the Swift 6 language mode
27 |
28 | @inlinable public
/Users/admin/builder/spi-builder-workspace/Sources/Grammar/Parsing/ParsingError.Frame.swift:7:12: note: consider making struct 'Frame' conform to the 'Sendable' protocol
5 | /// Only the ``DefaultDiagnostics`` engine tracks call stack state.
6 | @frozen public
7 | struct Frame
| `- note: consider making struct 'Frame' conform to the 'Sendable' protocol
8 | {
9 | /// Indicates the position in the ``ParsingInput.source`` where
[30/31] Compiling Grammar UnicodeEncoding.Newline.swift
[31/31] Compiling Grammar UnicodeEncoding.swift
Build complete! (1.60s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-grammar",
"name" : "swift-grammar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Grammar",
"targets" : [
"Grammar"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TraceableErrors",
"targets" : [
"TraceableErrors"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TraceableErrors",
"module_type" : "SwiftTarget",
"name" : "TraceableErrors",
"path" : "Sources/TraceableErrors",
"product_memberships" : [
"Grammar",
"TraceableErrors"
],
"sources" : [
"NamedError.swift",
"TraceableError.swift"
],
"type" : "library"
},
{
"c99name" : "Grammar",
"module_type" : "SwiftTarget",
"name" : "Grammar",
"path" : "Sources/Grammar",
"product_memberships" : [
"Grammar"
],
"sources" : [
"Diagnostics/DefaultDiagnostics.swift",
"Diagnostics/NoDiagnostics.swift",
"Diagnostics/ParsingDiagnostics.swift",
"Digit/DigitRule.swift",
"Digit/UnicodeDigit.swift",
"Parsing/ASCIITerminal.swift",
"Parsing/CharacterTerminal.swift",
"Parsing/Grammar.swift",
"Parsing/ParsingError.Frame.swift",
"Parsing/ParsingError.swift",
"Parsing/ParsingInput.swift",
"Parsing/UTF16Terminal.swift",
"Parsing/UTF8Terminal.swift",
"Parsing/UnicodeTerminal.swift",
"Patterns/Pattern.IntegerOverflowError.swift",
"Patterns/Pattern.UnexpectedEndOfInputError.swift",
"Patterns/Pattern.UnexpectedValueError.swift",
"Patterns/Pattern.swift",
"Rule/AtomicRule.swift",
"Rule/LiteralRule.swift",
"Rule/ParsingRule.swift",
"Rule/TerminalRule.swift",
"Rule/UnicodeEncoding.Newline.swift",
"Rule/UnicodeEncoding.swift"
],
"target_dependencies" : [
"TraceableErrors"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.