Build Information
Failed to build Syntax, reference 2.0.0 (602cfa
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 12:39:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
452 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[61/79] Compiling Syntax Node.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[62/79] Compiling Syntax Parser+internalParser.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[63/79] Compiling Syntax Scanner.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[64/79] Compiling Syntax ScannerState.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[65/79] Compiling Syntax MemberOfBinaryOperation.swift
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
21 | }
22 | .map { annotated in
23 | annotated.string { $0 }
| `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 | }
25 | .kind(.stringContent)
[66/79] Compiling Syntax BooleanLiteral.swift
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
21 | }
22 | .map { annotated in
23 | annotated.string { $0 }
| `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 | }
25 | .kind(.stringContent)
[67/79] Compiling Syntax DoubleLiteral.swift
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
21 | }
22 | .map { annotated in
23 | annotated.string { $0 }
| `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 | }
25 | .kind(.stringContent)
[68/79] Compiling Syntax IntLiteral.swift
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
21 | }
22 | .map { annotated in
23 | annotated.string { $0 }
| `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 | }
25 | .kind(.stringContent)
[69/79] Compiling Syntax JavaScriptEscapeStrategy.swift
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
21 | }
22 | .map { annotated in
23 | annotated.string { $0 }
| `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 | }
25 | .kind(.stringContent)
[70/79] Compiling Syntax StringEscapeStrategy.swift
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
21 | }
22 | .map { annotated in
23 | annotated.string { $0 }
| `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 | }
25 | .kind(.stringContent)
[71/79] Compiling Syntax StringLiteral.swift
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
21 | }
22 | .map { annotated in
23 | annotated.string { $0 }
| `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 | }
25 | .kind(.stringContent)
[72/79] Emitting module Syntax
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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
/Users/admin/builder/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() { }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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"
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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> {
/Users/admin/builder/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
/Users/admin/builder/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> {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
[73/79] Compiling Syntax ScannerErrorHandler.swift
[74/79] Compiling Syntax WhiteSpaceConsumer.swift
[75/79] Compiling Syntax ExpressionMatch.swift
[76/79] Compiling Syntax EitherParserBuilder.swift
[77/79] Compiling Syntax ParserBuilder.swift
[78/79] Compiling Syntax PartialEmptyParserResult.swift
[79/79] Compiling Syntax PartialParserResult.swift
BUILD FAILURE 6.0 macosSpm