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 PGNParser, reference 0.4.0 (fb05e0), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 20:11:55 UTC.

Swift 6 data race errors: 11

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/tigerpixel/PGNParser.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tigerpixel/PGNParser
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at fb05e0d Merge pull request #8 from tigerpixel/development
Cloned https://github.com/tigerpixel/PGNParser.git
Revision (git rev-parse @):
fb05e0d0af9387a1a5af756e779f8a20e25f37b0
SUCCESS checkout https://github.com/tigerpixel/PGNParser.git at 0.4.0
Fetching https://github.com/tigerpixel/ParserCombinator.git
Fetching https://github.com/tigerpixel/Currier.git
[5/492] Fetching parsercombinator
[292/1036] Fetching parsercombinator, currier
Fetched https://github.com/tigerpixel/Currier.git from cache (0.72s)
Fetched https://github.com/tigerpixel/ParserCombinator.git from cache (0.72s)
Computing version for https://github.com/tigerpixel/ParserCombinator.git
Computed https://github.com/tigerpixel/ParserCombinator.git at 2.1.0 (1.31s)
Computing version for https://github.com/tigerpixel/Currier.git
Computed https://github.com/tigerpixel/Currier.git at 1.3.0 (0.56s)
Creating working copy for https://github.com/tigerpixel/Currier.git
Working copy of https://github.com/tigerpixel/Currier.git resolved at 1.3.0
Creating working copy for https://github.com/tigerpixel/ParserCombinator.git
Working copy of https://github.com/tigerpixel/ParserCombinator.git resolved at 2.1.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": "pgnparser",
      "name": "PGNParser",
      "url": "https://github.com/tigerpixel/PGNParser.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PGNParser",
      "dependencies": [
        {
          "identity": "currier",
          "name": "Currier",
          "url": "https://github.com/tigerpixel/Currier.git",
          "version": "1.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Currier",
          "dependencies": [
          ]
        },
        {
          "identity": "parsercombinator",
          "name": "ParserCombinator",
          "url": "https://github.com/tigerpixel/ParserCombinator.git",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ParserCombinator",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/tigerpixel/PGNParser.git
[1/253] Fetching pgnparser
Fetched https://github.com/tigerpixel/PGNParser.git from cache (0.65s)
Fetching https://github.com/tigerpixel/ParserCombinator.git from cache
Fetching https://github.com/tigerpixel/Currier.git from cache
Fetched https://github.com/tigerpixel/Currier.git from cache (0.47s)
Fetched https://github.com/tigerpixel/ParserCombinator.git from cache (0.47s)
Computing version for https://github.com/tigerpixel/ParserCombinator.git
Computed https://github.com/tigerpixel/ParserCombinator.git at 2.1.0 (0.53s)
Computing version for https://github.com/tigerpixel/Currier.git
Computed https://github.com/tigerpixel/Currier.git at 1.3.0 (0.03s)
Creating working copy for https://github.com/tigerpixel/ParserCombinator.git
Working copy of https://github.com/tigerpixel/ParserCombinator.git resolved at 2.1.0
Creating working copy for https://github.com/tigerpixel/PGNParser.git
Working copy of https://github.com/tigerpixel/PGNParser.git resolved at 0.4.0 (fb05e0d)
Creating working copy for https://github.com/tigerpixel/Currier.git
Working copy of https://github.com/tigerpixel/Currier.git resolved at 1.3.0
warning: '.resolve-product-dependencies': dependency 'pgnparser' is not used by any target
Found 2 product dependencies
  - Currier
  - ParserCombinator
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/tigerpixel/PGNParser.git
https://github.com/tigerpixel/PGNParser.git
{
  "dependencies" : [
    {
      "identity" : "currier",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tigerpixel/Currier.git"
    },
    {
      "identity" : "parsercombinator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tigerpixel/ParserCombinator.git"
    }
  ],
  "manifest_display_name" : "PGNParser",
  "name" : "PGNParser",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "PGNParser",
      "targets" : [
        "PGNParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PGNParserTests",
      "module_type" : "SwiftTarget",
      "name" : "PGNParserTests",
      "path" : "Tests/PGNParserTests",
      "sources" : [
        "DraughtsMoveTests.swift"
      ],
      "target_dependencies" : [
        "PGNParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PGNParser",
      "module_type" : "SwiftTarget",
      "name" : "PGNParser",
      "path" : "Sources/PGNParser",
      "product_dependencies" : [
        "Currier",
        "ParserCombinator"
      ],
      "product_memberships" : [
        "PGNParser"
      ],
      "sources" : [
        "DraughtsMove.swift",
        "DraughtsNotationParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/16] Compiling Currier Curry.swift
[6/16] Emitting module Currier
[7/16] Compiling ParserCombinator Character+UnicodeScalar.swift
[8/16] Emitting module ParserCombinator
[9/16] Compiling ParserCombinator ParserOperators.swift
[10/16] Compiling ParserCombinator Parser+Run.swift
[11/16] Compiling ParserCombinator ParseResult.swift
[12/16] Compiling ParserCombinator Parser.swift
[13/16] Compiling ParserCombinator CharacterParsers.swift
[14/16] Compiling ParserCombinator NumberParsers.swift
[15/16] Compiling ParserCombinator Parser+Combinators.swift
[16/16] Compiling ParserCombinator StringParsers.swift
[17/19] Compiling PGNParser DraughtsNotationParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:42:24: warning: static property 'lowercaseX' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// A parser which will succeed on a lowercase 'x' and fail on any other input token.
42 |     private static let lowercaseX = character(isEqualTo: "x")
   |                        `- warning: static property 'lowercaseX' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// A parser which resolves lowercase x to a boolean true and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserCombinator'
 7 | //
 8 |
 9 | import ParserCombinator
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserCombinator'
10 | import Currier
11 |
   :
40 |
41 |     /// A parser which will succeed on a lowercase 'x' and fail on any other input token.
42 |     private static let lowercaseX = character(isEqualTo: "x")
   |                        |- note: add '@MainActor' to make static property 'lowercaseX' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     /// A parser which resolves lowercase x to a boolean true and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:45:24: warning: static property 'lowercaseXIsTrue' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// A parser which resolves lowercase x to a boolean true and fails on all other input strings.
45 |     private static let lowercaseXIsTrue = lowercaseX.map { _ in return true }
   |                        |- warning: static property 'lowercaseXIsTrue' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'lowercaseXIsTrue' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 |     /// A parser which resolves a hyphen to a boolean false and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:48:24: warning: static property 'hyphenIsFalse' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// A parser which resolves a hyphen to a boolean false and fails on all other input strings.
48 |     private static let hyphenIsFalse = character(isEqualTo: "-").map { _ in return false }
   |                        |- warning: static property 'hyphenIsFalse' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'hyphenIsFalse' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     /// A parser which resolves a full stop to a success and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:51:24: warning: static property 'fullStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 |     /// A parser which resolves a full stop to a success and fails on all other input strings.
51 |     private static let fullStop = character(isEqualTo: ".")
   |                        |- warning: static property 'fullStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'fullStop' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 |     /// A parser which resolves numbers followed by a fullStop and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:54:24: warning: static property 'numberWithPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 |     /// A parser which resolves numbers followed by a fullStop and fails on all other input strings.
54 |     private static let numberWithPoint = whitespace.zeroOneOrMany *> digit.oneOrMany *> fullStop
   |                        |- warning: static property 'numberWithPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'numberWithPoint' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     /// A parser which will succeed on an open curly bracket and fail on any other input token.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:57:24: warning: static property 'openCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
55 |
56 |     /// A parser which will succeed on an open curly bracket and fail on any other input token.
57 |     private static let openCurlyBracket = character(isEqualTo: "{")
   |                        |- warning: static property 'openCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'openCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 |     /// A parser which will succeed on a close curly bracket and fail on any other input token.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:60:24: warning: static property 'closeCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
58 |
59 |     /// A parser which will succeed on a close curly bracket and fail on any other input token.
60 |     private static let closeCurlyBracket = character { $0 == "}" }
   |                        |- warning: static property 'closeCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'closeCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 |     /// A parser which will fail on a close curly bracket and succeed on any other input token.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:63:24: warning: static property 'notCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 |     /// A parser which will fail on a close curly bracket and succeed on any other input token.
63 |     private static let notCloseCurlyBracket = character { $0 != "}" }
   |                        |- warning: static property 'notCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'notCloseCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 |     /// A parser which will continue parsing upto but not including the next close curly bracket.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:66:24: warning: static property 'untilCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 |     /// A parser which will continue parsing upto but not including the next close curly bracket.
66 |     private static let untilCloseCurlyBracket: Parser<String> = notCloseCurlyBracket.zeroOneOrMany.map { String($0) }
   |                        |- warning: static property 'untilCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'untilCloseCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 |     /// A parser which will parse a comment between and open and close curly bracket, keeping only the comment.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:69:24: warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     /// A parser which will parse a comment between and open and close curly bracket, keeping only the comment.
69 |     private static let comment: Parser<String> = openCurlyBracket *> (untilCloseCurlyBracket <* closeCurlyBracket)
   |                        |- warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'comment' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 |     /// A Parser which will parse a comment with whitespace before it and if the comment exists, keep only the comment.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:72:24: warning: static property 'optionalCommentAfterWhitespace' is not concurrency-safe because non-'Sendable' type 'Parser<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 |     /// A Parser which will parse a comment with whitespace before it and if the comment exists, keep only the comment.
72 |     private static let optionalCommentAfterWhitespace: Parser<String?> = whitespace.zeroOneOrMany *> comment.optional
   |                        |- warning: static property 'optionalCommentAfterWhitespace' is not concurrency-safe because non-'Sendable' type 'Parser<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'optionalCommentAfterWhitespace' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 |     /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
[18/19] Emitting module PGNParser
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:42:24: warning: static property 'lowercaseX' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// A parser which will succeed on a lowercase 'x' and fail on any other input token.
42 |     private static let lowercaseX = character(isEqualTo: "x")
   |                        `- warning: static property 'lowercaseX' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// A parser which resolves lowercase x to a boolean true and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserCombinator'
 7 | //
 8 |
 9 | import ParserCombinator
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserCombinator'
10 | import Currier
11 |
   :
40 |
41 |     /// A parser which will succeed on a lowercase 'x' and fail on any other input token.
42 |     private static let lowercaseX = character(isEqualTo: "x")
   |                        |- note: add '@MainActor' to make static property 'lowercaseX' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 |     /// A parser which resolves lowercase x to a boolean true and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:45:24: warning: static property 'lowercaseXIsTrue' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 |     /// A parser which resolves lowercase x to a boolean true and fails on all other input strings.
45 |     private static let lowercaseXIsTrue = lowercaseX.map { _ in return true }
   |                        |- warning: static property 'lowercaseXIsTrue' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'lowercaseXIsTrue' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 |     /// A parser which resolves a hyphen to a boolean false and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:48:24: warning: static property 'hyphenIsFalse' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 |     /// A parser which resolves a hyphen to a boolean false and fails on all other input strings.
48 |     private static let hyphenIsFalse = character(isEqualTo: "-").map { _ in return false }
   |                        |- warning: static property 'hyphenIsFalse' is not concurrency-safe because non-'Sendable' type 'Parser<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'hyphenIsFalse' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     /// A parser which resolves a full stop to a success and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:51:24: warning: static property 'fullStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 |     /// A parser which resolves a full stop to a success and fails on all other input strings.
51 |     private static let fullStop = character(isEqualTo: ".")
   |                        |- warning: static property 'fullStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'fullStop' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 |     /// A parser which resolves numbers followed by a fullStop and fails on all other input strings.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:54:24: warning: static property 'numberWithPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 |     /// A parser which resolves numbers followed by a fullStop and fails on all other input strings.
54 |     private static let numberWithPoint = whitespace.zeroOneOrMany *> digit.oneOrMany *> fullStop
   |                        |- warning: static property 'numberWithPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'numberWithPoint' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 |     /// A parser which will succeed on an open curly bracket and fail on any other input token.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:57:24: warning: static property 'openCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
55 |
56 |     /// A parser which will succeed on an open curly bracket and fail on any other input token.
57 |     private static let openCurlyBracket = character(isEqualTo: "{")
   |                        |- warning: static property 'openCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'openCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 |     /// A parser which will succeed on a close curly bracket and fail on any other input token.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:60:24: warning: static property 'closeCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
58 |
59 |     /// A parser which will succeed on a close curly bracket and fail on any other input token.
60 |     private static let closeCurlyBracket = character { $0 == "}" }
   |                        |- warning: static property 'closeCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'closeCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 |     /// A parser which will fail on a close curly bracket and succeed on any other input token.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:63:24: warning: static property 'notCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 |     /// A parser which will fail on a close curly bracket and succeed on any other input token.
63 |     private static let notCloseCurlyBracket = character { $0 != "}" }
   |                        |- warning: static property 'notCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'notCloseCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 |     /// A parser which will continue parsing upto but not including the next close curly bracket.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:66:24: warning: static property 'untilCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
64 |
65 |     /// A parser which will continue parsing upto but not including the next close curly bracket.
66 |     private static let untilCloseCurlyBracket: Parser<String> = notCloseCurlyBracket.zeroOneOrMany.map { String($0) }
   |                        |- warning: static property 'untilCloseCurlyBracket' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'untilCloseCurlyBracket' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 |     /// A parser which will parse a comment between and open and close curly bracket, keeping only the comment.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:69:24: warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     /// A parser which will parse a comment between and open and close curly bracket, keeping only the comment.
69 |     private static let comment: Parser<String> = openCurlyBracket *> (untilCloseCurlyBracket <* closeCurlyBracket)
   |                        |- warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'comment' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 |     /// A Parser which will parse a comment with whitespace before it and if the comment exists, keep only the comment.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
/Users/admin/builder/spi-builder-workspace/Sources/PGNParser/DraughtsNotationParser.swift:72:24: warning: static property 'optionalCommentAfterWhitespace' is not concurrency-safe because non-'Sendable' type 'Parser<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 |     /// A Parser which will parse a comment with whitespace before it and if the comment exists, keep only the comment.
72 |     private static let optionalCommentAfterWhitespace: Parser<String?> = whitespace.zeroOneOrMany *> comment.optional
   |                        |- warning: static property 'optionalCommentAfterWhitespace' is not concurrency-safe because non-'Sendable' type 'Parser<String?>' may have shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: add '@MainActor' to make static property 'optionalCommentAfterWhitespace' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 |     /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
16 |
17 |     ///A function that specifices the consuming of zero or more tokens and resolving them into a result.
[19/19] Compiling PGNParser DraughtsMove.swift
Build complete! (5.19s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "currier",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tigerpixel/Currier.git"
    },
    {
      "identity" : "parsercombinator",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tigerpixel/ParserCombinator.git"
    }
  ],
  "manifest_display_name" : "PGNParser",
  "name" : "PGNParser",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "products" : [
    {
      "name" : "PGNParser",
      "targets" : [
        "PGNParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PGNParserTests",
      "module_type" : "SwiftTarget",
      "name" : "PGNParserTests",
      "path" : "Tests/PGNParserTests",
      "sources" : [
        "DraughtsMoveTests.swift"
      ],
      "target_dependencies" : [
        "PGNParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PGNParser",
      "module_type" : "SwiftTarget",
      "name" : "PGNParser",
      "path" : "Sources/PGNParser",
      "product_dependencies" : [
        "Currier",
        "ParserCombinator"
      ],
      "product_memberships" : [
        "PGNParser"
      ],
      "sources" : [
        "DraughtsMove.swift",
        "DraughtsNotationParser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.