This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SGFKit with Swift 6.0 for Linux.

Swift 6 data race errors: 1

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/SGFKit.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/mtj0928/SGFKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1458] Fetching swift-docc-plugin
[1343/4317] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin from cache (0.36s)
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.38s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
 29 |         func addTargetDependencies(_ target: Target) {
 30 |             for dependency in target.dependencies {
 31 |                 switch dependency {
    |                 |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
    |                 `- note: handle unknown values using "@unknown default"
 32 |                 case .product(let product):
 33 |                     addTargets(product.targets)
[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 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
[6/17] Compiling SGFKit PropertyValue.swift
[7/17] Compiling SGFKit PropertyDefinition.swift
[8/17] Compiling SGFKit Token.swift
[9/17] Compiling SGFKit Go.swift
[10/17] Compiling SGFKit Lexer.swift
[11/17] Compiling SGFKit Collection.swift
[12/17] Compiling SGFKit Game.swift
[13/17] Compiling SGFKit Node.swift
[14/17] Compiling SGFKit NonTerminalSymbol.swift
[15/17] Compiling SGFKit Collection+Factory.swift
[16/17] Compiling SGFKit Collection+SGF.swift
[17/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
Build complete! (24.03s)
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"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.