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 PGNParser with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 13

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tigerpixel/PGNParser.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tigerpixel/PGNParser
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tigerpixel/PGNParser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/16] Compiling Currier Curry.swift
[6/16] Emitting module Currier
[7/16] Compiling ParserCombinator ParserOperators.swift
[8/16] Compiling ParserCombinator NumberParsers.swift
[9/16] Compiling ParserCombinator Parser+Combinators.swift
[10/16] Compiling ParserCombinator ParseResult.swift
[11/16] Emitting module ParserCombinator
[12/16] Compiling ParserCombinator Character+UnicodeScalar.swift
[13/16] Compiling ParserCombinator StringParsers.swift
[14/16] Compiling ParserCombinator Parser.swift
[15/16] Compiling ParserCombinator Parser+Run.swift
[16/16] Compiling ParserCombinator CharacterParsers.swift
[17/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: annotate 'lowercaseX' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'lowercaseXIsTrue' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'hyphenIsFalse' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'fullStop' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'numberWithPoint' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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/.build/checkouts/ParserCombinator/Sources/ParserCombinator/CharacterParsers.swift:112:12: warning: let 'whitespace' 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
110 |
111 | /// All characters found in CharacterSet.whitespaces will pass, all others will fail.
112 | public let whitespace = character(isInCharacterSet: .whitespaces)
    |            |- warning: let 'whitespace' 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: annotate 'whitespace' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | /// All characters found in CharacterSet.newlines will pass, all others will fail.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: consider making generic struct 'Parser' 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/.build/checkouts/ParserCombinator/Sources/ParserCombinator/CharacterParsers.swift:109:12: warning: let 'digit' 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
107 |
108 | /// All characters found in CharacterSet.decimalDigits will pass, all others will fail.
109 | public let digit = character(isInCharacterSet: .decimalDigits)
    |            |- warning: let 'digit' 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: annotate 'digit' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// All characters found in CharacterSet.whitespaces will pass, all others will fail.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: consider making generic struct 'Parser' 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: annotate 'openCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'closeCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'notCloseCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'untilCloseCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'comment' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'optionalCommentAfterWhitespace' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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] 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: annotate 'lowercaseX' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'lowercaseXIsTrue' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'hyphenIsFalse' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'fullStop' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'numberWithPoint' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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/.build/checkouts/ParserCombinator/Sources/ParserCombinator/CharacterParsers.swift:112:12: warning: let 'whitespace' 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
110 |
111 | /// All characters found in CharacterSet.whitespaces will pass, all others will fail.
112 | public let whitespace = character(isInCharacterSet: .whitespaces)
    |            |- warning: let 'whitespace' 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: annotate 'whitespace' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | /// All characters found in CharacterSet.newlines will pass, all others will fail.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: consider making generic struct 'Parser' 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/.build/checkouts/ParserCombinator/Sources/ParserCombinator/CharacterParsers.swift:109:12: warning: let 'digit' 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
107 |
108 | /// All characters found in CharacterSet.decimalDigits will pass, all others will fail.
109 | public let digit = character(isInCharacterSet: .decimalDigits)
    |            |- warning: let 'digit' 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: annotate 'digit' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// All characters found in CharacterSet.whitespaces will pass, all others will fail.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: consider making generic struct 'Parser' 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: annotate 'openCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'closeCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'notCloseCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'untilCloseCurlyBracket' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'comment' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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: annotate 'optionalCommentAfterWhitespace' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/NumberParsers.swift:10:12: warning: let 'integerNumber' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 8 |
 9 | /// A set of tokens describing an integer number. The number can consist of one or more digits.
10 | public let integerNumber = digit.oneOrMany.map { characterArray -> Int in
   |            |- warning: let 'integerNumber' is not concurrency-safe because non-'Sendable' type 'Parser<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'integerNumber' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 |     Int(String(characterArray)) ?? 0
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserCombinator/Sources/ParserCombinator/Parser.swift:15:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
13 |  */
14 |
15 | public struct Parser<Output> {
   |               `- note: consider making generic struct 'Parser' 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! (18.41s)
Fetching https://github.com/tigerpixel/ParserCombinator.git
Fetching https://github.com/tigerpixel/Currier.git
[1/544] Fetching currier
[23/1036] Fetching currier, parsercombinator
Fetched https://github.com/tigerpixel/ParserCombinator.git from cache (0.78s)
Fetched https://github.com/tigerpixel/Currier.git from cache (0.78s)
Computing version for https://github.com/tigerpixel/ParserCombinator.git
Computed https://github.com/tigerpixel/ParserCombinator.git at 2.1.0 (0.69s)
Computing version for https://github.com/tigerpixel/Currier.git
Computed https://github.com/tigerpixel/Currier.git at 1.3.0 (0.66s)
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
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.