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, reference 0.4.1 (7bf86b), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:38:23 UTC.

Swift 6 data race errors: 1

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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mtj0928/SGFKit.git
Reference: 0.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2049] Fetching swift-docc-plugin
[206/5426] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.33s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.33s)
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
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sgfkit",
      "name": "SGFKit",
      "url": "https://github.com/mtj0928/SGFKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SGFKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mtj0928/SGFKit.git
[1/392] Fetching sgfkit
Fetched https://github.com/mtj0928/SGFKit.git from cache (0.71s)
Creating working copy for https://github.com/mtj0928/SGFKit.git
Working copy of https://github.com/mtj0928/SGFKit.git resolved at 0.4.1 (7bf86b0)
warning: '.resolve-product-dependencies': dependency 'sgfkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mtj0928/SGFKit.git
https://github.com/mtj0928/SGFKit.git
{
  "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" : "/Users/admin/builder/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"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/16] Compiling SGFKit Node.swift
[6/16] Compiling SGFKit PropertyValue.swift
[7/16] Compiling SGFKit PropertyDefinition.swift
[8/16] Compiling SGFKit Parser.swift
/Users/admin/builder/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.
/Users/admin/builder/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/16] Compiling SGFKit Go.swift
[10/16] Compiling SGFKit NonTerminalSymbol.swift
[11/16] Compiling SGFKit Collection+Factory.swift
[12/16] Compiling SGFKit Collection+SGF.swift
[13/16] Compiling SGFKit Lexer.swift
[14/16] Compiling SGFKit Collection.swift
[15/16] Compiling SGFKit Game.swift
[16/16] Emitting module SGFKit
/Users/admin/builder/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.
/Users/admin/builder/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
[17/17] Compiling SGFKit Token.swift
Build complete! (14.19s)
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" : "/Users/admin/builder/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.