Build Information
Failed to build Syntax, reference 2.0.0 (602cfa
), with Swift 6.0 for Linux on 2 Nov 2024 12:33:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Word.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct Word: Parser, Hashable {
:
36 | extension Kind {
37 |
38 | public static let wordMatch: Kind = "word.match"
| |- note: annotate 'wordMatch' 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
39 |
40 | }
[53/80] Compiling Syntax Parser+internalParser.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Word.swift:38:23: warning: static property 'wordMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 | extension Kind {
37 |
38 | public static let wordMatch: Kind = "word.match"
| `- warning: static property 'wordMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Word.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct Word: Parser, Hashable {
:
36 | extension Kind {
37 |
38 | public static let wordMatch: Kind = "word.match"
| |- note: annotate 'wordMatch' 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
39 |
40 | }
[54/80] Compiling Syntax Scanner.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[55/80] Compiling Syntax ScannerState.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[56/80] Compiling Syntax Stack.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[57/80] Compiling Syntax StandardScanner.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[58/80] Compiling Syntax String+casing.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[59/80] Compiling Syntax Located.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[60/80] Compiling Syntax Parser.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[61/80] Compiling Syntax ParserOption.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[62/80] Compiling Syntax BinaryOperationParser.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[63/80] Compiling Syntax BinaryOperationParserError.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[64/80] Compiling Syntax BinaryOperator.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[65/80] Compiling Syntax MemberOfBinaryOperation.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[66/80] Compiling Syntax BooleanLiteral.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[67/80] Compiling Syntax DoubleLiteral.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[68/80] Compiling Syntax IntLiteral.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[69/80] Compiling Syntax JavaScriptEscapeStrategy.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[70/80] Compiling Syntax StringEscapeStrategy.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[71/80] Emitting module Syntax
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:211:23: warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| `- warning: static property 'binaryOperation' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
209 | extension Kind {
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
| |- note: annotate 'binaryOperation' 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
212 | public static let binaryOperator: Kind = "binary.operator"
213 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:212:23: warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public static let binaryOperation: Kind = "binary.operation"
212 | public static let binaryOperator: Kind = "binary.operator"
| |- warning: static property 'binaryOperator' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binaryOperator' 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
213 |
214 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' 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
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' 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
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' 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
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' 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
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' 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
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' 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
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' 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
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' 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
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' 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
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' 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
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' 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
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/RegularExpression.swift:37:23: warning: static property 'expressionMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
35 | extension Kind {
36 |
37 | public static let expressionMatch: Kind = "regular.expression.match"
| `- warning: static property 'expressionMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/RegularExpression.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct RegularExpression: Parser, Hashable {
:
35 | extension Kind {
36 |
37 | public static let expressionMatch: Kind = "regular.expression.match"
| |- note: annotate 'expressionMatch' 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
38 |
39 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/String+Parser.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind?' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension String: Parser {
6 | public static let kind: Kind? = nil
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind?' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public var body: AnyParser<Void> {
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/String+Parser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | extension String: Parser {
6 | public static let kind: Kind? = nil
| |- note: annotate 'kind' 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
7 |
8 | public var body: AnyParser<Void> {
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Token.swift:37:23: warning: static property 'tokenMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
35 | extension Kind {
36 |
37 | public static let tokenMatch: Kind = "token.match"
| `- warning: static property 'tokenMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Token.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | struct Token: Parser, Hashable {
:
35 | extension Kind {
36 |
37 | public static let tokenMatch: Kind = "token.match"
| |- note: annotate 'tokenMatch' 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
38 |
39 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Word.swift:38:23: warning: static property 'wordMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 | extension Kind {
37 |
38 | public static let wordMatch: Kind = "word.match"
| `- warning: static property 'wordMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Word.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct Word: Parser, Hashable {
:
36 | extension Kind {
37 |
38 | public static let wordMatch: Kind = "word.match"
| |- note: annotate 'wordMatch' 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
39 |
40 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
440 | }
441 |
442 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 | // No-op
444 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
403 | typealias Annotation = AnnotatedString<T>.Annotation
404 |
:
448 | }
449 |
450 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 | return annotations.last?.value as? T
452 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
598 | }
599 |
600 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 | current.store(value: value)
602 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
569 | let scanning: ScanningStorage<T>
570 | let inplace: InPlaceStorage
:
606 | }
607 |
608 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 | return try current.pop(of: type)
610 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' 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
6 |
7 | public protocol Parser {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' 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
11 |
12 | }
[72/80] Compiling Syntax ExpressionMatch.swift
[73/80] Compiling Syntax EitherParserBuilder.swift
[74/80] Compiling Syntax ParserBuilder.swift
[75/80] Compiling Syntax PartialEmptyParserResult.swift
[76/80] Compiling Syntax PartialParserResult.swift
[77/80] Compiling Syntax PartialResult.swift
[78/80] Compiling Syntax AnyParser.swift
[79/80] Compiling Syntax Associativity.swift
[80/80] Compiling Syntax BinaryOperation.swift
BUILD FAILURE 6.0 linux