Build Information
Successful build of TooMuchTheme with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ThatsJustCheesy/TooMuchTheme.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ThatsJustCheesy/TooMuchTheme
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4270886 Fix typos in README
Cloned https://github.com/ThatsJustCheesy/TooMuchTheme.git
Revision (git rev-parse @):
427088605981dbf9b9c4cec50c48055378b2a162
SUCCESS checkout https://github.com/ThatsJustCheesy/TooMuchTheme.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/ThatsJustCheesy/TooMuchTheme.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/10] Compiling FootlessParser Parsers.swift
[5/10] Compiling FootlessParser Converters.swift
[6/10] Compiling FootlessParser Parser.swift
[7/10] Compiling FootlessParser Parser+Operators.swift
[8/10] Compiling FootlessParser Error.swift
[9/10] Emitting module FootlessParser
[10/10] Compiling FootlessParser StringParser.swift
[11/20] Compiling TooMuchTheme Theme.swift
[12/20] Compiling TooMuchTheme Style.swift
[13/20] Compiling TooMuchTheme ScopeSelector.swift
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:32:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let parser: Parser<Character, Self> =
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | curry { Composite(base: $0, compositions: $1) } <^>
34 | (zeroOrMore(whitespacesOrNewline) *> Expression.parser)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
1 | import FootlessParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
2 |
3 | // See https://macromates.com/textmate/manual/references
:
30 | }
31 |
32 | static let parser: Parser<Character, Self> =
| |- note: annotate 'parser' 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
33 | curry { Composite(base: $0, compositions: $1) } <^>
34 | (zeroOrMore(whitespacesOrNewline) *> Expression.parser)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parsers.swift:33:12: warning: let 'whitespacesOrNewline' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | Z*, U+000A ~ U+000D, and U+0085.
32 | */
33 | public let whitespacesOrNewline = char(CharacterSet.whitespacesAndNewlines, name: "whitespacesOrNewline")
| |- warning: let 'whitespacesOrNewline' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespacesOrNewline' 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
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:125:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression>' may have shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
126 | curry(Expression.init) <^>
127 | (zeroOrMore(whitespacesOrNewline) *> (token("-") *> pure(true) <|> pure(false)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:68:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition>' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
69 | curry(Composition.init) <^>
70 | (zeroOrMore(whitespacesOrNewline) *> Operation.parser) <*> Expression.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:57:28: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition.Operation>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | case difference = "-"
56 |
57 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition.Operation>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
58 | { _ in Operation.union } <^> token("|") <|>
59 | { _ in Operation.intersection } <^> token("&") <|>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:105:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
103 | }
104 |
105 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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 | Term.filter <^> Filter.parser <|>
107 | Term.group <^> Group.parser <|>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:209:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | }
208 |
209 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
210 | curry(Filter.init) <^>
211 | (zeroOrMore(whitespacesOrNewline) *> Side.parser) <*> Term.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:231:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Group>' may have shared mutable state; this is an error in the Swift 6 language mode
229 | }
230 |
231 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Group>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
232 | Group.init <^> (zeroOrMore(whitespacesOrNewline) *> token("(") *> lazy(ScopeSelector.parser) <* zeroOrMore(whitespacesOrNewline) <* token(")"))
233 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:276:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path>' may have shared mutable state; this is an error in the Swift 6 language mode
274 | }
275 |
276 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
277 | curry { Path(beginAnchor: $0, endAnchor: $3, root: $1, descendents: $2) } <^>
278 | (zeroOrMore(whitespacesOrNewline) *> (token("^") *> pure(true) <|> pure(false)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:155:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Side>' may have shared mutable state; this is an error in the Swift 6 language mode
153 | case both = "B:"
154 |
155 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Side>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
156 | (
157 | { _ in Side.left } <^> token("L") <|>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:182:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
180 | }
181 |
182 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
183 | Term.group <^> Group.parser <|>
184 | Term.path <^> Path.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:338:16: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector>' may have shared mutable state; this is an error in the Swift 6 language mode
336 | }
337 |
338 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
339 | ScopeSelector.init <^> (
340 | (extend <^> Composite.parser <*> zeroOrMore(zeroOrMore(whitespacesOrNewline) *> token(",") *> Composite.parser))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:312:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent>' may have shared mutable state; this is an error in the Swift 6 language mode
310 | }
311 |
312 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
313 | curry(Descendent.init) <^> (zeroOrMore(whitespacesOrNewline) *> Selector.parser) <*> (zeroOrMore(whitespacesOrNewline) *> ScopeName.parser)
314 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:302:28: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent.Selector>' may have shared mutable state; this is an error in the Swift 6 language mode
300 | case direct = ">"
301 |
302 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent.Selector>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
303 | { _ in Selector.direct } <^> token(">") <|>
304 | { _ in Selector.transitive } <^> pure("")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
[14/20] Emitting module TooMuchTheme
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/Color.swift:62:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ColorParseError' has non-sendable type 'ColorParseError.Reason'; this is an error in the Swift 6 language mode
60 |
61 | public var string: String
62 | public var reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ColorParseError' has non-sendable type 'ColorParseError.Reason'; this is an error in the Swift 6 language mode
63 |
64 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
65 |
66 | case notHexInteger
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:32:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite>' may have shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | static let parser: Parser<Character, Self> =
| `- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite>' may have shared mutable state; this is an error in the Swift 6 language mode
33 | curry { Composite(base: $0, compositions: $1) } <^>
34 | (zeroOrMore(whitespacesOrNewline) *> Expression.parser)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
1 | import FootlessParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FootlessParser'
2 |
3 | // See https://macromates.com/textmate/manual/references
:
30 | }
31 |
32 | static let parser: Parser<Character, Self> =
| |- note: annotate 'parser' 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
33 | curry { Composite(base: $0, compositions: $1) } <^>
34 | (zeroOrMore(whitespacesOrNewline) *> Expression.parser)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parsers.swift:33:12: warning: let 'whitespacesOrNewline' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
31 | Z*, U+000A ~ U+000D, and U+0085.
32 | */
33 | public let whitespacesOrNewline = char(CharacterSet.whitespacesAndNewlines, name: "whitespacesOrNewline")
| |- warning: let 'whitespacesOrNewline' is not concurrency-safe because non-'Sendable' type 'Parser<Character, Character>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whitespacesOrNewline' 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
34 |
35 | /**
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: consider making generic struct 'Parser' conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:125:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression>' may have shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
126 | curry(Expression.init) <^>
127 | (zeroOrMore(whitespacesOrNewline) *> (token("-") *> pure(true) <|> pure(false)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:68:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition>' may have shared mutable state; this is an error in the Swift 6 language mode
66 | }
67 |
68 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
69 | curry(Composition.init) <^>
70 | (zeroOrMore(whitespacesOrNewline) *> Operation.parser) <*> Expression.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:57:28: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition.Operation>' may have shared mutable state; this is an error in the Swift 6 language mode
55 | case difference = "-"
56 |
57 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Composite.Composition.Operation>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
58 | { _ in Operation.union } <^> token("|") <|>
59 | { _ in Operation.intersection } <^> token("&") <|>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:105:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
103 | }
104 |
105 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Expression.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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 | Term.filter <^> Filter.parser <|>
107 | Term.group <^> Group.parser <|>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:209:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter>' may have shared mutable state; this is an error in the Swift 6 language mode
207 | }
208 |
209 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
210 | curry(Filter.init) <^>
211 | (zeroOrMore(whitespacesOrNewline) *> Side.parser) <*> Term.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:231:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Group>' may have shared mutable state; this is an error in the Swift 6 language mode
229 | }
230 |
231 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Group>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
232 | Group.init <^> (zeroOrMore(whitespacesOrNewline) *> token("(") *> lazy(ScopeSelector.parser) <* zeroOrMore(whitespacesOrNewline) <* token(")"))
233 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:276:20: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path>' may have shared mutable state; this is an error in the Swift 6 language mode
274 | }
275 |
276 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
277 | curry { Path(beginAnchor: $0, endAnchor: $3, root: $1, descendents: $2) } <^>
278 | (zeroOrMore(whitespacesOrNewline) *> (token("^") *> pure(true) <|> pure(false)))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:155:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Side>' may have shared mutable state; this is an error in the Swift 6 language mode
153 | case both = "B:"
154 |
155 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Side>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
156 | (
157 | { _ in Side.left } <^> token("L") <|>
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:182:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
180 | }
181 |
182 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Filter.Term>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
183 | Term.group <^> Group.parser <|>
184 | Term.path <^> Path.parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:338:16: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector>' may have shared mutable state; this is an error in the Swift 6 language mode
336 | }
337 |
338 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
339 | ScopeSelector.init <^> (
340 | (extend <^> Composite.parser <*> zeroOrMore(zeroOrMore(whitespacesOrNewline) *> token(",") *> Composite.parser))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:312:24: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent>' may have shared mutable state; this is an error in the Swift 6 language mode
310 | }
311 |
312 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
313 | curry(Descendent.init) <^> (zeroOrMore(whitespacesOrNewline) *> Selector.parser) <*> (zeroOrMore(whitespacesOrNewline) *> ScopeName.parser)
314 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/ScopeSelector.swift:302:28: warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent.Selector>' may have shared mutable state; this is an error in the Swift 6 language mode
300 | case direct = ">"
301 |
302 | static let parser: Parser<Character, Self> =
| |- warning: static property 'parser' is not concurrency-safe because non-'Sendable' type 'Parser<Character, ScopeSelector.Path.Descendent.Selector>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'parser' 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
303 | { _ in Selector.direct } <^> token(">") <|>
304 | { _ in Selector.transitive } <^> pure("")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FootlessParser/Sources/FootlessParser/Parser.swift:2:15: note: generic struct 'Parser' does not conform to the 'Sendable' protocol
1 | // would've liked a generic typealias here.
2 | public struct Parser<Token, Output> {
| `- note: generic struct 'Parser' does not conform to the 'Sendable' protocol
3 | public typealias ParseFunction = (AnyCollection<Token>) throws -> (output: Output, remainder: AnyCollection<Token>)
4 | public let parse: ParseFunction
[15/20] Compiling TooMuchTheme Scope.swift
[16/20] Compiling TooMuchTheme AttributedString.swift
[17/20] Compiling TooMuchTheme Context.swift
[18/20] Compiling TooMuchTheme ScopeName.swift
[19/20] Compiling TooMuchTheme FontProvider.swift
[20/20] Compiling TooMuchTheme Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/TooMuchTheme/Color.swift:62:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ColorParseError' has non-sendable type 'ColorParseError.Reason'; this is an error in the Swift 6 language mode
60 |
61 | public var string: String
62 | public var reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ColorParseError' has non-sendable type 'ColorParseError.Reason'; this is an error in the Swift 6 language mode
63 |
64 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
65 |
66 | case notHexInteger
Build complete! (31.22s)
Fetching https://github.com/kareman/FootlessParser
[1/1836] Fetching footlessparser
Fetched https://github.com/kareman/FootlessParser from cache (1.30s)
Computing version for https://github.com/kareman/FootlessParser
Computed https://github.com/kareman/FootlessParser at 0.5.2 (2.63s)
Creating working copy for https://github.com/kareman/FootlessParser
Working copy of https://github.com/kareman/FootlessParser resolved at 0.5.2
Build complete.
{
"dependencies" : [
{
"identity" : "footlessparser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.2",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/FootlessParser"
}
],
"manifest_display_name" : "TooMuchTheme",
"name" : "TooMuchTheme",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TooMuchTheme",
"targets" : [
"TooMuchTheme"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TooMuchThemeTests",
"module_type" : "SwiftTarget",
"name" : "TooMuchThemeTests",
"path" : "Tests/TooMuchThemeTests",
"sources" : [
"ScopeSelectorMatchTests.swift",
"ScopeSelectorParseTests.swift"
],
"target_dependencies" : [
"TooMuchTheme"
],
"type" : "test"
},
{
"c99name" : "TooMuchTheme",
"module_type" : "SwiftTarget",
"name" : "TooMuchTheme",
"path" : "Sources/TooMuchTheme",
"product_dependencies" : [
"FootlessParser"
],
"product_memberships" : [
"TooMuchTheme"
],
"sources" : [
"AttributedString.swift",
"Color.swift",
"Context.swift",
"FontProvider.swift",
"Scope.swift",
"ScopeName.swift",
"ScopeSelector.swift",
"Style.swift",
"Theme.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.