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 Linux.

Swift 6 data race errors: 13

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tigerpixel/PGNParser.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/tigerpixel/PGNParser.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/tigerpixel/ParserCombinator.git
Fetching https://github.com/tigerpixel/Currier.git
[1/492] Fetching parsercombinator
[356/1036] Fetching parsercombinator, currier
Fetched https://github.com/tigerpixel/ParserCombinator.git from cache (0.22s)
Fetched https://github.com/tigerpixel/Currier.git from cache (0.22s)
Computing version for https://github.com/tigerpixel/ParserCombinator.git
Computed https://github.com/tigerpixel/ParserCombinator.git at 2.1.0 (0.42s)
Computing version for https://github.com/tigerpixel/Currier.git
Computed https://github.com/tigerpixel/Currier.git at 1.3.0 (0.43s)
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling Currier Curry.swift
[6/15] Emitting module Currier
[8/16] Compiling ParserCombinator ParserOperators.swift
[9/16] Compiling ParserCombinator Parser.swift
[10/17] Compiling ParserCombinator Parser+Combinators.swift
[11/17] Compiling ParserCombinator Parser+Run.swift
[12/17] Compiling ParserCombinator NumberParsers.swift
[13/17] Compiling ParserCombinator ParseResult.swift
[14/17] Emitting module ParserCombinator
[15/17] Compiling ParserCombinator Character+UnicodeScalar.swift
[16/17] Compiling ParserCombinator CharacterParsers.swift
[17/17] Compiling ParserCombinator StringParsers.swift
[19/21] Compiling PGNParser DraughtsMove.swift
[20/21] Emitting module PGNParser
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |     /**
/host/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.
[21/21] Compiling PGNParser DraughtsNotationParser.swift
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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 |     /**
/host/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.
/host/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
/host/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.
Build complete! (11.72s)
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" : "/host/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.