Build Information
Failed to build Sparse, reference master (7c360c
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 18:58:37 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnpatrickmorgan/Sparse.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnpatrickmorgan/Sparse
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7c360cc Adds library product to Package.swift
Cloned https://github.com/johnpatrickmorgan/Sparse.git
Revision (git rev-parse @):
7c360cc062cf14ee993c6de5b28e04f0892818ac
SUCCESS checkout https://github.com/johnpatrickmorgan/Sparse.git at master
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
[193/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[1713/21279] Fetching cwlcatchexception, cwlpreconditiontesting, nimble
[1714/36034] Fetching cwlcatchexception, cwlpreconditiontesting, nimble, quick
Fetched https://github.com/Quick/Quick.git from cache (1.51s)
[5430/21279] Fetching cwlcatchexception, cwlpreconditiontesting, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.80s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.80s)
Fetched https://github.com/Quick/Nimble.git from cache (1.80s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.4 (2.46s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.0 (0.63s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 1.2.0 (0.67s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 1.2.0 (2.88s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.4
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 1.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 1.2.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.0
========================================
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": "sparse",
"name": "Sparse",
"url": "https://github.com/johnpatrickmorgan/Sparse.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sparse",
"dependencies": [
{
"identity": "quick",
"name": "Quick",
"url": "https://github.com/Quick/Quick.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
"dependencies": [
{
"identity": "nimble",
"name": "Nimble",
"url": "https://github.com/Quick/Nimble.git",
"version": "8.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
"dependencies": [
]
}
]
},
{
"identity": "nimble",
"name": "Nimble",
"url": "https://github.com/Quick/Nimble.git",
"version": "8.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/johnpatrickmorgan/Sparse.git
[1/373] Fetching sparse
Fetched https://github.com/johnpatrickmorgan/Sparse.git from cache (0.66s)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/Quick/Quick.git from cache (0.55s)
Fetched https://github.com/Quick/Nimble.git from cache (0.55s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (1.22s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.65s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/johnpatrickmorgan/Sparse.git
Working copy of https://github.com/johnpatrickmorgan/Sparse.git resolved at master (7c360cc)
warning: '.resolve-product-dependencies': dependency 'sparse' is not used by any target
Found 2 product dependencies
- Quick
- Nimble
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/johnpatrickmorgan/Sparse.git
https://github.com/johnpatrickmorgan/Sparse.git
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.4",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Sparse",
"name" : "Sparse",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Sparse",
"targets" : [
"Sparse"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SparseTests",
"module_type" : "SwiftTarget",
"name" : "SparseTests",
"path" : "Sources/SparseTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"CSV/CSVExample.swift",
"CSV/CSVPerformance.swift",
"CSV/CSVTests.swift",
"Core/CharacterParsersTests.swift",
"Core/ParserCombinatorsTests.swift",
"Core/ParserErrorTests.swift",
"Core/Quick+Throw.swift",
"DotStrings/DotStringsExample.swift",
"DotStrings/DotStringsParserPerformance.swift",
"DotStrings/DotStringsParserTests.swift"
],
"target_dependencies" : [
"Sparse"
],
"type" : "test"
},
{
"c99name" : "Sparse",
"module_type" : "SwiftTarget",
"name" : "Sparse",
"path" : "Sources/Sparse",
"product_memberships" : [
"Sparse"
],
"sources" : [
"CSVParser.swift",
"CharacterParsers.swift",
"ContextDescribableError.swift",
"ContextualizedError.swift",
"DotStringsEntry.swift",
"DotStringsParser.swift",
"IgnoreError.swift",
"InfiniteLoopError.swift",
"Parser.swift",
"ParserError.swift",
"Parser_combinators.swift",
"Parser_creators.swift",
"Parser_name.swift",
"Parser_run.swift",
"ParsingContext.swift",
"PositionedInput.swift",
"Stream.swift",
"StringParsers.swift",
"Transforms.swift",
"UnexpectedInputError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-2F0A5646E1D333AE.txt
[4/30] Compiling CwlMachBadInstructionHandler mach_excServer.c
[5/30] Compiling CwlCatchExceptionSupport CwlCatchException.m
[6/32] Compiling CwlMachBadInstructionHandler CwlMachBadInstructionHandler.m
[8/32] Compiling Sparse CSVParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:13:16: warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum CSVParser {
12 |
13 | static let quote = character("\"")
| |- warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static let illegalCellCharacters = CharacterSet.newlines.union(CharacterSet(charactersIn: ","))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:16:16: warning: static property 'unquotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | static let illegalCellCharacters = CharacterSet.newlines.union(CharacterSet(charactersIn: ","))
16 | static let unquotedCellCharacter = characterNot(in: illegalCellCharacters)
| |- warning: static property 'unquotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unquotedCellCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | .named("cell character")
18 | static let unquotedCell = many(unquotedCellCharacter).asString()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:18:16: warning: static property 'unquotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let unquotedCellCharacter = characterNot(in: illegalCellCharacters)
17 | .named("cell character")
18 | static let unquotedCell = many(unquotedCellCharacter).asString()
| |- warning: static property 'unquotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unquotedCell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .map { $0.trimmingCharacters(in: .whitespaces) }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:21:16: warning: static property 'escapedQuote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .map { $0.trimmingCharacters(in: .whitespaces) }
20 |
21 | static let escapedQuote = quote.skipThen(quote)
| |- warning: static property 'escapedQuote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapedQuote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | .named("escaped quote")
23 | static let quotedCellCharacter = characterNot("\"")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:23:16: warning: static property 'quotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let escapedQuote = quote.skipThen(quote)
22 | .named("escaped quote")
23 | static let quotedCellCharacter = characterNot("\"")
| |- warning: static property 'quotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quotedCellCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | .named("quoted cell character")
25 | .otherwise(escapedQuote)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:27:16: warning: static property 'quotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | .otherwise(escapedQuote)
26 |
27 | static let quotedCell = many(quotedCellCharacter, boundedBy: quote).asString()
| |- warning: static property 'quotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quotedCell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | static let cell = quotedCell.otherwise(unquotedCell)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:29:16: warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let quotedCell = many(quotedCellCharacter, boundedBy: quote).asString()
28 |
29 | static let cell = quotedCell.otherwise(unquotedCell)
| |- warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:31:16: warning: static property 'cellSeparator' is not concurrency-safe because non-'Sendable' type 'Parser<(([Character], Character), [Character])>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | static let cell = quotedCell.otherwise(unquotedCell)
30 |
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
| |- warning: static property 'cellSeparator' is not concurrency-safe because non-'Sendable' type 'Parser<(([Character], Character), [Character])>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cellSeparator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | .named("cell separator")
33 | static let line = many(cell, separator: cellSeparator)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:33:16: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
32 | .named("cell separator")
33 | static let line = many(cell, separator: cellSeparator)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'line' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | static let ending = optional(newline()).then(end())
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:35:16: warning: static property 'ending' is not concurrency-safe because non-'Sendable' type 'Parser<(Character?, Void)>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let line = many(cell, separator: cellSeparator)
34 |
35 | static let ending = optional(newline()).then(end())
| |- warning: static property 'ending' is not concurrency-safe because non-'Sendable' type 'Parser<(Character?, Void)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ending' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static let csv = many(line, separator: newline()).thenSkip(ending)
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:36:16: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'Parser<[[String]]>' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | static let ending = optional(newline()).then(end())
36 | static let csv = many(line, separator: newline()).thenSkip(ending)
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'Parser<[[String]]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public static func parseCSV(input: String) throws -> [[String]] {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
[9/32] Compiling Sparse CharacterParsers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:13:16: warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum CSVParser {
12 |
13 | static let quote = character("\"")
| |- warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static let illegalCellCharacters = CharacterSet.newlines.union(CharacterSet(charactersIn: ","))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:16:16: warning: static property 'unquotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | static let illegalCellCharacters = CharacterSet.newlines.union(CharacterSet(charactersIn: ","))
16 | static let unquotedCellCharacter = characterNot(in: illegalCellCharacters)
| |- warning: static property 'unquotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unquotedCellCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | .named("cell character")
18 | static let unquotedCell = many(unquotedCellCharacter).asString()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:18:16: warning: static property 'unquotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let unquotedCellCharacter = characterNot(in: illegalCellCharacters)
17 | .named("cell character")
18 | static let unquotedCell = many(unquotedCellCharacter).asString()
| |- warning: static property 'unquotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unquotedCell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .map { $0.trimmingCharacters(in: .whitespaces) }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:21:16: warning: static property 'escapedQuote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .map { $0.trimmingCharacters(in: .whitespaces) }
20 |
21 | static let escapedQuote = quote.skipThen(quote)
| |- warning: static property 'escapedQuote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapedQuote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | .named("escaped quote")
23 | static let quotedCellCharacter = characterNot("\"")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:23:16: warning: static property 'quotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let escapedQuote = quote.skipThen(quote)
22 | .named("escaped quote")
23 | static let quotedCellCharacter = characterNot("\"")
| |- warning: static property 'quotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quotedCellCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | .named("quoted cell character")
25 | .otherwise(escapedQuote)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:27:16: warning: static property 'quotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | .otherwise(escapedQuote)
26 |
27 | static let quotedCell = many(quotedCellCharacter, boundedBy: quote).asString()
| |- warning: static property 'quotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quotedCell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | static let cell = quotedCell.otherwise(unquotedCell)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:29:16: warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let quotedCell = many(quotedCellCharacter, boundedBy: quote).asString()
28 |
29 | static let cell = quotedCell.otherwise(unquotedCell)
| |- warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:31:16: warning: static property 'cellSeparator' is not concurrency-safe because non-'Sendable' type 'Parser<(([Character], Character), [Character])>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | static let cell = quotedCell.otherwise(unquotedCell)
30 |
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
| |- warning: static property 'cellSeparator' is not concurrency-safe because non-'Sendable' type 'Parser<(([Character], Character), [Character])>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cellSeparator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | .named("cell separator")
33 | static let line = many(cell, separator: cellSeparator)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:33:16: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
32 | .named("cell separator")
33 | static let line = many(cell, separator: cellSeparator)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'line' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | static let ending = optional(newline()).then(end())
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:35:16: warning: static property 'ending' is not concurrency-safe because non-'Sendable' type 'Parser<(Character?, Void)>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let line = many(cell, separator: cellSeparator)
34 |
35 | static let ending = optional(newline()).then(end())
| |- warning: static property 'ending' is not concurrency-safe because non-'Sendable' type 'Parser<(Character?, Void)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ending' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static let csv = many(line, separator: newline()).thenSkip(ending)
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:36:16: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'Parser<[[String]]>' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | static let ending = optional(newline()).then(end())
36 | static let csv = many(line, separator: newline()).thenSkip(ending)
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'Parser<[[String]]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public static func parseCSV(input: String) throws -> [[String]] {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
[10/32] Compiling Sparse Stream.swift
[11/32] Compiling Sparse StringParsers.swift
[12/32] Compiling Sparse Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/ParserError.swift:15:9: warning: stored property 'errors' of 'Sendable'-conforming struct 'ParserError' has non-sendable type '[ContextualizedError]'; this is an error in the Swift 6 language mode
13 | public let input: String
14 | public var index: String.Index
15 | var errors: [ContextualizedError]
| `- warning: stored property 'errors' of 'Sendable'-conforming struct 'ParserError' has non-sendable type '[ContextualizedError]'; this is an error in the Swift 6 language mode
16 |
17 | mutating func incorporate(error: ContextualizedError, at index: String.Index) {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/ContextualizedError.swift:11:15: note: consider making struct 'ContextualizedError' conform to the 'Sendable' protocol
9 |
10 | /// An error decorated with a lazily evaluated parsing context.
11 | public struct ContextualizedError: CustomStringConvertible {
| `- note: consider making struct 'ContextualizedError' conform to the 'Sendable' protocol
12 |
13 | let context: () -> ParsingContext
[13/32] Compiling Sparse ParserError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/ParserError.swift:15:9: warning: stored property 'errors' of 'Sendable'-conforming struct 'ParserError' has non-sendable type '[ContextualizedError]'; this is an error in the Swift 6 language mode
13 | public let input: String
14 | public var index: String.Index
15 | var errors: [ContextualizedError]
| `- warning: stored property 'errors' of 'Sendable'-conforming struct 'ParserError' has non-sendable type '[ContextualizedError]'; this is an error in the Swift 6 language mode
16 |
17 | mutating func incorporate(error: ContextualizedError, at index: String.Index) {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/ContextualizedError.swift:11:15: note: consider making struct 'ContextualizedError' conform to the 'Sendable' protocol
9 |
10 | /// An error decorated with a lazily evaluated parsing context.
11 | public struct ContextualizedError: CustomStringConvertible {
| `- note: consider making struct 'ContextualizedError' conform to the 'Sendable' protocol
12 |
13 | let context: () -> ParsingContext
[14/32] Compiling Sparse ParsingContext.swift
[15/32] Compiling Sparse PositionedInput.swift
[16/32] Compiling Sparse IgnoreError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/IgnoreError.swift:12:7: warning: non-final class 'IgnoreError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | /// Replaces an error that has already been captured in the stream, to avoid
11 | /// capturing the same error at every level of the parser tree.
12 | class IgnoreError: Error { }
| `- warning: non-final class 'IgnoreError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 | let ignoreError = IgnoreError()
[17/32] Compiling Sparse InfiniteLoopError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/IgnoreError.swift:12:7: warning: non-final class 'IgnoreError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | /// Replaces an error that has already been captured in the stream, to avoid
11 | /// capturing the same error at every level of the parser tree.
12 | class IgnoreError: Error { }
| `- warning: non-final class 'IgnoreError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 | let ignoreError = IgnoreError()
[18/32] Emitting module Sparse
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:13:16: warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum CSVParser {
12 |
13 | static let quote = character("\"")
| |- warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | static let illegalCellCharacters = CharacterSet.newlines.union(CharacterSet(charactersIn: ","))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:16:16: warning: static property 'unquotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | static let illegalCellCharacters = CharacterSet.newlines.union(CharacterSet(charactersIn: ","))
16 | static let unquotedCellCharacter = characterNot(in: illegalCellCharacters)
| |- warning: static property 'unquotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unquotedCellCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | .named("cell character")
18 | static let unquotedCell = many(unquotedCellCharacter).asString()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:18:16: warning: static property 'unquotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let unquotedCellCharacter = characterNot(in: illegalCellCharacters)
17 | .named("cell character")
18 | static let unquotedCell = many(unquotedCellCharacter).asString()
| |- warning: static property 'unquotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unquotedCell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | .map { $0.trimmingCharacters(in: .whitespaces) }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:21:16: warning: static property 'escapedQuote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | .map { $0.trimmingCharacters(in: .whitespaces) }
20 |
21 | static let escapedQuote = quote.skipThen(quote)
| |- warning: static property 'escapedQuote' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapedQuote' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | .named("escaped quote")
23 | static let quotedCellCharacter = characterNot("\"")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:23:16: warning: static property 'quotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let escapedQuote = quote.skipThen(quote)
22 | .named("escaped quote")
23 | static let quotedCellCharacter = characterNot("\"")
| |- warning: static property 'quotedCellCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quotedCellCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | .named("quoted cell character")
25 | .otherwise(escapedQuote)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:27:16: warning: static property 'quotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
25 | .otherwise(escapedQuote)
26 |
27 | static let quotedCell = many(quotedCellCharacter, boundedBy: quote).asString()
| |- warning: static property 'quotedCell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quotedCell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | static let cell = quotedCell.otherwise(unquotedCell)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:29:16: warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
27 | static let quotedCell = many(quotedCellCharacter, boundedBy: quote).asString()
28 |
29 | static let cell = quotedCell.otherwise(unquotedCell)
| |- warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cell' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:31:16: warning: static property 'cellSeparator' is not concurrency-safe because non-'Sendable' type 'Parser<(([Character], Character), [Character])>' may have shared mutable state; this is an error in the Swift 6 language mode
29 | static let cell = quotedCell.otherwise(unquotedCell)
30 |
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
| |- warning: static property 'cellSeparator' is not concurrency-safe because non-'Sendable' type 'Parser<(([Character], Character), [Character])>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cellSeparator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | .named("cell separator")
33 | static let line = many(cell, separator: cellSeparator)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:33:16: warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | static let cellSeparator = whitespaces().then(character(",")).then(whitespaces())
32 | .named("cell separator")
33 | static let line = many(cell, separator: cellSeparator)
| |- warning: static property 'line' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'line' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | static let ending = optional(newline()).then(end())
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:35:16: warning: static property 'ending' is not concurrency-safe because non-'Sendable' type 'Parser<(Character?, Void)>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | static let line = many(cell, separator: cellSeparator)
34 |
35 | static let ending = optional(newline()).then(end())
| |- warning: static property 'ending' is not concurrency-safe because non-'Sendable' type 'Parser<(Character?, Void)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ending' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static let csv = many(line, separator: newline()).thenSkip(ending)
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/CSVParser.swift:36:16: warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'Parser<[[String]]>' may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | static let ending = optional(newline()).then(end())
36 | static let csv = many(line, separator: newline()).thenSkip(ending)
| |- warning: static property 'csv' is not concurrency-safe because non-'Sendable' type 'Parser<[[String]]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'csv' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | public static func parseCSV(input: String) throws -> [[String]] {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:14:16: warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // Primitives
14 | static let wss = whitespaces()
| |- warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wss' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:15:16: warning: static property 'wsnl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // Primitives
14 | static let wss = whitespaces()
15 | static let wsnl = whitespaceOrNewline()
| |- warning: static property 'wsnl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wsnl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:16:16: warning: static property 'wsnls' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let wss = whitespaces()
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
| |- warning: static property 'wsnls' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wsnls' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:17:16: warning: static property 'wss1nl' 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
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
| |- warning: static property 'wss1nl' 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: add '@MainActor' to make static property 'wss1nl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let nl = newline()
19 | static let qm = character("\"")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:18:16: warning: static property 'nl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
| |- warning: static property 'nl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let qm = character("\"")
20 | static let sc = character(";")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:19:16: warning: static property 'qm' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
19 | static let qm = character("\"")
| |- warning: static property 'qm' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let sc = character(";")
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:20:16: warning: static property 'sc' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let nl = newline()
19 | static let qm = character("\"")
20 | static let sc = character(";")
| |- warning: static property 'sc' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // Escapes
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:23:16: warning: static property 'escapableCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // Escapes
23 | static let escapableCharacter = characterNot("\\").otherwise(escapedSpecial)
| |- warning: static property 'escapableCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapableCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let escapedSpecial: Parser<Character> = character("\\").skipThen(oneOf([
25 | character("\"").skipThen(pure("\"")),
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:24:16: warning: static property 'escapedSpecial' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | // Escapes
23 | static let escapableCharacter = characterNot("\\").otherwise(escapedSpecial)
24 | static let escapedSpecial: Parser<Character> = character("\\").skipThen(oneOf([
| |- warning: static property 'escapedSpecial' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapedSpecial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | character("\"").skipThen(pure("\"")),
26 | character("'").skipThen(pure("'")),
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:35:16: warning: static property 'ilcStart' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | // Comments
35 | static let ilcStart = atLeast(2, character("/")).thenSkip(wss)
| |- warning: static property 'ilcStart' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilcStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static let ilcStop = nl
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:36:16: warning: static property 'ilcStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | // Comments
35 | static let ilcStart = atLeast(2, character("/")).thenSkip(wss)
36 | static let ilcStop = nl
| |- warning: static property 'ilcStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilcStop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:38:16: warning: static property 'mlcStart' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
36 | static let ilcStop = nl
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
| |- warning: static property 'mlcStart' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlcStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static let mlcStop = string("*/")
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:39:16: warning: static property 'mlcStop' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
39 | static let mlcStop = string("*/")
| |- warning: static property 'mlcStop' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlcStop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:41:16: warning: static property 'mlc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let mlcStop = string("*/")
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
| |- warning: static property 'mlc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:42:16: warning: static property 'ilc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
| |- warning: static property 'ilc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:44:16: warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
| |- warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | static let comments = many(comment)
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:45:16: warning: static property 'comments' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
45 | static let comments = many(comment)
| |- warning: static property 'comments' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:46:16: warning: static property 'inlineComment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
45 | static let comments = many(comment)
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
| |- warning: static property 'inlineComment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inlineComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static let orphanedComment = atLeastOne(comment).then(wss1nl)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:48:16: warning: static property 'orphanedComment' is not concurrency-safe because non-'Sendable' type 'Parser<([String], ([Character], [Character]))>' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
47 |
48 | static let orphanedComment = atLeastOne(comment).then(wss1nl)
| |- warning: static property 'orphanedComment' is not concurrency-safe because non-'Sendable' type 'Parser<([String], ([Character], [Character]))>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'orphanedComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // Key-value pairs
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:51:16: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | // Key-value pairs
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:52:16: warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | // Key-value pairs
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
52 | static let key = text.named("key")
| |- warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:53:16: warning: static property 'translation' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
| |- warning: static property 'translation' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'translation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:54:16: warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
| |- warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'separator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:55:16: warning: static property 'kvp' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
| |- warning: static property 'kvp' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kvp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | // Entries
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:58:16: warning: static property 'entryTuple' is not concurrency-safe because non-'Sendable' type 'Parser<([String], (String, String), String?)>' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | // Entries
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
| |- warning: static property 'entryTuple' is not concurrency-safe because non-'Sendable' type 'Parser<([String], (String, String), String?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entryTuple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:59:16: warning: static property 'entryObject' is not concurrency-safe because non-'Sendable' type 'Parser<DotStringsEntry>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | // Entries
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
| |- warning: static property 'entryObject' is not concurrency-safe because non-'Sendable' type 'Parser<DotStringsEntry>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entryObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:60:16: warning: static property 'entries' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
| |- warning: static property 'entries' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // Strings Parser
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:63:16: warning: static property 'stringsParser' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | // Strings Parser
63 | static let stringsParser = wsnls.skipThen(entries).thenSkip(end())
| |- warning: static property 'stringsParser' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stringsParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static func parseStrings(input: String) throws -> [DotStringsEntry] {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/IgnoreError.swift:12:7: warning: non-final class 'IgnoreError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
10 | /// Replaces an error that has already been captured in the stream, to avoid
11 | /// capturing the same error at every level of the parser tree.
12 | class IgnoreError: Error { }
| `- warning: non-final class 'IgnoreError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
13 |
14 | let ignoreError = IgnoreError()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/ParserError.swift:15:9: warning: stored property 'errors' of 'Sendable'-conforming struct 'ParserError' has non-sendable type '[ContextualizedError]'; this is an error in the Swift 6 language mode
13 | public let input: String
14 | public var index: String.Index
15 | var errors: [ContextualizedError]
| `- warning: stored property 'errors' of 'Sendable'-conforming struct 'ParserError' has non-sendable type '[ContextualizedError]'; this is an error in the Swift 6 language mode
16 |
17 | mutating func incorporate(error: ContextualizedError, at index: String.Index) {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/ContextualizedError.swift:11:15: note: consider making struct 'ContextualizedError' conform to the 'Sendable' protocol
9 |
10 | /// An error decorated with a lazily evaluated parsing context.
11 | public struct ContextualizedError: CustomStringConvertible {
| `- note: consider making struct 'ContextualizedError' conform to the 'Sendable' protocol
12 |
13 | let context: () -> ParsingContext
[19/32] Compiling Sparse Parser_combinators.swift
[20/32] Compiling Sparse Parser_creators.swift
[21/32] Compiling Sparse DotStringsEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:14:16: warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // Primitives
14 | static let wss = whitespaces()
| |- warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wss' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:15:16: warning: static property 'wsnl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // Primitives
14 | static let wss = whitespaces()
15 | static let wsnl = whitespaceOrNewline()
| |- warning: static property 'wsnl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wsnl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:16:16: warning: static property 'wsnls' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let wss = whitespaces()
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
| |- warning: static property 'wsnls' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wsnls' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:17:16: warning: static property 'wss1nl' 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
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
| |- warning: static property 'wss1nl' 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: add '@MainActor' to make static property 'wss1nl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let nl = newline()
19 | static let qm = character("\"")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:18:16: warning: static property 'nl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
| |- warning: static property 'nl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let qm = character("\"")
20 | static let sc = character(";")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:19:16: warning: static property 'qm' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
19 | static let qm = character("\"")
| |- warning: static property 'qm' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let sc = character(";")
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:20:16: warning: static property 'sc' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let nl = newline()
19 | static let qm = character("\"")
20 | static let sc = character(";")
| |- warning: static property 'sc' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // Escapes
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:23:16: warning: static property 'escapableCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // Escapes
23 | static let escapableCharacter = characterNot("\\").otherwise(escapedSpecial)
| |- warning: static property 'escapableCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapableCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let escapedSpecial: Parser<Character> = character("\\").skipThen(oneOf([
25 | character("\"").skipThen(pure("\"")),
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:24:16: warning: static property 'escapedSpecial' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | // Escapes
23 | static let escapableCharacter = characterNot("\\").otherwise(escapedSpecial)
24 | static let escapedSpecial: Parser<Character> = character("\\").skipThen(oneOf([
| |- warning: static property 'escapedSpecial' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapedSpecial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | character("\"").skipThen(pure("\"")),
26 | character("'").skipThen(pure("'")),
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:35:16: warning: static property 'ilcStart' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | // Comments
35 | static let ilcStart = atLeast(2, character("/")).thenSkip(wss)
| |- warning: static property 'ilcStart' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilcStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static let ilcStop = nl
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:36:16: warning: static property 'ilcStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | // Comments
35 | static let ilcStart = atLeast(2, character("/")).thenSkip(wss)
36 | static let ilcStop = nl
| |- warning: static property 'ilcStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilcStop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:38:16: warning: static property 'mlcStart' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
36 | static let ilcStop = nl
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
| |- warning: static property 'mlcStart' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlcStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static let mlcStop = string("*/")
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:39:16: warning: static property 'mlcStop' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
39 | static let mlcStop = string("*/")
| |- warning: static property 'mlcStop' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlcStop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:41:16: warning: static property 'mlc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let mlcStop = string("*/")
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
| |- warning: static property 'mlc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:42:16: warning: static property 'ilc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
| |- warning: static property 'ilc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:44:16: warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
| |- warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | static let comments = many(comment)
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:45:16: warning: static property 'comments' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
45 | static let comments = many(comment)
| |- warning: static property 'comments' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:46:16: warning: static property 'inlineComment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
45 | static let comments = many(comment)
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
| |- warning: static property 'inlineComment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inlineComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static let orphanedComment = atLeastOne(comment).then(wss1nl)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:48:16: warning: static property 'orphanedComment' is not concurrency-safe because non-'Sendable' type 'Parser<([String], ([Character], [Character]))>' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
47 |
48 | static let orphanedComment = atLeastOne(comment).then(wss1nl)
| |- warning: static property 'orphanedComment' is not concurrency-safe because non-'Sendable' type 'Parser<([String], ([Character], [Character]))>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'orphanedComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // Key-value pairs
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:51:16: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | // Key-value pairs
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:52:16: warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | // Key-value pairs
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
52 | static let key = text.named("key")
| |- warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:53:16: warning: static property 'translation' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
| |- warning: static property 'translation' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'translation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:54:16: warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
| |- warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'separator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:55:16: warning: static property 'kvp' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
| |- warning: static property 'kvp' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kvp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | // Entries
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:58:16: warning: static property 'entryTuple' is not concurrency-safe because non-'Sendable' type 'Parser<([String], (String, String), String?)>' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | // Entries
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
| |- warning: static property 'entryTuple' is not concurrency-safe because non-'Sendable' type 'Parser<([String], (String, String), String?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entryTuple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:59:16: warning: static property 'entryObject' is not concurrency-safe because non-'Sendable' type 'Parser<DotStringsEntry>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | // Entries
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
| |- warning: static property 'entryObject' is not concurrency-safe because non-'Sendable' type 'Parser<DotStringsEntry>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entryObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:60:16: warning: static property 'entries' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
| |- warning: static property 'entries' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // Strings Parser
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:63:16: warning: static property 'stringsParser' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | // Strings Parser
63 | static let stringsParser = wsnls.skipThen(entries).thenSkip(end())
| |- warning: static property 'stringsParser' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stringsParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static func parseStrings(input: String) throws -> [DotStringsEntry] {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
[22/32] Compiling Sparse DotStringsParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:14:16: warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // Primitives
14 | static let wss = whitespaces()
| |- warning: static property 'wss' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wss' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:15:16: warning: static property 'wsnl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // Primitives
14 | static let wss = whitespaces()
15 | static let wsnl = whitespaceOrNewline()
| |- warning: static property 'wsnl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wsnl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:16:16: warning: static property 'wsnls' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let wss = whitespaces()
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
| |- warning: static property 'wsnls' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wsnls' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:17:16: warning: static property 'wss1nl' 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
15 | static let wsnl = whitespaceOrNewline()
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
| |- warning: static property 'wss1nl' 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: add '@MainActor' to make static property 'wss1nl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let nl = newline()
19 | static let qm = character("\"")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:18:16: warning: static property 'nl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let wsnls = whitespacesOrNewlines()
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
| |- warning: static property 'nl' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nl' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let qm = character("\"")
20 | static let sc = character(";")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:19:16: warning: static property 'qm' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let wss1nl = wss.then(atMost(1, nl))
18 | static let nl = newline()
19 | static let qm = character("\"")
| |- warning: static property 'qm' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qm' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let sc = character(";")
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:20:16: warning: static property 'sc' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
18 | static let nl = newline()
19 | static let qm = character("\"")
20 | static let sc = character(";")
| |- warning: static property 'sc' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | // Escapes
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:23:16: warning: static property 'escapableCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | // Escapes
23 | static let escapableCharacter = characterNot("\\").otherwise(escapedSpecial)
| |- warning: static property 'escapableCharacter' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapableCharacter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let escapedSpecial: Parser<Character> = character("\\").skipThen(oneOf([
25 | character("\"").skipThen(pure("\"")),
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:24:16: warning: static property 'escapedSpecial' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | // Escapes
23 | static let escapableCharacter = characterNot("\\").otherwise(escapedSpecial)
24 | static let escapedSpecial: Parser<Character> = character("\\").skipThen(oneOf([
| |- warning: static property 'escapedSpecial' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'escapedSpecial' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | character("\"").skipThen(pure("\"")),
26 | character("'").skipThen(pure("'")),
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:35:16: warning: static property 'ilcStart' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | // Comments
35 | static let ilcStart = atLeast(2, character("/")).thenSkip(wss)
| |- warning: static property 'ilcStart' is not concurrency-safe because non-'Sendable' type 'Parser<[Character]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilcStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | static let ilcStop = nl
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:36:16: warning: static property 'ilcStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
34 | // Comments
35 | static let ilcStart = atLeast(2, character("/")).thenSkip(wss)
36 | static let ilcStop = nl
| |- warning: static property 'ilcStop' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilcStop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:38:16: warning: static property 'mlcStart' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
36 | static let ilcStop = nl
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
| |- warning: static property 'mlcStart' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlcStart' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | static let mlcStop = string("*/")
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:39:16: warning: static property 'mlcStop' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | static let mlcStart = string("/*").thenSkip(many(character("*")))
39 | static let mlcStop = string("*/")
| |- warning: static property 'mlcStop' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlcStop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:41:16: warning: static property 'mlc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
39 | static let mlcStop = string("*/")
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
| |- warning: static property 'mlc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mlc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
43 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:42:16: warning: static property 'ilc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | static let mlc = many(anyCharacter().butNot(mlcStop), prefix: mlcStart, suffix: mlcStop).asString()
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
| |- warning: static property 'ilc' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ilc' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:44:16: warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
42 | static let ilc = many(anyCharacter().butNot(ilcStop), prefix: ilcStart, suffix: ilcStop).asString()
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
| |- warning: static property 'comment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | static let comments = many(comment)
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:45:16: warning: static property 'comments' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
45 | static let comments = many(comment)
| |- warning: static property 'comments' is not concurrency-safe because non-'Sendable' type 'Parser<[String]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'comments' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
47 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:46:16: warning: static property 'inlineComment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
44 | static let comment = mlc.otherwise(ilc).thenSkip(wss1nl).named("comment")
45 | static let comments = many(comment)
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
| |- warning: static property 'inlineComment' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inlineComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | static let orphanedComment = atLeastOne(comment).then(wss1nl)
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:48:16: warning: static property 'orphanedComment' is not concurrency-safe because non-'Sendable' type 'Parser<([String], ([Character], [Character]))>' may have shared mutable state; this is an error in the Swift 6 language mode
46 | static let inlineComment = ilc.thenSkip(wss1nl).named("in-line comment")
47 |
48 | static let orphanedComment = atLeastOne(comment).then(wss1nl)
| |- warning: static property 'orphanedComment' is not concurrency-safe because non-'Sendable' type 'Parser<([String], ([Character], [Character]))>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'orphanedComment' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | // Key-value pairs
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:51:16: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | // Key-value pairs
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:52:16: warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
50 | // Key-value pairs
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
52 | static let key = text.named("key")
| |- warning: static property 'key' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'key' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:53:16: warning: static property 'translation' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
51 | static let text = many(escapableCharacter.butNot(qm), boundedBy: qm).asString().named("text")
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
| |- warning: static property 'translation' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'translation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:54:16: warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
52 | static let key = text.named("key")
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
| |- warning: static property 'separator' is not concurrency-safe because non-'Sendable' type 'Parser<Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'separator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
56 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:55:16: warning: static property 'kvp' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' may have shared mutable state; this is an error in the Swift 6 language mode
53 | static let translation = text.named("translation")
54 | static let separator = wss.skipThen(character("=")).thenSkip(wss).named("separator")
55 | static let kvp = key.thenSkip(separator).then(translation).thenSkip(sc).named("pair")
| |- warning: static property 'kvp' is not concurrency-safe because non-'Sendable' type 'Parser<(String, String)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kvp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 |
57 | // Entries
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:58:16: warning: static property 'entryTuple' is not concurrency-safe because non-'Sendable' type 'Parser<([String], (String, String), String?)>' may have shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | // Entries
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
| |- warning: static property 'entryTuple' is not concurrency-safe because non-'Sendable' type 'Parser<([String], (String, String), String?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entryTuple' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:59:16: warning: static property 'entryObject' is not concurrency-safe because non-'Sendable' type 'Parser<DotStringsEntry>' may have shared mutable state; this is an error in the Swift 6 language mode
57 | // Entries
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
| |- warning: static property 'entryObject' is not concurrency-safe because non-'Sendable' type 'Parser<DotStringsEntry>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entryObject' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:60:16: warning: static property 'entries' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
58 | static let entryTuple = comments.then(kvp).thenSkip(wss).then(optional(inlineComment)).thenSkip(wsnls).map(flatten)
59 | static let entryObject = entryTuple.map(createEntry).named("entry")
60 | static let entries = many(entryObject.otherwiseSkip(orphanedComment)).map { $0.compactMap{$0} }
| |- warning: static property 'entries' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'entries' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | // Strings Parser
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/DotStringsParser.swift:63:16: warning: static property 'stringsParser' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | // Strings Parser
63 | static let stringsParser = wsnls.skipThen(entries).thenSkip(end())
| |- warning: static property 'stringsParser' is not concurrency-safe because non-'Sendable' type 'Parser<[DotStringsEntry]>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'stringsParser' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | public static func parseStrings(input: String) throws -> [DotStringsEntry] {
/Users/admin/builder/spi-builder-workspace/Sources/Sparse/Parser.swift:11:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public struct Parser<Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
12 |
13 | public let name: String?
[23/32] Compiling Sparse Parser_name.swift
[24/32] Compiling Sparse Parser_run.swift
[25/32] Compiling Sparse ContextDescribableError.swift
[26/32] Compiling Sparse ContextualizedError.swift
[27/34] Compiling Sparse Transforms.swift
[28/34] Compiling Sparse UnexpectedInputError.swift
[29/34] Emitting module CwlCatchException
[30/34] Compiling CwlCatchException CwlCatchException.swift
[30/34] Write Objects.LinkFileList
[31/34] Linking libCwlCatchException.dylib
[33/38] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[34/38] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
183 | try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
184 | // 3. Apply the mach port as the handler for this thread
185 | thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
| `- error: cannot find 'x86_THREAD_STATE64' in scope
186 | } }
187 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/38] Emitting module CwlPreconditionTesting
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[36/38] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: cannot find 'x86_thread_state64_t' in scope
64 |
65 | // 1. Decrement the stack pointer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: generic parameter 'T' could not be inferred
64 |
65 | // 1. Decrement the stack pointer
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
| `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
80 |
81 | // Write the new thread state
82 | new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
| `- error: cannot find 'x86_thread_state64_t' in scope
83 | new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
84 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-2F0A5646E1D333AE.txt
[2/26] Emitting module CwlCatchException
[3/26] Compiling CwlCatchException CwlCatchException.swift
[4/25] Compiling Sparse Parser_name.swift
[5/25] Compiling Sparse Parser_run.swift
[6/25] Compiling Sparse Stream.swift
[7/25] Compiling Sparse StringParsers.swift
[8/25] Compiling Sparse ParsingContext.swift
[9/25] Compiling Sparse PositionedInput.swift
[10/25] Compiling Sparse CSVParser.swift
[11/25] Compiling Sparse CharacterParsers.swift
[12/25] Compiling Sparse ContextDescribableError.swift
[13/25] Compiling Sparse ContextualizedError.swift
[14/25] Compiling Sparse DotStringsEntry.swift
[15/25] Compiling Sparse DotStringsParser.swift
[16/25] Emitting module Sparse
[17/27] Compiling Sparse IgnoreError.swift
[18/27] Compiling Sparse InfiniteLoopError.swift
[19/27] Compiling Sparse Parser_combinators.swift
[20/27] Compiling Sparse Parser_creators.swift
[21/27] Compiling Sparse Parser.swift
[22/27] Compiling Sparse ParserError.swift
[22/27] Linking libCwlCatchException.dylib
[24/27] Compiling Sparse Transforms.swift
[25/27] Compiling Sparse UnexpectedInputError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/31] Emitting module CwlPreconditionTesting
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
[27/31] Compiling CwlPreconditionTesting CwlCatchBadInstruction.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlCatchBadInstruction.swift:185:166: error: cannot find 'x86_THREAD_STATE64' in scope
183 | try kernCheck { context.withUnsafeMutablePointers { masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr in
184 | // 3. Apply the mach port as the handler for this thread
185 | thread_swap_exception_ports(mach_thread_self(), EXC_MASK_BAD_INSTRUCTION, currentExceptionPtr, Int32(bitPattern: UInt32(EXCEPTION_STATE) | MACH_EXCEPTION_CODES), x86_THREAD_STATE64, masksPtr, countPtr, portsPtr, behaviorsPtr, flavorsPtr)
| `- error: cannot find 'x86_THREAD_STATE64' in scope
186 | } }
187 |
[28/31] Compiling CwlPreconditionTesting CwlBadInstructionException.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:47: error: cannot find 'x86_thread_state64_t' in scope
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: cannot find 'x86_thread_state64_t' in scope
64 |
65 | // 1. Decrement the stack pointer
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:63:25: error: generic parameter 'T' could not be inferred
61 |
62 | // Read the old thread state
63 | var state = old_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { return $0.pointee }
| `- error: generic parameter 'T' could not be inferred
64 |
65 | // 1. Decrement the stack pointer
Swift.UnsafePointer.withMemoryRebound:2:13: note: in call to function 'withMemoryRebound(to:capacity:_:)'
1 | generic struct UnsafePointer {
2 | public func withMemoryRebound<T, E, Result>(to type: T.Type, capacity count: Int, _ body: (_ pointer: UnsafePointer<T>) throws(E) -> Result) throws(E) -> Result where E : Error, T : ~Copyable, Result : ~Copyable}
| `- note: in call to function 'withMemoryRebound(to:capacity:_:)'
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlBadInstructionException.swift:82:35: error: cannot find 'x86_thread_state64_t' in scope
80 |
81 | // Write the new thread state
82 | new_state.withMemoryRebound(to: x86_thread_state64_t.self, capacity: 1) { $0.pointee = state }
| `- error: cannot find 'x86_thread_state64_t' in scope
83 | new_stateCnt.pointee = x86_THREAD_STATE64_COUNT
84 |
[29/31] Compiling CwlPreconditionTesting CwlDarwinDefinitions.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CwlPreconditionTesting/Sources/CwlPreconditionTesting/CwlDarwinDefinitions.swift:44:59: error: cannot find type 'x86_thread_state64_t' in scope
42 | // #define x86_THREAD_STATE64_COUNT ((mach_msg_type_number_t) \
43 | // ( sizeof (x86_thread_state64_t) / sizeof (int) ))
44 | public let x86_THREAD_STATE64_COUNT = UInt32(MemoryLayout<x86_thread_state64_t>.size / MemoryLayout<Int32>.size)
| `- error: cannot find type 'x86_thread_state64_t' in scope
45 |
46 | public let EXC_TYPES_COUNT = 14
BUILD FAILURE 6.1 macosSpm