Build Information
Successful build of Parsey with Swift 6.0 for Linux.
Swift 6 data race errors: 16
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rxwei/parsey.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/rxwei/parsey
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bcc9279 Make compile with Swift 4.2.
Cloned https://github.com/rxwei/parsey.git
Revision (git rev-parse @):
bcc927948f454a29cb7a8177e3c17a2fdb233e68
SUCCESS checkout https://github.com/rxwei/parsey.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/rxwei/parsey.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Parsey Parser.swift
/host/spi-builder-workspace/Sources/Parsey/Reducible.swift:15:5: warning: 'public' modifier is redundant for instance method declared in a public extension
13 |
14 | public extension Reducible {
15 | public func mapReduce<Result: Associable>(_ transform: (Element) -> Result) -> Result {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
16 | return reduce(Result.identity) { $0 + transform($1) }
17 | }
/host/spi-builder-workspace/Sources/Parsey/Reducible.swift:22:5: warning: 'public' modifier is redundant for instance method declared in a public extension
20 | public extension Reducible where Element : Associable {
21 | @inline(__always)
22 | public func reduced() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
23 | return mapReduce{$0}
24 | }
[4/17] Compiling Parsey Reducible.swift
/host/spi-builder-workspace/Sources/Parsey/Reducible.swift:15:5: warning: 'public' modifier is redundant for instance method declared in a public extension
13 |
14 | public extension Reducible {
15 | public func mapReduce<Result: Associable>(_ transform: (Element) -> Result) -> Result {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
16 | return reduce(Result.identity) { $0 + transform($1) }
17 | }
/host/spi-builder-workspace/Sources/Parsey/Reducible.swift:22:5: warning: 'public' modifier is redundant for instance method declared in a public extension
20 | public extension Reducible where Element : Associable {
21 | @inline(__always)
22 | public func reduced() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
23 | return mapReduce{$0}
24 | }
[5/19] Compiling Parsey Collection.swift
/host/spi-builder-workspace/Sources/Parsey/Collection.swift:15:5: warning: 'public' modifier is redundant for initializer declared in a public extension
13 | #if swift(>=4.0)
14 | public extension SingletonCollection where Self : ExpressibleByArrayLiteral, Self.ArrayLiteralElement == Element {
15 | public init(singleton: Element) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
16 | self = [singleton]
17 | }
/host/spi-builder-workspace/Sources/Parsey/Collection.swift:29:18: warning: 'CharacterView' is deprecated: Please use String directly
27 | }
28 |
29 | extension String.CharacterView : SingletonCollection {
| `- warning: 'CharacterView' is deprecated: Please use String directly
30 |
31 | public init(singleton: Character) {
[6/19] Compiling Parsey Combinators.swift
/host/spi-builder-workspace/Sources/Parsey/Collection.swift:15:5: warning: 'public' modifier is redundant for initializer declared in a public extension
13 | #if swift(>=4.0)
14 | public extension SingletonCollection where Self : ExpressibleByArrayLiteral, Self.ArrayLiteralElement == Element {
15 | public init(singleton: Element) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
16 | self = [singleton]
17 | }
/host/spi-builder-workspace/Sources/Parsey/Collection.swift:29:18: warning: 'CharacterView' is deprecated: Please use String directly
27 | }
28 |
29 | extension String.CharacterView : SingletonCollection {
| `- warning: 'CharacterView' is deprecated: Please use String directly
30 |
31 | public init(singleton: Character) {
[7/19] Emitting module Parsey
/host/spi-builder-workspace/Sources/Parsey/Collection.swift:15:5: warning: 'public' modifier is redundant for initializer declared in a public extension
13 | #if swift(>=4.0)
14 | public extension SingletonCollection where Self : ExpressibleByArrayLiteral, Self.ArrayLiteralElement == Element {
15 | public init(singleton: Element) {
| `- warning: 'public' modifier is redundant for initializer declared in a public extension
16 | self = [singleton]
17 | }
/host/spi-builder-workspace/Sources/Parsey/Collection.swift:29:18: warning: 'CharacterView' is deprecated: Please use String directly
27 | }
28 |
29 | extension String.CharacterView : SingletonCollection {
| `- warning: 'CharacterView' is deprecated: Please use String directly
30 |
31 | public init(singleton: Character) {
/host/spi-builder-workspace/Sources/Parsey/Error.swift:16:16: warning: stored property 'input' of 'Sendable'-conforming struct 'ParseFailure' has non-sendable type 'ParserInput'; this is an error in the Swift 6 language mode
14 | public struct ParseFailure : ParseError {
15 | public var expected: String?
16 | public var input: ParserInput
| `- warning: stored property 'input' of 'Sendable'-conforming struct 'ParseFailure' has non-sendable type 'ParserInput'; this is an error in the Swift 6 language mode
17 | internal var tagged: Bool = false
18 | internal var irrecoverable: Bool = false
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:13:15: note: consider making struct 'ParserInput' conform to the 'Sendable' protocol
11 |
12 | /// Input with location tracking
13 | public struct ParserInput {
| `- note: consider making struct 'ParserInput' conform to the 'Sendable' protocol
14 | public var lineStream: Substring
15 | public var stream: Substring
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:86:16: warning: static property 'space' 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
84 | public extension Lexer {
85 |
86 | static let space = character(" ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
87 | static let tab = character("\t")
88 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:87:16: warning: static property 'tab' 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
85 |
86 | static let space = character(" ")
87 | static let tab = character("\t")
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' 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
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:89:16: warning: static property 'whitespace' 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
87 | static let tab = character("\t")
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
| |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let whitespaces = whitespace+
91 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:90:16: warning: static property 'whitespaces' 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
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
90 | static let whitespaces = whitespace+
| |- warning: static property 'whitespaces' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaces' 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
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:92:16: warning: static property 'newLine' 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
90 | static let whitespaces = whitespace+
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '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
93 | static let newLines = newLine+
94 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:93:16: warning: static property 'newLines' 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
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
93 | static let newLines = newLine+
| |- warning: static property 'newLines' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLines' 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
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:95:16: warning: static property 'upperLetter' 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
93 | static let newLines = newLine+
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
| |- warning: static property 'upperLetter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'upperLetter' 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
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
97 | static let letter = upperLetter | lowerLetter
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:96:16: warning: static property 'lowerLetter' 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
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
| |- warning: static property 'lowerLetter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowerLetter' 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
97 | static let letter = upperLetter | lowerLetter
98 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:97:16: warning: static property 'letter' 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
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
97 | static let letter = upperLetter | lowerLetter
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'letter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:99:16: warning: static property 'digit' 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
97 | static let letter = upperLetter | lowerLetter
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
| |- warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '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
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:100:16: warning: static property 'unsignedInteger' 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
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
100 | static let unsignedInteger = digit.manyConcatenated()
| |- warning: static property 'unsignedInteger' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsignedInteger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:101:16: warning: static property 'unsignedDecimal' 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
99 | static let digit = anyCharacter(in: "0"..."9")
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
| |- warning: static property 'unsignedDecimal' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsignedDecimal' 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
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:102:16: warning: static property 'signedInteger' 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
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
| |- warning: static property 'signedInteger' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedInteger' 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
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
104 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:103:16: warning: static property 'signedDecimal' 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
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
| |- warning: static property 'signedDecimal' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedDecimal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | static let end = Parser<String> { input in
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:105:16: warning: static property 'end' 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
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
104 |
105 | static let end = Parser<String> { input in
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' 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
106 | guard input.isEmpty else {
107 | throw ParseFailure(input: input)
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:80:5: warning: 'public' modifier is redundant for operator function declared in a public extension
78 | public extension FloatingPoint {
79 |
80 | public static prefix func /(rhs: Self) -> (Self) -> Self {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
81 | return { $0 / rhs }
82 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:84:5: warning: 'public' modifier is redundant for operator function declared in a public extension
82 | }
83 |
84 | public static postfix func /(lhs: Self) -> (Self) -> Self {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
85 | return { lhs / $0 }
86 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:92:5: warning: 'public' modifier is redundant for operator function declared in a public extension
90 | public extension Comparable {
91 |
92 | public static prefix func ==(rhs: Self) -> (Self) -> Bool {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
93 | return { $0 == rhs }
94 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:96:5: warning: 'public' modifier is redundant for operator function declared in a public extension
94 | }
95 |
96 | public static prefix func !=(rhs: Self) -> (Self) -> Bool {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
97 | return { $0 != rhs }
98 | }
/host/spi-builder-workspace/Sources/Parsey/Reducible.swift:15:5: warning: 'public' modifier is redundant for instance method declared in a public extension
13 |
14 | public extension Reducible {
15 | public func mapReduce<Result: Associable>(_ transform: (Element) -> Result) -> Result {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
16 | return reduce(Result.identity) { $0 + transform($1) }
17 | }
/host/spi-builder-workspace/Sources/Parsey/Reducible.swift:22:5: warning: 'public' modifier is redundant for instance method declared in a public extension
20 | public extension Reducible where Element : Associable {
21 | @inline(__always)
22 | public func reduced() -> Element {
| `- warning: 'public' modifier is redundant for instance method declared in a public extension
23 | return mapReduce{$0}
24 | }
[8/19] Compiling Parsey Array.swift
[9/19] Compiling Parsey Associable.swift
[10/19] Compiling Parsey Mappable.swift
[11/19] Compiling Parsey Numeric.swift
[12/19] Compiling Parsey Operators.swift
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:80:5: warning: 'public' modifier is redundant for operator function declared in a public extension
78 | public extension FloatingPoint {
79 |
80 | public static prefix func /(rhs: Self) -> (Self) -> Self {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
81 | return { $0 / rhs }
82 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:84:5: warning: 'public' modifier is redundant for operator function declared in a public extension
82 | }
83 |
84 | public static postfix func /(lhs: Self) -> (Self) -> Self {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
85 | return { lhs / $0 }
86 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:92:5: warning: 'public' modifier is redundant for operator function declared in a public extension
90 | public extension Comparable {
91 |
92 | public static prefix func ==(rhs: Self) -> (Self) -> Bool {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
93 | return { $0 == rhs }
94 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:96:5: warning: 'public' modifier is redundant for operator function declared in a public extension
94 | }
95 |
96 | public static prefix func !=(rhs: Self) -> (Self) -> Bool {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
97 | return { $0 != rhs }
98 | }
/host/spi-builder-workspace/Sources/Parsey/Optional.swift:55:16: warning: function call causes an infinite recursion
53 | @inline(__always)
54 | public func flatMap<MapTarget>(_ transform: @escaping (MapSource) throws -> MapTarget?) -> MapTarget? {
55 | return flatMap(transform as (Wrapped) throws -> MapTarget?)
| `- warning: function call causes an infinite recursion
56 | }
57 |
[13/19] Compiling Parsey Optional.swift
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:80:5: warning: 'public' modifier is redundant for operator function declared in a public extension
78 | public extension FloatingPoint {
79 |
80 | public static prefix func /(rhs: Self) -> (Self) -> Self {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
81 | return { $0 / rhs }
82 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:84:5: warning: 'public' modifier is redundant for operator function declared in a public extension
82 | }
83 |
84 | public static postfix func /(lhs: Self) -> (Self) -> Self {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
85 | return { lhs / $0 }
86 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:92:5: warning: 'public' modifier is redundant for operator function declared in a public extension
90 | public extension Comparable {
91 |
92 | public static prefix func ==(rhs: Self) -> (Self) -> Bool {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
93 | return { $0 == rhs }
94 | }
/host/spi-builder-workspace/Sources/Parsey/Operators.swift:96:5: warning: 'public' modifier is redundant for operator function declared in a public extension
94 | }
95 |
96 | public static prefix func !=(rhs: Self) -> (Self) -> Bool {
| `- warning: 'public' modifier is redundant for operator function declared in a public extension
97 | return { $0 != rhs }
98 | }
/host/spi-builder-workspace/Sources/Parsey/Optional.swift:55:16: warning: function call causes an infinite recursion
53 | @inline(__always)
54 | public func flatMap<MapTarget>(_ transform: @escaping (MapSource) throws -> MapTarget?) -> MapTarget? {
55 | return flatMap(transform as (Wrapped) throws -> MapTarget?)
| `- warning: function call causes an infinite recursion
56 | }
57 |
[14/19] Compiling Parsey Sequence.swift
[15/19] Compiling Parsey Set.swift
[16/19] Compiling Parsey Error.swift
/host/spi-builder-workspace/Sources/Parsey/Error.swift:16:16: warning: stored property 'input' of 'Sendable'-conforming struct 'ParseFailure' has non-sendable type 'ParserInput'; this is an error in the Swift 6 language mode
14 | public struct ParseFailure : ParseError {
15 | public var expected: String?
16 | public var input: ParserInput
| `- warning: stored property 'input' of 'Sendable'-conforming struct 'ParseFailure' has non-sendable type 'ParserInput'; this is an error in the Swift 6 language mode
17 | internal var tagged: Bool = false
18 | internal var irrecoverable: Bool = false
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:13:15: note: consider making struct 'ParserInput' conform to the 'Sendable' protocol
11 |
12 | /// Input with location tracking
13 | public struct ParserInput {
| `- note: consider making struct 'ParserInput' conform to the 'Sendable' protocol
14 | public var lineStream: Substring
15 | public var stream: Substring
[17/19] Compiling Parsey Function.swift
/host/spi-builder-workspace/Sources/Parsey/Error.swift:16:16: warning: stored property 'input' of 'Sendable'-conforming struct 'ParseFailure' has non-sendable type 'ParserInput'; this is an error in the Swift 6 language mode
14 | public struct ParseFailure : ParseError {
15 | public var expected: String?
16 | public var input: ParserInput
| `- warning: stored property 'input' of 'Sendable'-conforming struct 'ParseFailure' has non-sendable type 'ParserInput'; this is an error in the Swift 6 language mode
17 | internal var tagged: Bool = false
18 | internal var irrecoverable: Bool = false
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:13:15: note: consider making struct 'ParserInput' conform to the 'Sendable' protocol
11 |
12 | /// Input with location tracking
13 | public struct ParserInput {
| `- note: consider making struct 'ParserInput' conform to the 'Sendable' protocol
14 | public var lineStream: Substring
15 | public var stream: Substring
[18/19] Compiling Parsey Lexer.swift
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:86:16: warning: static property 'space' 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
84 | public extension Lexer {
85 |
86 | static let space = character(" ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
87 | static let tab = character("\t")
88 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:87:16: warning: static property 'tab' 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
85 |
86 | static let space = character(" ")
87 | static let tab = character("\t")
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' 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
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:89:16: warning: static property 'whitespace' 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
87 | static let tab = character("\t")
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
| |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let whitespaces = whitespace+
91 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:90:16: warning: static property 'whitespaces' 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
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
90 | static let whitespaces = whitespace+
| |- warning: static property 'whitespaces' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaces' 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
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:92:16: warning: static property 'newLine' 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
90 | static let whitespaces = whitespace+
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '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
93 | static let newLines = newLine+
94 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:93:16: warning: static property 'newLines' 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
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
93 | static let newLines = newLine+
| |- warning: static property 'newLines' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLines' 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
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:95:16: warning: static property 'upperLetter' 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
93 | static let newLines = newLine+
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
| |- warning: static property 'upperLetter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'upperLetter' 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
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
97 | static let letter = upperLetter | lowerLetter
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:96:16: warning: static property 'lowerLetter' 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
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
| |- warning: static property 'lowerLetter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowerLetter' 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
97 | static let letter = upperLetter | lowerLetter
98 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:97:16: warning: static property 'letter' 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
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
97 | static let letter = upperLetter | lowerLetter
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'letter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:99:16: warning: static property 'digit' 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
97 | static let letter = upperLetter | lowerLetter
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
| |- warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '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
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:100:16: warning: static property 'unsignedInteger' 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
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
100 | static let unsignedInteger = digit.manyConcatenated()
| |- warning: static property 'unsignedInteger' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsignedInteger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:101:16: warning: static property 'unsignedDecimal' 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
99 | static let digit = anyCharacter(in: "0"..."9")
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
| |- warning: static property 'unsignedDecimal' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsignedDecimal' 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
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:102:16: warning: static property 'signedInteger' 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
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
| |- warning: static property 'signedInteger' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedInteger' 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
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
104 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:103:16: warning: static property 'signedDecimal' 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
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
| |- warning: static property 'signedDecimal' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedDecimal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | static let end = Parser<String> { input in
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:105:16: warning: static property 'end' 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
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
104 |
105 | static let end = Parser<String> { input in
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' 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
106 | guard input.isEmpty else {
107 | throw ParseFailure(input: input)
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
[19/19] Compiling Parsey Location.swift
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:86:16: warning: static property 'space' 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
84 | public extension Lexer {
85 |
86 | static let space = character(" ")
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' 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
87 | static let tab = character("\t")
88 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:87:16: warning: static property 'tab' 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
85 |
86 | static let space = character(" ")
87 | static let tab = character("\t")
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' 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
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:89:16: warning: static property 'whitespace' 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
87 | static let tab = character("\t")
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
| |- warning: static property 'whitespace' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | static let whitespaces = whitespace+
91 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:90:16: warning: static property 'whitespaces' 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
88 |
89 | static let whitespace = anyCharacter(in: [" ", "\t"])
90 | static let whitespaces = whitespace+
| |- warning: static property 'whitespaces' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespaces' 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
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:92:16: warning: static property 'newLine' 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
90 | static let whitespaces = whitespace+
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '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
93 | static let newLines = newLine+
94 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:93:16: warning: static property 'newLines' 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
91 |
92 | static let newLine = anyCharacter(in: ["\n", "\r"])
93 | static let newLines = newLine+
| |- warning: static property 'newLines' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLines' 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
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:95:16: warning: static property 'upperLetter' 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
93 | static let newLines = newLine+
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
| |- warning: static property 'upperLetter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'upperLetter' 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
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
97 | static let letter = upperLetter | lowerLetter
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:96:16: warning: static property 'lowerLetter' 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
94 |
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
| |- warning: static property 'lowerLetter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowerLetter' 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
97 | static let letter = upperLetter | lowerLetter
98 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:97:16: warning: static property 'letter' 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
95 | static let upperLetter = anyCharacter(in: "A"..."Z")
96 | static let lowerLetter = anyCharacter(in: "a"..."z")
97 | static let letter = upperLetter | lowerLetter
| |- warning: static property 'letter' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'letter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:99:16: warning: static property 'digit' 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
97 | static let letter = upperLetter | lowerLetter
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
| |- warning: static property 'digit' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '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
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:100:16: warning: static property 'unsignedInteger' 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
98 |
99 | static let digit = anyCharacter(in: "0"..."9")
100 | static let unsignedInteger = digit.manyConcatenated()
| |- warning: static property 'unsignedInteger' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsignedInteger' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:101:16: warning: static property 'unsignedDecimal' 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
99 | static let digit = anyCharacter(in: "0"..."9")
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
| |- warning: static property 'unsignedDecimal' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unsignedDecimal' 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
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:102:16: warning: static property 'signedInteger' 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
100 | static let unsignedInteger = digit.manyConcatenated()
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
| |- warning: static property 'signedInteger' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedInteger' 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
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
104 |
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:103:16: warning: static property 'signedDecimal' 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
101 | static let unsignedDecimal = unsignedInteger + character(".") + unsignedInteger
102 | static let signedInteger = anyCharacter(in: "+-").maybeEmpty() + unsignedInteger
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
| |- warning: static property 'signedDecimal' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'signedDecimal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
105 | static let end = Parser<String> { input in
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
/host/spi-builder-workspace/Sources/Parsey/Lexer.swift:105:16: warning: static property 'end' 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
103 | static let signedDecimal = anyCharacter(in: "+-").maybeEmpty() + unsignedDecimal
104 |
105 | static let end = Parser<String> { input in
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Parser<String>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' 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
106 | guard input.isEmpty else {
107 | throw ParseFailure(input: input)
/host/spi-builder-workspace/Sources/Parsey/Parser.swift:238:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
236 |
237 | /// Generic parser structure
238 | public struct Parser<Target> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
239 |
240 | public typealias Input = ParserInput
Build complete! (13.48s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Parsey",
"name" : "Parsey",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Parsey",
"targets" : [
"Parsey"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ParseyTests",
"module_type" : "SwiftTarget",
"name" : "ParseyTests",
"path" : "Tests/ParseyTests",
"sources" : [
"ParseyTests.swift"
],
"target_dependencies" : [
"Parsey"
],
"type" : "test"
},
{
"c99name" : "Parsey",
"module_type" : "SwiftTarget",
"name" : "Parsey",
"path" : "Sources/Parsey",
"product_memberships" : [
"Parsey"
],
"sources" : [
"Array.swift",
"Associable.swift",
"Collection.swift",
"Combinators.swift",
"Error.swift",
"Function.swift",
"Lexer.swift",
"Location.swift",
"Mappable.swift",
"Numeric.swift",
"Operators.swift",
"Optional.swift",
"Parser.swift",
"Reducible.swift",
"Sequence.swift",
"Set.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.