Build Information
Successful build of ParserCombinator, reference master (b15def
), with Swift 6.0 for Linux on 1 Nov 2024 00:10:52 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tigerpixel/ParserCombinator.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/ParserCombinator
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b15defb Merge pull request #15 from tigerpixel/development
Cloned https://github.com/tigerpixel/ParserCombinator.git
Revision (git rev-parse @):
b15defbd430ebdc15266e2e8aff558de75837a36
SUCCESS checkout https://github.com/tigerpixel/ParserCombinator.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/tigerpixel/ParserCombinator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling ParserCombinator ParserOperators.swift
[4/12] Compiling ParserCombinator Parser+Combinators.swift
[5/12] Compiling ParserCombinator NumberParsers.swift
/host/spi-builder-workspace/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/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/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/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.
[6/12] Compiling ParserCombinator Parser+Run.swift
[7/12] Compiling ParserCombinator Parser.swift
[8/12] Compiling ParserCombinator ParseResult.swift
[9/12] Emitting module ParserCombinator
/host/spi-builder-workspace/Sources/ParserCombinator/CharacterParsers.swift:94:12: warning: let 'anyCharacter' 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
92 |
93 | /// All characters will return a successful result.
94 | public let anyCharacter = character { _ in true}
| |- warning: let 'anyCharacter' 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 'anyCharacter' 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
95 |
96 | /// All characters found in CharacterSet.letters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:97:12: warning: let 'letter' 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
95 |
96 | /// All characters found in CharacterSet.letters will pass, all others will fail.
97 | public let letter = character(isInCharacterSet: .letters)
| |- warning: let 'letter' 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 'letter' 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
98 |
99 | /// All characters found in CharacterSet.lowercaseLetters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:100:12: warning: let 'lowercaseLetter' 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
98 |
99 | /// All characters found in CharacterSet.lowercaseLetters will pass, all others will fail.
100 | public let lowercaseLetter = character(isInCharacterSet: .lowercaseLetters)
| |- warning: let 'lowercaseLetter' 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 'lowercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:103:12: warning: let 'uppercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
103 | public let uppercaseLetter = character(isInCharacterSet: .uppercaseLetters)
| |- warning: let 'uppercaseLetter' 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 'uppercaseLetter' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:106:12: warning: let 'alphanumeric' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
106 | public let alphanumeric = character(isInCharacterSet: .alphanumerics)
| |- warning: let 'alphanumeric' 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 'alphanumeric' 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
107 |
108 | /// All characters found in CharacterSet.decimalDigits will pass, all others will fail.
/host/spi-builder-workspace/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/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/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/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/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/ParserCombinator/CharacterParsers.swift:115:12: warning: let 'newline' 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
113 |
114 | /// All characters found in CharacterSet.newlines will pass, all others will fail.
115 | public let newline = character(isInCharacterSet: .newlines)
| |- warning: let 'newline' 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 'newline' 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
116 |
117 | /// All characters found in CharacterSet.whitespacesAndNewlines will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:118:12: warning: let 'whitespaceOrNewline' 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
116 |
117 | /// All characters found in CharacterSet.whitespacesAndNewlines will pass, all others will fail.
118 | public let whitespaceOrNewline = character(isInCharacterSet: .whitespacesAndNewlines)
| |- warning: let 'whitespaceOrNewline' 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 'whitespaceOrNewline' 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
119 |
120 | // MARK: Pre-made pasers using the character parser function for single everyday characters.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:123:12: warning: let 'comma' 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
121 |
122 | /// Only the comma character will pass, all others will fail.
123 | public let comma = character(isEqualTo: ",")
| |- warning: let 'comma' 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 'comma' 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
124 |
125 | /// Only the full-stop character will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:126:12: warning: let '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
124 |
125 | /// Only the full-stop character will pass, all others will fail.
126 | public let fullstop = character(isEqualTo: ".")
| |- warning: let '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
127 |
/host/spi-builder-workspace/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/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/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.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ParserCombinator/StringParsers.swift:11:12: warning: let 'toString' is not concurrency-safe because non-'Sendable' type '([Character]) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// A mapping function to convert an array of characters to a string.
11 | public let toString: ([Character]) -> String = { characters in String(characters) }
| |- warning: let 'toString' is not concurrency-safe because non-'Sendable' type '([Character]) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toString' 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
12 |
13 | /**
/host/spi-builder-workspace/Sources/ParserCombinator/StringParsers.swift:18:12: warning: let 'uppercaseString' 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
16 |
17 | /// Only strings comprised exclusively of characters in CharacterSet.uppercaseLetters will pass.
18 | public let uppercaseString = uppercaseLetter.oneOrMany.map(toString)
| |- warning: let 'uppercaseString' 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 'uppercaseString' 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
19 |
20 | /// Only strings comprised exclusively of characters in CharacterSet.lowercaseLetters will pass.
/host/spi-builder-workspace/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/ParserCombinator/StringParsers.swift:21:12: warning: let 'lowercaseString' 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
19 |
20 | /// Only strings comprised exclusively of characters in CharacterSet.lowercaseLetters will pass.
21 | public let lowercaseString = lowercaseLetter.oneOrMany.map(toString)
| |- warning: let 'lowercaseString' 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 'lowercaseString' 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
22 |
23 | /// Only strings comprised exclusively of characters in CharacterSet.alphanumerics will pass.
/host/spi-builder-workspace/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/ParserCombinator/StringParsers.swift:24:12: warning: let 'alphanumericString' 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
22 |
23 | /// Only strings comprised exclusively of characters in CharacterSet.alphanumerics will pass.
24 | public let alphanumericString = alphanumeric.oneOrMany.map(toString)
| |- warning: let 'alphanumericString' 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 'alphanumericString' 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
25 |
26 | /// Only strings comprised exclusively of characters in the given characer set will pass.
/host/spi-builder-workspace/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.
[10/12] Compiling ParserCombinator Character+UnicodeScalar.swift
/host/spi-builder-workspace/Sources/ParserCombinator/CharacterParsers.swift:94:12: warning: let 'anyCharacter' 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
92 |
93 | /// All characters will return a successful result.
94 | public let anyCharacter = character { _ in true}
| |- warning: let 'anyCharacter' 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 'anyCharacter' 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
95 |
96 | /// All characters found in CharacterSet.letters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:97:12: warning: let 'letter' 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
95 |
96 | /// All characters found in CharacterSet.letters will pass, all others will fail.
97 | public let letter = character(isInCharacterSet: .letters)
| |- warning: let 'letter' 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 'letter' 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
98 |
99 | /// All characters found in CharacterSet.lowercaseLetters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:100:12: warning: let 'lowercaseLetter' 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
98 |
99 | /// All characters found in CharacterSet.lowercaseLetters will pass, all others will fail.
100 | public let lowercaseLetter = character(isInCharacterSet: .lowercaseLetters)
| |- warning: let 'lowercaseLetter' 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 'lowercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:103:12: warning: let 'uppercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
103 | public let uppercaseLetter = character(isInCharacterSet: .uppercaseLetters)
| |- warning: let 'uppercaseLetter' 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 'uppercaseLetter' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:106:12: warning: let 'alphanumeric' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
106 | public let alphanumeric = character(isInCharacterSet: .alphanumerics)
| |- warning: let 'alphanumeric' 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 'alphanumeric' 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
107 |
108 | /// All characters found in CharacterSet.decimalDigits will pass, all others will fail.
/host/spi-builder-workspace/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/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/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/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/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/ParserCombinator/CharacterParsers.swift:115:12: warning: let 'newline' 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
113 |
114 | /// All characters found in CharacterSet.newlines will pass, all others will fail.
115 | public let newline = character(isInCharacterSet: .newlines)
| |- warning: let 'newline' 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 'newline' 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
116 |
117 | /// All characters found in CharacterSet.whitespacesAndNewlines will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:118:12: warning: let 'whitespaceOrNewline' 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
116 |
117 | /// All characters found in CharacterSet.whitespacesAndNewlines will pass, all others will fail.
118 | public let whitespaceOrNewline = character(isInCharacterSet: .whitespacesAndNewlines)
| |- warning: let 'whitespaceOrNewline' 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 'whitespaceOrNewline' 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
119 |
120 | // MARK: Pre-made pasers using the character parser function for single everyday characters.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:123:12: warning: let 'comma' 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
121 |
122 | /// Only the comma character will pass, all others will fail.
123 | public let comma = character(isEqualTo: ",")
| |- warning: let 'comma' 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 'comma' 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
124 |
125 | /// Only the full-stop character will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:126:12: warning: let '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
124 |
125 | /// Only the full-stop character will pass, all others will fail.
126 | public let fullstop = character(isEqualTo: ".")
| |- warning: let '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
127 |
/host/spi-builder-workspace/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.
[11/12] Compiling ParserCombinator CharacterParsers.swift
/host/spi-builder-workspace/Sources/ParserCombinator/CharacterParsers.swift:94:12: warning: let 'anyCharacter' 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
92 |
93 | /// All characters will return a successful result.
94 | public let anyCharacter = character { _ in true}
| |- warning: let 'anyCharacter' 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 'anyCharacter' 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
95 |
96 | /// All characters found in CharacterSet.letters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:97:12: warning: let 'letter' 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
95 |
96 | /// All characters found in CharacterSet.letters will pass, all others will fail.
97 | public let letter = character(isInCharacterSet: .letters)
| |- warning: let 'letter' 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 'letter' 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
98 |
99 | /// All characters found in CharacterSet.lowercaseLetters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:100:12: warning: let 'lowercaseLetter' 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
98 |
99 | /// All characters found in CharacterSet.lowercaseLetters will pass, all others will fail.
100 | public let lowercaseLetter = character(isInCharacterSet: .lowercaseLetters)
| |- warning: let 'lowercaseLetter' 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 'lowercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:103:12: warning: let 'uppercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
103 | public let uppercaseLetter = character(isInCharacterSet: .uppercaseLetters)
| |- warning: let 'uppercaseLetter' 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 'uppercaseLetter' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:106:12: warning: let 'alphanumeric' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
106 | public let alphanumeric = character(isInCharacterSet: .alphanumerics)
| |- warning: let 'alphanumeric' 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 'alphanumeric' 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
107 |
108 | /// All characters found in CharacterSet.decimalDigits will pass, all others will fail.
/host/spi-builder-workspace/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/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/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/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/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/ParserCombinator/CharacterParsers.swift:115:12: warning: let 'newline' 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
113 |
114 | /// All characters found in CharacterSet.newlines will pass, all others will fail.
115 | public let newline = character(isInCharacterSet: .newlines)
| |- warning: let 'newline' 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 'newline' 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
116 |
117 | /// All characters found in CharacterSet.whitespacesAndNewlines will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:118:12: warning: let 'whitespaceOrNewline' 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
116 |
117 | /// All characters found in CharacterSet.whitespacesAndNewlines will pass, all others will fail.
118 | public let whitespaceOrNewline = character(isInCharacterSet: .whitespacesAndNewlines)
| |- warning: let 'whitespaceOrNewline' 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 'whitespaceOrNewline' 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
119 |
120 | // MARK: Pre-made pasers using the character parser function for single everyday characters.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:123:12: warning: let 'comma' 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
121 |
122 | /// Only the comma character will pass, all others will fail.
123 | public let comma = character(isEqualTo: ",")
| |- warning: let 'comma' 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 'comma' 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
124 |
125 | /// Only the full-stop character will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:126:12: warning: let '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
124 |
125 | /// Only the full-stop character will pass, all others will fail.
126 | public let fullstop = character(isEqualTo: ".")
| |- warning: let '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
127 |
/host/spi-builder-workspace/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.
[12/12] Compiling ParserCombinator StringParsers.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/ParserCombinator/StringParsers.swift:11:12: warning: let 'toString' is not concurrency-safe because non-'Sendable' type '([Character]) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | /// A mapping function to convert an array of characters to a string.
11 | public let toString: ([Character]) -> String = { characters in String(characters) }
| |- warning: let 'toString' is not concurrency-safe because non-'Sendable' type '([Character]) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'toString' 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
12 |
13 | /**
/host/spi-builder-workspace/Sources/ParserCombinator/StringParsers.swift:18:12: warning: let 'uppercaseString' 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
16 |
17 | /// Only strings comprised exclusively of characters in CharacterSet.uppercaseLetters will pass.
18 | public let uppercaseString = uppercaseLetter.oneOrMany.map(toString)
| |- warning: let 'uppercaseString' 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 'uppercaseString' 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
19 |
20 | /// Only strings comprised exclusively of characters in CharacterSet.lowercaseLetters will pass.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:103:12: warning: let 'uppercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
103 | public let uppercaseLetter = character(isInCharacterSet: .uppercaseLetters)
| |- warning: let 'uppercaseLetter' 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 'uppercaseLetter' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/StringParsers.swift:21:12: warning: let 'lowercaseString' 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
19 |
20 | /// Only strings comprised exclusively of characters in CharacterSet.lowercaseLetters will pass.
21 | public let lowercaseString = lowercaseLetter.oneOrMany.map(toString)
| |- warning: let 'lowercaseString' 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 'lowercaseString' 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
22 |
23 | /// Only strings comprised exclusively of characters in CharacterSet.alphanumerics will pass.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:100:12: warning: let 'lowercaseLetter' 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
98 |
99 | /// All characters found in CharacterSet.lowercaseLetters will pass, all others will fail.
100 | public let lowercaseLetter = character(isInCharacterSet: .lowercaseLetters)
| |- warning: let 'lowercaseLetter' 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 'lowercaseLetter' 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
101 |
102 | /// All characters found in CharacterSet.uppercaseLetters will pass, all others will fail.
/host/spi-builder-workspace/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/ParserCombinator/StringParsers.swift:24:12: warning: let 'alphanumericString' 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
22 |
23 | /// Only strings comprised exclusively of characters in CharacterSet.alphanumerics will pass.
24 | public let alphanumericString = alphanumeric.oneOrMany.map(toString)
| |- warning: let 'alphanumericString' 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 'alphanumericString' 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
25 |
26 | /// Only strings comprised exclusively of characters in the given characer set will pass.
/host/spi-builder-workspace/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/ParserCombinator/CharacterParsers.swift:106:12: warning: let 'alphanumeric' 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
104 |
105 | /// All characters found in CharacterSet.alphanumerics will pass, all others will fail.
106 | public let alphanumeric = character(isInCharacterSet: .alphanumerics)
| |- warning: let 'alphanumeric' 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 'alphanumeric' 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
107 |
108 | /// All characters found in CharacterSet.decimalDigits will pass, all others will fail.
/host/spi-builder-workspace/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! (13.02s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ParserCombinator",
"name" : "ParserCombinator",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
}
],
"products" : [
{
"name" : "ParserCombinator",
"targets" : [
"ParserCombinator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ParserCombinatorTests",
"module_type" : "SwiftTarget",
"name" : "ParserCombinatorTests",
"path" : "Tests/ParserCombinatorTests",
"sources" : [
"Character+UnicodeScalarTests.swift",
"CharacterParserTests+PremadeParsers.swift",
"CharacterParserTests+SpecialCharacters.swift",
"CharacterParserTests.swift",
"NumberParserTests.swift",
"ParseResultTests.swift",
"Parser+CombinatorTests.swift",
"Parser+RunTests.swift",
"ParserOperatorTests+Combinations.swift",
"ParserOperatorTests.swift",
"ParserTestHelper.swift",
"ParserTests.swift",
"StringParserTests.swift"
],
"target_dependencies" : [
"ParserCombinator"
],
"type" : "test"
},
{
"c99name" : "ParserCombinator",
"module_type" : "SwiftTarget",
"name" : "ParserCombinator",
"path" : "Sources/ParserCombinator",
"product_memberships" : [
"ParserCombinator"
],
"sources" : [
"Character+UnicodeScalar.swift",
"CharacterParsers.swift",
"NumberParsers.swift",
"ParseResult.swift",
"Parser+Combinators.swift",
"Parser+Run.swift",
"Parser.swift",
"ParserOperators.swift",
"StringParsers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.