Build Information
Successful build of ParserCombinators, reference 0.5.5 (672588
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 01:17:37 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/turbolent/parsercombinators.git
Reference: 0.5.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/turbolent/parsercombinators
* tag 0.5.5 -> FETCH_HEAD
HEAD is now at 6725887 also make reader members open
Cloned https://github.com/turbolent/parsercombinators.git
Revision (git rev-parse @):
672588767167a58dc43ceb9bb8e56a497798b16e
SUCCESS checkout https://github.com/turbolent/parsercombinators.git at 0.5.5
Fetching https://github.com/turbolent/Trampoline.git
Fetching https://github.com/turbolent/ParserDescription.git
Fetching https://github.com/turbolent/DiffedAssertEqual.git
[1/67] Fetching trampoline
[68/130] Fetching trampoline, diffedassertequal
[103/226] Fetching trampoline, diffedassertequal, parserdescription
Fetched https://github.com/turbolent/Trampoline.git from cache (0.70s)
Fetched https://github.com/turbolent/DiffedAssertEqual.git from cache (0.70s)
Fetched https://github.com/turbolent/ParserDescription.git from cache (0.70s)
Computing version for https://github.com/turbolent/ParserDescription.git
Computed https://github.com/turbolent/ParserDescription.git at 0.6.0 (0.66s)
Computing version for https://github.com/turbolent/Trampoline.git
Computed https://github.com/turbolent/Trampoline.git at 0.4.1 (0.62s)
Computing version for https://github.com/turbolent/DiffedAssertEqual.git
Computed https://github.com/turbolent/DiffedAssertEqual.git at 0.3.0 (0.62s)
Creating working copy for https://github.com/turbolent/ParserDescription.git
Working copy of https://github.com/turbolent/ParserDescription.git resolved at 0.6.0
Creating working copy for https://github.com/turbolent/DiffedAssertEqual.git
Working copy of https://github.com/turbolent/DiffedAssertEqual.git resolved at 0.3.0
Creating working copy for https://github.com/turbolent/Trampoline.git
Working copy of https://github.com/turbolent/Trampoline.git resolved at 0.4.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "parsercombinators",
"name": "ParserCombinators",
"url": "https://github.com/turbolent/parsercombinators.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/parsercombinators",
"dependencies": [
{
"identity": "trampoline",
"name": "Trampoline",
"url": "https://github.com/turbolent/Trampoline.git",
"version": "0.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Trampoline",
"dependencies": [
]
},
{
"identity": "diffedassertequal",
"name": "DiffedAssertEqual",
"url": "https://github.com/turbolent/DiffedAssertEqual.git",
"version": "0.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DiffedAssertEqual",
"dependencies": [
]
},
{
"identity": "parserdescription",
"name": "ParserDescription",
"url": "https://github.com/turbolent/ParserDescription.git",
"version": "0.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ParserDescription",
"dependencies": [
{
"identity": "diffedassertequal",
"name": "DiffedAssertEqual",
"url": "https://github.com/turbolent/DiffedAssertEqual.git",
"version": "0.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DiffedAssertEqual",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/turbolent/parsercombinators.git
[1/960] Fetching parsercombinators
Fetched https://github.com/turbolent/parsercombinators.git from cache (0.77s)
Fetching https://github.com/turbolent/ParserDescription.git from cache
Fetching https://github.com/turbolent/Trampoline.git from cache
Fetching https://github.com/turbolent/DiffedAssertEqual.git from cache
Fetched https://github.com/turbolent/DiffedAssertEqual.git from cache (0.49s)
Fetched https://github.com/turbolent/Trampoline.git from cache (0.49s)
Fetched https://github.com/turbolent/ParserDescription.git from cache (0.50s)
Computing version for https://github.com/turbolent/ParserDescription.git
Computed https://github.com/turbolent/ParserDescription.git at 0.6.0 (0.02s)
Computing version for https://github.com/turbolent/Trampoline.git
Computed https://github.com/turbolent/Trampoline.git at 0.4.1 (0.02s)
Computing version for https://github.com/turbolent/DiffedAssertEqual.git
Computed https://github.com/turbolent/DiffedAssertEqual.git at 0.3.0 (0.02s)
Creating working copy for https://github.com/turbolent/DiffedAssertEqual.git
Working copy of https://github.com/turbolent/DiffedAssertEqual.git resolved at 0.3.0
Creating working copy for https://github.com/turbolent/ParserDescription.git
Working copy of https://github.com/turbolent/ParserDescription.git resolved at 0.6.0
Creating working copy for https://github.com/turbolent/parsercombinators.git
Working copy of https://github.com/turbolent/parsercombinators.git resolved at 0.5.5 (6725887)
Creating working copy for https://github.com/turbolent/Trampoline.git
Working copy of https://github.com/turbolent/Trampoline.git resolved at 0.4.1
warning: '.resolve-product-dependencies': dependency 'parsercombinators' is not used by any target
Found 3 product dependencies
- Trampoline
- DiffedAssertEqual
- ParserDescription
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/turbolent/parsercombinators.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/13] Compiling Trampoline Either.swift
[7/13] Emitting module Trampoline
[8/13] Compiling Trampoline Trampoline.swift
[9/13] Compiling ParserDescription Token.swift
[10/13] Compiling ParserDescription Operation.swift
[11/13] Emitting module ParserDescription
[12/13] Compiling ParserDescription Pattern.swift
[13/13] Compiling ParserDescription Condition.swift
[14/36] Compiling ParserCombinators End.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
[15/36] Compiling ParserCombinators FollowedBy.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
[16/36] Compiling ParserCombinators Lazy.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
[17/38] Compiling ParserCombinators Seq.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
[18/38] Compiling ParserCombinators Sequenceable.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
[19/38] Compiling ParserCombinators Recursive.swift
[20/38] Compiling ParserCombinators Rep.swift
[21/38] Compiling ParserCombinators CollectionReader.swift
[22/38] Compiling ParserCombinators Commit.swift
[23/38] Compiling ParserCombinators Either.swift
[24/38] Compiling ParserCombinators Or.swift
[25/38] Compiling ParserCombinators PackratReader.swift
[26/38] Compiling ParserCombinators Map.swift
[27/38] Compiling ParserCombinators NotFollowedBy.swift
[28/38] Compiling ParserCombinators Opt.swift
[29/38] Compiling ParserCombinators ParseResult.swift
[30/38] Compiling ParserCombinators Parser.swift
[31/38] Compiling ParserCombinators Patterns.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:7:16: warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
5 |
6 | public struct UnsupportedPatternError: Error {
7 | public let pattern: _Pattern
| `- warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserDescription/Sources/ParserDescription/Pattern.swift:10:17: note: protocol '_Pattern' does not conform to the 'Sendable' protocol
8 | }
9 |
10 | public protocol _Pattern: Codable {
| `- note: protocol '_Pattern' does not conform to the 'Sendable' protocol
11 | var type: PatternType { get }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
1 |
2 | import Foundation
3 | import ParserDescription
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
4 |
5 |
[32/38] Compiling ParserCombinators Reader.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:7:16: warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
5 |
6 | public struct UnsupportedPatternError: Error {
7 | public let pattern: _Pattern
| `- warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserDescription/Sources/ParserDescription/Pattern.swift:10:17: note: protocol '_Pattern' does not conform to the 'Sendable' protocol
8 | }
9 |
10 | public protocol _Pattern: Codable {
| `- note: protocol '_Pattern' does not conform to the 'Sendable' protocol
11 | var type: PatternType { get }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
1 |
2 | import Foundation
3 | import ParserDescription
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
4 |
5 |
[33/38] Emitting module ParserCombinators
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:7:16: warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
5 |
6 | public struct UnsupportedPatternError: Error {
7 | public let pattern: _Pattern
| `- warning: stored property 'pattern' of 'Sendable'-conforming struct 'UnsupportedPatternError' has non-sendable type 'any _Pattern'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ParserDescription/Sources/ParserDescription/Pattern.swift:10:17: note: protocol '_Pattern' does not conform to the 'Sendable' protocol
8 | }
9 |
10 | public protocol _Pattern: Codable {
| `- note: protocol '_Pattern' does not conform to the 'Sendable' protocol
11 | var type: PatternType { get }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Patterns.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
1 |
2 | import Foundation
3 | import ParserDescription
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ParserDescription'
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:52:12: warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | private let whitespaceCharacterSet: CharacterSet = [" ", "\t", "\r", "\n"]
51 |
52 | public let whitespaceCharacter: Parser<Character, Character> =
| |- warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaceCharacter' 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
53 | `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
2 | import Trampoline
3 |
4 | public class Parser<T, Element> {
| `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
5 | public typealias Input = Reader<Element>
6 | public typealias Result = ParseResult<T, Element>
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:55:12: warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
55 | public let whitespace: Parser<Unit, Character> =
| |- warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, 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
56 | whitespaceCharacter.map(Unit.empty).rep()
57 |
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
2 | import Trampoline
3 |
4 | public class Parser<T, Element> {
| `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
5 | public typealias Input = Reader<Element>
6 | public typealias Result = ParseResult<T, Element>
[34/38] Compiling ParserCombinators Accept.swift
[35/38] Compiling ParserCombinators Capturing.swift
[36/38] Compiling ParserCombinators Chain.swift
[37/38] Compiling ParserCombinators SkipUntil.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:52:12: warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | private let whitespaceCharacterSet: CharacterSet = [" ", "\t", "\r", "\n"]
51 |
52 | public let whitespaceCharacter: Parser<Character, Character> =
| |- warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaceCharacter' 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
53 | `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
2 | import Trampoline
3 |
4 | public class Parser<T, Element> {
| `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
5 | public typealias Input = Reader<Element>
6 | public typealias Result = ParseResult<T, Element>
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:55:12: warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
55 | public let whitespace: Parser<Unit, Character> =
| |- warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, 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
56 | whitespaceCharacter.map(Unit.empty).rep()
57 |
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
2 | import Trampoline
3 |
4 | public class Parser<T, Element> {
| `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
5 | public typealias Input = Reader<Element>
6 | public typealias Result = ParseResult<T, Element>
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
[38/38] Compiling ParserCombinators StringParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:52:12: warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | private let whitespaceCharacterSet: CharacterSet = [" ", "\t", "\r", "\n"]
51 |
52 | public let whitespaceCharacter: Parser<Character, Character> =
| |- warning: let 'whitespaceCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaceCharacter' 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
53 | `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
2 | import Trampoline
3 |
4 | public class Parser<T, Element> {
| `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
5 | public typealias Input = Reader<Element>
6 | public typealias Result = ParseResult<T, Element>
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/StringParser.swift:55:12: warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | `in`(whitespaceCharacterSet, kind: "whitespace")
54 |
55 | public let whitespace: Parser<Unit, Character> =
| |- warning: let 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<Unit, 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
56 | whitespaceCharacter.map(Unit.empty).rep()
57 |
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Parser.swift:4:14: note: generic class 'Parser' does not conform to the 'Sendable' protocol
2 | import Trampoline
3 |
4 | public class Parser<T, Element> {
| `- note: generic class 'Parser' does not conform to the 'Sendable' protocol
5 | public typealias Input = Reader<Element>
6 | public typealias Result = ParseResult<T, Element>
/Users/admin/builder/spi-builder-workspace/Sources/ParserCombinators/Sequenceable.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |
13 | public struct Unit: Equatable {
| `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
14 | public static let empty = Unit()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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 init() {}
16 | }
[39/44] Compiling ParserCombinatorOperators StringParser.swift
[40/44] Compiling ParserCombinatorOperators Precedence.swift
[41/44] Compiling ParserCombinatorOperators Seq.swift
[42/44] Compiling ParserCombinatorOperators Or.swift
[43/44] Compiling ParserCombinatorOperators Map.swift
[44/44] Emitting module ParserCombinatorOperators
Build complete! (8.11s)
Build complete.
{
"dependencies" : [
{
"identity" : "trampoline",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/turbolent/Trampoline.git"
},
{
"identity" : "diffedassertequal",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/turbolent/DiffedAssertEqual.git"
},
{
"identity" : "parserdescription",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/turbolent/ParserDescription.git"
}
],
"manifest_display_name" : "ParserCombinators",
"name" : "ParserCombinators",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ParserCombinators",
"targets" : [
"ParserCombinators"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ParserCombinatorOperators",
"targets" : [
"ParserCombinatorOperators"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ParserCombinatorsTests",
"module_type" : "SwiftTarget",
"name" : "ParserCombinatorsTests",
"path" : "Tests/ParserCombinatorsTests",
"product_dependencies" : [
"DiffedAssertEqual",
"ParserDescription",
"ParserDescriptionOperators"
],
"sources" : [
"JSONParserTests.swift",
"ParserCombinatorsTests.swift",
"PatternsTests.swift",
"PositionTests.swift",
"TestUtils.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ParserCombinators",
"ParserCombinatorOperators"
],
"type" : "test"
},
{
"c99name" : "ParserCombinators",
"module_type" : "SwiftTarget",
"name" : "ParserCombinators",
"path" : "Sources/ParserCombinators",
"product_dependencies" : [
"Trampoline",
"ParserDescription"
],
"product_memberships" : [
"ParserCombinators",
"ParserCombinatorOperators"
],
"sources" : [
"Accept.swift",
"Capturing.swift",
"Chain.swift",
"CollectionReader.swift",
"Commit.swift",
"Either.swift",
"End.swift",
"FollowedBy.swift",
"Lazy.swift",
"Map.swift",
"NotFollowedBy.swift",
"Opt.swift",
"Or.swift",
"PackratReader.swift",
"ParseResult.swift",
"Parser.swift",
"Patterns.swift",
"Reader.swift",
"Recursive.swift",
"Rep.swift",
"Seq.swift",
"Sequenceable.swift",
"SkipUntil.swift",
"StringParser.swift"
],
"type" : "library"
},
{
"c99name" : "ParserCombinatorOperators",
"module_type" : "SwiftTarget",
"name" : "ParserCombinatorOperators",
"path" : "Sources/ParserCombinatorOperators",
"product_memberships" : [
"ParserCombinatorOperators"
],
"sources" : [
"Map.swift",
"Or.swift",
"Precedence.swift",
"Seq.swift",
"StringParser.swift"
],
"target_dependencies" : [
"ParserCombinators"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.