Build Information
Successful build of swift-grammar, reference 0.5.0 (0dac97
), with Swift 6.1 for Linux on 30 Apr 2025 08:24:22 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/swift-grammar.git
Reference: 0.5.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/tayloraswift/swift-grammar
* tag 0.5.0 -> FETCH_HEAD
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 0.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/tayloraswift/swift-grammar.git
https://github.com/tayloraswift/swift-grammar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-grammar",
"name" : "swift-grammar",
"path" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Emitting module TraceableErrors
[5/6] Compiling TraceableErrors TraceableError.swift
[6/6] Compiling TraceableErrors NamedError.swift
[8/29] Compiling Grammar CharacterTerminal.swift
[9/29] Compiling Grammar Grammar.swift
[10/29] Compiling Grammar ParsingError.Frame.swift
[11/32] Compiling Grammar AtomicRule.swift
[12/32] Compiling Grammar LiteralRule.swift
[13/32] Compiling Grammar ParsingRule.swift
[14/32] Compiling Grammar UTF8Terminal.swift
[15/32] Compiling Grammar UnicodeTerminal.swift
[16/32] Compiling Grammar Pattern.IntegerOverflowError.swift
[17/32] Compiling Grammar Pattern.UnexpectedEndOfInputError.swift
[18/32] Compiling Grammar Pattern.UnexpectedValueError.swift
[19/32] Compiling Grammar Pattern.swift
[20/32] Compiling Grammar DefaultDiagnostics.swift
[21/32] Compiling Grammar NoDiagnostics.swift
[22/32] Compiling Grammar ParsingDiagnostics.swift
[23/32] Compiling Grammar ParsingError.swift
/host/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]
/host/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
/host/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
[24/32] Compiling Grammar ParsingInput.swift
/host/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]
/host/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
/host/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/32] Compiling Grammar UTF16Terminal.swift
/host/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]
/host/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
/host/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/32] Emitting module Grammar
/host/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]
/host/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
/host/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/32] Compiling Grammar DigitRule.swift
[28/32] Compiling Grammar UnicodeDigit.swift
[29/32] Compiling Grammar ASCIITerminal.swift
[30/32] Compiling Grammar TerminalRule.swift
[31/32] Compiling Grammar UnicodeEncoding.Newline.swift
[32/32] Compiling Grammar UnicodeEncoding.swift
Build complete! (5.57s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-grammar",
"name" : "swift-grammar",
"path" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.