Build Information
Successful build of FFCParserCombinator, reference canon (7376ff
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 12:29:31 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fcanas/FFCParserCombinator.git
Reference: canon
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fcanas/FFCParserCombinator
* branch canon -> FETCH_HEAD
* [new branch] canon -> origin/canon
HEAD is now at 7376ffe Rename .jazzy.yaml to .jazzy.yml
Cloned https://github.com/fcanas/FFCParserCombinator.git
Revision (git rev-parse @):
7376ffe46e00e8eeea5b712552903a0fcf001fcd
SUCCESS checkout https://github.com/fcanas/FFCParserCombinator.git at canon
========================================
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": "ffcparsercombinator",
"name": "FFCParserCombinator",
"url": "https://github.com/fcanas/FFCParserCombinator.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FFCParserCombinator",
"dependencies": [
]
}
]
}
Fetching https://github.com/fcanas/FFCParserCombinator.git
[4/370] Fetching ffcparsercombinator
Fetched https://github.com/fcanas/FFCParserCombinator.git from cache (0.96s)
Creating working copy for https://github.com/fcanas/FFCParserCombinator.git
Working copy of https://github.com/fcanas/FFCParserCombinator.git resolved at canon (7376ffe)
warning: '.resolve-product-dependencies': dependency 'ffcparsercombinator' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/fcanas/FFCParserCombinator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/5] Compiling FFCParserCombinator StringParsing.swift
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:228:23: warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
226 | /// A `Parser` that matches and returns single decimal digit, `[0-9]` as
227 | /// a `Character` from a `Substring`.
228 | public static let digit = CharacterSet.decimalDigits.parser()
| |- warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:232:23: warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
230 | /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
231 | /// a `Character` from a `Substring`.
232 | public static let hexDigit = CharacterSet.decimalDigits.union(CharacterSet(charactersIn: "A"..."F")).parser()
| |- warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hexDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 |
234 | // Fragments
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:238:23: warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
236 | /// A `Parser` that matches and returns "0x" or "0X" as a `String` from a
237 | /// 'Substring'.
238 | public static let hexPrefix = "0x".parser() <|> "0X".parser()
| |- warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hexPrefix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// A `Parser` that matches and returns single decimal dot, `.`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:242:23: warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
240 | /// A `Parser` that matches and returns single decimal dot, `.`, as
241 | /// a `String` from a `Substring`.
242 | public static let decimalPoint = ".".parser()
| |- warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalPoint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 | /// A `Parser` that matches and returns single decimal hyphen, `-`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:246:23: warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
244 | /// A `Parser` that matches and returns single decimal hyphen, `-`, as
245 | /// a `String` from a `Substring`.
246 | public static let negation = "-".parser()
| |- warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// A `Parser` that matches and returns a double-quote, `"`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:250:23: warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
248 | /// A `Parser` that matches and returns a double-quote, `"`, as
249 | /// a `String` from a `Substring`.
250 | public static let quote = "\"".parser()
| |- warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// A `Parser` that matches and returns a single x, `x`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:254:23: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
252 | /// A `Parser` that matches and returns a single x, `x`, as
253 | /// a `String` from a `Substring`.
254 | public static let x = character { $0 == "x" }
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | /// A `Parser` that matches an abribrarily long sequence of decimal
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:263:23: warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
261 | /// { String($0) } <^> digit.many1
262 | /// ```
263 | public static let numericString = { String($0) } <^> digit.many1
| |- warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 | /// A `Parser` that matches an abribrarily long sequence of decimal
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:273:23: warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
271 | /// numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
272 | /// ```
273 | public static let floatingPointString = numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
| |- warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'floatingPointString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// A `Parser` matching either a line feed carriage return, `\n\r`,
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:282:23: warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
280 | /// character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
281 | /// ```
282 | public static let newline = character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
| |- warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
[4/5] Compiling FFCParserCombinator FFCParserCombinator.swift
[5/5] Emitting module FFCParserCombinator
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:228:23: warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
226 | /// A `Parser` that matches and returns single decimal digit, `[0-9]` as
227 | /// a `Character` from a `Substring`.
228 | public static let digit = CharacterSet.decimalDigits.parser()
| |- warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'digit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:232:23: warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
230 | /// A `Parser` that matches and returns single decimal digit, `[0-9][A-F]` as
231 | /// a `Character` from a `Substring`.
232 | public static let hexDigit = CharacterSet.decimalDigits.union(CharacterSet(charactersIn: "A"..."F")).parser()
| |- warning: static property 'hexDigit' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hexDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 |
234 | // Fragments
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:238:23: warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
236 | /// A `Parser` that matches and returns "0x" or "0X" as a `String` from a
237 | /// 'Substring'.
238 | public static let hexPrefix = "0x".parser() <|> "0X".parser()
| |- warning: static property 'hexPrefix' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hexPrefix' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// A `Parser` that matches and returns single decimal dot, `.`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:242:23: warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
240 | /// A `Parser` that matches and returns single decimal dot, `.`, as
241 | /// a `String` from a `Substring`.
242 | public static let decimalPoint = ".".parser()
| |- warning: static property 'decimalPoint' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalPoint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 | /// A `Parser` that matches and returns single decimal hyphen, `-`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:246:23: warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
244 | /// A `Parser` that matches and returns single decimal hyphen, `-`, as
245 | /// a `String` from a `Substring`.
246 | public static let negation = "-".parser()
| |- warning: static property 'negation' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'negation' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// A `Parser` that matches and returns a double-quote, `"`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:250:23: warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
248 | /// A `Parser` that matches and returns a double-quote, `"`, as
249 | /// a `String` from a `Substring`.
250 | public static let quote = "\"".parser()
| |- warning: static property 'quote' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quote' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// A `Parser` that matches and returns a single x, `x`, as
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:254:23: warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
252 | /// A `Parser` that matches and returns a single x, `x`, as
253 | /// a `String` from a `Substring`.
254 | public static let x = character { $0 == "x" }
| |- warning: static property 'x' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'x' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | /// A `Parser` that matches an abribrarily long sequence of decimal
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:263:23: warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
261 | /// { String($0) } <^> digit.many1
262 | /// ```
263 | public static let numericString = { String($0) } <^> digit.many1
| |- warning: static property 'numericString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 | /// A `Parser` that matches an abribrarily long sequence of decimal
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:273:23: warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
271 | /// numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
272 | /// ```
273 | public static let floatingPointString = numericString.followed(by: decimalPoint, combine: +).followed(by: numericString, combine: +)
| |- warning: static property 'floatingPointString' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'floatingPointString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// A `Parser` matching either a line feed carriage return, `\n\r`,
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/StringParsing.swift:282:23: warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
280 | /// character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
281 | /// ```
282 | public static let newline = character { $0 == "\n" } <* character { $0 == "\r" } <|> (character { $0 == "\n" } )
| |- warning: static property 'newline' is not concurrency-safe because non-'Sendable' type 'Parser<Substring, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/FFCParserCombinator/FFCParserCombinator.swift:18:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
16 | ///
17 | /// See static parsers in `BasicParser` for simple examples.
18 | public struct Parser<S, A> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
19 | let parse: (S) -> (A, S)?
20 | }
Build complete! (5.97s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FFCParserCombinator",
"name" : "FFCParserCombinator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FFCParserCombinator",
"targets" : [
"FFCParserCombinator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FFCParserCombinatorTests",
"module_type" : "SwiftTarget",
"name" : "FFCParserCombinatorTests",
"path" : "Tests/FFCParserCombinatorTests",
"sources" : [
"FFCParserCombinatorTests.swift",
"StringParsing.swift"
],
"target_dependencies" : [
"FFCParserCombinator"
],
"type" : "test"
},
{
"c99name" : "FFCParserCombinator",
"module_type" : "SwiftTarget",
"name" : "FFCParserCombinator",
"path" : "Sources/FFCParserCombinator",
"product_memberships" : [
"FFCParserCombinator"
],
"sources" : [
"FFCParserCombinator.swift",
"StringParsing.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.