Build Information
Successful build of SGFKit, reference 0.4.1 (7bf86b
), with Swift 6.0 for Linux on 4 Nov 2024 22:51:47 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/SGFKit.git
Reference: 0.4.1
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/mtj0928/SGFKit
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at 7bf86b0 Fix a bug related to escaping
Cloned https://github.com/mtj0928/SGFKit.git
Revision (git rev-parse @):
7bf86b052e920385918c11c6328e4fbd7cd081b0
SUCCESS checkout https://github.com/mtj0928/SGFKit.git at 0.4.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/mtj0928/SGFKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.46s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/16] Compiling SGFKit PropertyValue.swift
[6/17] Compiling SGFKit PropertyDefinition.swift
[7/17] Compiling SGFKit Parser.swift
/host/spi-builder-workspace/Sources/SGFKit/Parser.swift:163:10: warning: associated value 'unexpectedToken(expectedToken:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'TokenKind.Case'; this is an error in the Swift 6 language mode
161 | public enum ParserError: Error {
162 | /// A case indicating unexpected token appears.
163 | case unexpectedToken(expectedToken: TokenKind.Case, at: String.Index)
| `- warning: associated value 'unexpectedToken(expectedToken:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'TokenKind.Case'; this is an error in the Swift 6 language mode
164 |
165 | /// A case indicating the expected token doesn't appear.
/host/spi-builder-workspace/Sources/SGFKit/Token.swift:42:17: note: consider making enum 'Case' conform to the 'Sendable' protocol
40 |
41 | /// An enum indicating only a kind of a token of SGF.
42 | public enum Case {
| `- note: consider making enum 'Case' conform to the 'Sendable' protocol
43 | /// A token indicating "(".
44 | case leftParenthesis
[8/17] Emitting module SGFKit
/host/spi-builder-workspace/Sources/SGFKit/Parser.swift:163:10: warning: associated value 'unexpectedToken(expectedToken:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'TokenKind.Case'; this is an error in the Swift 6 language mode
161 | public enum ParserError: Error {
162 | /// A case indicating unexpected token appears.
163 | case unexpectedToken(expectedToken: TokenKind.Case, at: String.Index)
| `- warning: associated value 'unexpectedToken(expectedToken:at:)' of 'Sendable'-conforming enum 'ParserError' has non-sendable type 'TokenKind.Case'; this is an error in the Swift 6 language mode
164 |
165 | /// A case indicating the expected token doesn't appear.
/host/spi-builder-workspace/Sources/SGFKit/Token.swift:42:17: note: consider making enum 'Case' conform to the 'Sendable' protocol
40 |
41 | /// An enum indicating only a kind of a token of SGF.
42 | public enum Case {
| `- note: consider making enum 'Case' conform to the 'Sendable' protocol
43 | /// A token indicating "(".
44 | case leftParenthesis
[9/17] Compiling SGFKit Token.swift
[10/17] Compiling SGFKit Go.swift
[11/17] Compiling SGFKit Lexer.swift
[12/17] Compiling SGFKit Collection+Factory.swift
[13/17] Compiling SGFKit Collection+SGF.swift
[14/17] Compiling SGFKit Collection.swift
[15/17] Compiling SGFKit Game.swift
[16/17] Compiling SGFKit Node.swift
[17/17] Compiling SGFKit NonTerminalSymbol.swift
Build complete! (22.11s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "SGFKit",
"name" : "SGFKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SGFKit",
"targets" : [
"SGFKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SGFKitTests",
"module_type" : "SwiftTarget",
"name" : "SGFKitTests",
"path" : "Tests/SGFKitTests",
"sources" : [
"Game/Go/GoCollectionTests.swift",
"Game/Go/GoTests.swift",
"LexerTests.swift",
"ParserTests.swift"
],
"target_dependencies" : [
"SGFKit"
],
"type" : "test"
},
{
"c99name" : "SGFKit",
"module_type" : "SwiftTarget",
"name" : "SGFKit",
"path" : "Sources/SGFKit",
"product_memberships" : [
"SGFKit"
],
"sources" : [
"Collection+Factory.swift",
"Collection+SGF.swift",
"Collection.swift",
"Game.swift",
"Game/Go.swift",
"Lexer.swift",
"Node.swift",
"NonTerminalSymbol.swift",
"Parser.swift",
"PropertyDefinition.swift",
"PropertyValue.swift",
"Token.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.