Build Information
Successful build of SwiftParsec with Swift 6.0 for Linux.
Swift 6 data race errors: 13
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/davedufresne/SwiftParsec.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/davedufresne/SwiftParsec
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 00ae75a Release 4.0.1
Cloned https://github.com/davedufresne/SwiftParsec.git
Revision (git rev-parse @):
00ae75a5e9e0fc790056a8b8ebdf2a1833e7117a
SUCCESS checkout https://github.com/davedufresne/SwiftParsec.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/davedufresne/SwiftParsec.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/24] Emitting module SwiftParsec
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:11:13: warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | //==============================================================================
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
| |- warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercaseSet' 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 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:12:13: warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
| |- warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercaseSet' 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
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:13:13: warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
| |- warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaSet' 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
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:14:13: warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
| |- warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaNumericSet' 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
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:15:13: warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
| |- warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbolSet' 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
16 | private let digitSet = CharacterSet.decimalDigits
17 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:16:13: warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
| |- warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digitSet' 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
17 |
18 | //==============================================================================
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/Configuration.swift:24:23: warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// { NSLocalizedString($0, comment: "") }
23 | ///
24 | public static var localizeString: (_ key: String) -> String = { $0 }
| |- warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localizeString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'localizeString' 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 | }
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:347:13: warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
345 | }()
346 |
347 | private let swiftIdentifierStartSet =
| |- warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierStartSet' 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
348 | CharacterSet(charactersIn: swiftIdentifierStartCharacters)
349 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:358:13: warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
356 | (0xFE20...0xFE2F).stringValue
357 |
358 | private let swiftIdentifierLetterSet =
| |- warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierLetterSet' 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
359 | CharacterSet(charactersIn: swiftIdentifierLetterCharacters)
360 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:379:13: warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
377 | (0x3008...0x3030).stringValue
378 |
379 | private let swiftOperatorStartSet =
| |- warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorStartSet' 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
380 | CharacterSet(charactersIn: swiftOperatorStartCharacters)
381 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:391:13: warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
389 | (0xE0100...0xE01EF).stringValue
390 |
391 | private let swiftOperatorLetterSet =
| |- warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorLetterSet' 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
392 | CharacterSet(charactersIn: swiftOperatorLetterCharacters)
393 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:125:16: warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
123 |
124 | /// Source position of the error.
125 | public var position: SourcePosition
| `- warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
126 |
127 | /// Sorted array of error messages.
/host/spi-builder-workspace/Sources/SwiftParsec/Position.swift:16:15: note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
14 | /// is 1, 1. It implements the `Comparable` and `CustomStringConvertible`
15 | /// protocols. The comparison is made using line and column number.
16 | public struct SourcePosition: Comparable, CustomStringConvertible {
| `- note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
17 |
18 | /// The name of the source (i.e. file name)
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:137:17: warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
17 | ///
18 | /// The `Comparable` protocol is implemented based on the index of a message.
19 | public enum Message: Comparable {
| `- note: consider making enum 'Message' conform to the 'Sendable' protocol
20 |
21 | /// A `SystemUnexpected` message is automatically generated by the
:
135 |
136 | // Backing store for `messages`.
137 | private var _messages = [Message]()
| `- warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
138 |
139 | /// A textual representation of `self`.
/host/spi-builder-workspace/Sources/SwiftParsec/Parsec.swift:400:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
398 | where ArrayLiteralElement == Element {}
399 |
400 | extension String: Stream {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
401 |
402 | /// Create an instance containing `elements`.
[4/27] Compiling SwiftParsec CharacterConversion.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:11:13: warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | //==============================================================================
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
| |- warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercaseSet' 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 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:12:13: warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
| |- warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercaseSet' 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
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:13:13: warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
| |- warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaSet' 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
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:14:13: warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
| |- warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaNumericSet' 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
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:15:13: warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
| |- warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbolSet' 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
16 | private let digitSet = CharacterSet.decimalDigits
17 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:16:13: warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
| |- warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digitSet' 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
17 |
18 | //==============================================================================
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
[5/27] Compiling SwiftParsec CharacterMembership.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:11:13: warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | //==============================================================================
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
| |- warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercaseSet' 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 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:12:13: warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
| |- warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercaseSet' 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
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:13:13: warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
| |- warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaSet' 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
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:14:13: warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
| |- warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaNumericSet' 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
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:15:13: warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
| |- warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbolSet' 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
16 | private let digitSet = CharacterSet.decimalDigits
17 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:16:13: warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
| |- warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digitSet' 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
17 |
18 | //==============================================================================
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
[6/27] Compiling SwiftParsec CharacterParsers.swift
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:11:13: warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
9 | //==============================================================================
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
| |- warning: let 'uppercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercaseSet' 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 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:12:13: warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
| |- warning: let 'lowercaseSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercaseSet' 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
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:13:13: warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
11 | private let uppercaseSet = CharacterSet.uppercaseLetters
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
| |- warning: let 'alphaSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaSet' 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
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:14:13: warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let lowercaseSet = CharacterSet.lowercaseLetters
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
| |- warning: let 'alphaNumericSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alphaNumericSet' 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
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:15:13: warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
13 | private let alphaSet = CharacterSet.letters
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
| |- warning: let 'symbolSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'symbolSet' 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
16 | private let digitSet = CharacterSet.decimalDigits
17 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterMembership.swift:16:13: warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let alphaNumericSet = CharacterSet.alphanumerics
15 | private let symbolSet = CharacterSet.symbols
16 | private let digitSet = CharacterSet.decimalDigits
| |- warning: let 'digitSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digitSet' 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
17 |
18 | //==============================================================================
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
[7/27] Compiling SwiftParsec ParseError.swift
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:125:16: warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
123 |
124 | /// Source position of the error.
125 | public var position: SourcePosition
| `- warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
126 |
127 | /// Sorted array of error messages.
/host/spi-builder-workspace/Sources/SwiftParsec/Position.swift:16:15: note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
14 | /// is 1, 1. It implements the `Comparable` and `CustomStringConvertible`
15 | /// protocols. The comparison is made using line and column number.
16 | public struct SourcePosition: Comparable, CustomStringConvertible {
| `- note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
17 |
18 | /// The name of the source (i.e. file name)
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:137:17: warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
17 | ///
18 | /// The `Comparable` protocol is implemented based on the index of a message.
19 | public enum Message: Comparable {
| `- note: consider making enum 'Message' conform to the 'Sendable' protocol
20 |
21 | /// A `SystemUnexpected` message is automatically generated by the
:
135 |
136 | // Backing store for `messages`.
137 | private var _messages = [Message]()
| `- warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
138 |
139 | /// A textual representation of `self`.
/host/spi-builder-workspace/Sources/SwiftParsec/Parsec.swift:400:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
398 | where ArrayLiteralElement == Element {}
399 |
400 | extension String: Stream {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
401 |
402 | /// Create an instance containing `elements`.
[8/27] Compiling SwiftParsec Parsec.swift
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:125:16: warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
123 |
124 | /// Source position of the error.
125 | public var position: SourcePosition
| `- warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
126 |
127 | /// Sorted array of error messages.
/host/spi-builder-workspace/Sources/SwiftParsec/Position.swift:16:15: note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
14 | /// is 1, 1. It implements the `Comparable` and `CustomStringConvertible`
15 | /// protocols. The comparison is made using line and column number.
16 | public struct SourcePosition: Comparable, CustomStringConvertible {
| `- note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
17 |
18 | /// The name of the source (i.e. file name)
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:137:17: warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
17 | ///
18 | /// The `Comparable` protocol is implemented based on the index of a message.
19 | public enum Message: Comparable {
| `- note: consider making enum 'Message' conform to the 'Sendable' protocol
20 |
21 | /// A `SystemUnexpected` message is automatically generated by the
:
135 |
136 | // Backing store for `messages`.
137 | private var _messages = [Message]()
| `- warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
138 |
139 | /// A textual representation of `self`.
/host/spi-builder-workspace/Sources/SwiftParsec/Parsec.swift:400:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
398 | where ArrayLiteralElement == Element {}
399 |
400 | extension String: Stream {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
401 |
402 | /// Create an instance containing `elements`.
[9/27] Compiling SwiftParsec Permutation.swift
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:125:16: warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
123 |
124 | /// Source position of the error.
125 | public var position: SourcePosition
| `- warning: stored property 'position' of 'Sendable'-conforming struct 'ParseError' has non-sendable type 'SourcePosition'; this is an error in the Swift 6 language mode
126 |
127 | /// Sorted array of error messages.
/host/spi-builder-workspace/Sources/SwiftParsec/Position.swift:16:15: note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
14 | /// is 1, 1. It implements the `Comparable` and `CustomStringConvertible`
15 | /// protocols. The comparison is made using line and column number.
16 | public struct SourcePosition: Comparable, CustomStringConvertible {
| `- note: consider making struct 'SourcePosition' conform to the 'Sendable' protocol
17 |
18 | /// The name of the source (i.e. file name)
/host/spi-builder-workspace/Sources/SwiftParsec/ParseError.swift:137:17: warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
17 | ///
18 | /// The `Comparable` protocol is implemented based on the index of a message.
19 | public enum Message: Comparable {
| `- note: consider making enum 'Message' conform to the 'Sendable' protocol
20 |
21 | /// A `SystemUnexpected` message is automatically generated by the
:
135 |
136 | // Backing store for `messages`.
137 | private var _messages = [Message]()
| `- warning: stored property '_messages' of 'Sendable'-conforming struct 'ParseError' has non-sendable type '[Message]'; this is an error in the Swift 6 language mode
138 |
139 | /// A textual representation of `self`.
/host/spi-builder-workspace/Sources/SwiftParsec/Parsec.swift:400:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
398 | where ArrayLiteralElement == Element {}
399 |
400 | extension String: Stream {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
401 |
402 | /// Create an instance containing `elements`.
[10/27] Compiling SwiftParsec Position.swift
[11/27] Compiling SwiftParsec RangeReplaceableCollectionInsertion.swift
[12/27] Compiling SwiftParsec SequenceAggregation.swift
[13/27] Compiling SwiftParsec GenericParser.swift
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:347:13: warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
345 | }()
346 |
347 | private let swiftIdentifierStartSet =
| |- warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierStartSet' 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
348 | CharacterSet(charactersIn: swiftIdentifierStartCharacters)
349 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:358:13: warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
356 | (0xFE20...0xFE2F).stringValue
357 |
358 | private let swiftIdentifierLetterSet =
| |- warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierLetterSet' 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
359 | CharacterSet(charactersIn: swiftIdentifierLetterCharacters)
360 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:379:13: warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
377 | (0x3008...0x3030).stringValue
378 |
379 | private let swiftOperatorStartSet =
| |- warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorStartSet' 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
380 | CharacterSet(charactersIn: swiftOperatorStartCharacters)
381 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:391:13: warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
389 | (0xE0100...0xE01EF).stringValue
390 |
391 | private let swiftOperatorLetterSet =
| |- warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorLetterSet' 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
392 | CharacterSet(charactersIn: swiftOperatorLetterCharacters)
393 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
[14/27] Compiling SwiftParsec GenericTokenParser.swift
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:347:13: warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
345 | }()
346 |
347 | private let swiftIdentifierStartSet =
| |- warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierStartSet' 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
348 | CharacterSet(charactersIn: swiftIdentifierStartCharacters)
349 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:358:13: warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
356 | (0xFE20...0xFE2F).stringValue
357 |
358 | private let swiftIdentifierLetterSet =
| |- warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierLetterSet' 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
359 | CharacterSet(charactersIn: swiftIdentifierLetterCharacters)
360 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:379:13: warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
377 | (0x3008...0x3030).stringValue
378 |
379 | private let swiftOperatorStartSet =
| |- warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorStartSet' 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
380 | CharacterSet(charactersIn: swiftOperatorStartCharacters)
381 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:391:13: warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
389 | (0xE0100...0xE01EF).stringValue
390 |
391 | private let swiftOperatorLetterSet =
| |- warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorLetterSet' 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
392 | CharacterSet(charactersIn: swiftOperatorLetterCharacters)
393 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
[15/27] Compiling SwiftParsec LanguageDefinition.swift
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:347:13: warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
345 | }()
346 |
347 | private let swiftIdentifierStartSet =
| |- warning: let 'swiftIdentifierStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierStartSet' 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
348 | CharacterSet(charactersIn: swiftIdentifierStartCharacters)
349 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:358:13: warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
356 | (0xFE20...0xFE2F).stringValue
357 |
358 | private let swiftIdentifierLetterSet =
| |- warning: let 'swiftIdentifierLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftIdentifierLetterSet' 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
359 | CharacterSet(charactersIn: swiftIdentifierLetterCharacters)
360 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:379:13: warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
377 | (0x3008...0x3030).stringValue
378 |
379 | private let swiftOperatorStartSet =
| |- warning: let 'swiftOperatorStartSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorStartSet' 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
380 | CharacterSet(charactersIn: swiftOperatorStartCharacters)
381 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
/host/spi-builder-workspace/Sources/SwiftParsec/LanguageDefinition.swift:391:13: warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
389 | (0xE0100...0xE01EF).stringValue
390 |
391 | private let swiftOperatorLetterSet =
| |- warning: let 'swiftOperatorLetterSet' is not concurrency-safe because non-'Sendable' type 'CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swiftOperatorLetterSet' 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
392 | CharacterSet(charactersIn: swiftOperatorLetterCharacters)
393 |
/host/spi-builder-workspace/Sources/SwiftParsec/CharacterSet.swift:21:15: note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
19 | /// The `CharacterSet` is a thin wrapper around `Foundation.CharacterSet`. It
20 | /// helps us avoid bugs in open-source version.
21 | public struct CharacterSet {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
22 |
23 | /// Indicates whether the set contains the given unicode character.
[16/27] Compiling SwiftParsec SequenceConversion.swift
[17/27] Compiling SwiftParsec SetAggregation.swift
[18/27] Compiling SwiftParsec String.swift
[19/27] Compiling SwiftParsec Configuration.swift
/host/spi-builder-workspace/Sources/SwiftParsec/Configuration.swift:24:23: warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// { NSLocalizedString($0, comment: "") }
23 | ///
24 | public static var localizeString: (_ key: String) -> String = { $0 }
| |- warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localizeString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'localizeString' 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 | }
[20/27] Compiling SwiftParsec Either.swift
/host/spi-builder-workspace/Sources/SwiftParsec/Configuration.swift:24:23: warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// { NSLocalizedString($0, comment: "") }
23 | ///
24 | public static var localizeString: (_ key: String) -> String = { $0 }
| |- warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localizeString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'localizeString' 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 | }
[21/27] Compiling SwiftParsec ExpressionParser.swift
/host/spi-builder-workspace/Sources/SwiftParsec/Configuration.swift:24:23: warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 | /// { NSLocalizedString($0, comment: "") }
23 | ///
24 | public static var localizeString: (_ key: String) -> String = { $0 }
| |- warning: static property 'localizeString' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'localizeString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'localizeString' 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 | }
[22/27] Compiling SwiftParsec TokenParser.swift
[23/27] Compiling SwiftParsec UInt16.swift
[24/27] Compiling SwiftParsec UnicodeScalar.swift
[25/27] Compiling SwiftParsec CharacterSet.swift
[26/27] Compiling SwiftParsec CollectionAggregation.swift
[27/27] Compiling SwiftParsec CombinatorParsers.swift
Build complete! (13.32s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftParsec",
"name" : "SwiftParsec",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftParsec",
"targets" : [
"SwiftParsec"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftParsec",
"module_type" : "SwiftTarget",
"name" : "SwiftParsec",
"path" : "Sources/SwiftParsec",
"product_memberships" : [
"SwiftParsec"
],
"sources" : [
"CharacterConversion.swift",
"CharacterMembership.swift",
"CharacterParsers.swift",
"CharacterSet.swift",
"CollectionAggregation.swift",
"CombinatorParsers.swift",
"Configuration.swift",
"Either.swift",
"ExpressionParser.swift",
"GenericParser.swift",
"GenericTokenParser.swift",
"LanguageDefinition.swift",
"ParseError.swift",
"Parsec.swift",
"Permutation.swift",
"Position.swift",
"RangeReplaceableCollectionInsertion.swift",
"SequenceAggregation.swift",
"SequenceConversion.swift",
"SetAggregation.swift",
"String.swift",
"TokenParser.swift",
"UInt16.swift",
"UnicodeScalar.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.