Build Information
Successful build of Syntax with Swift 6.0 for Linux.
Swift 6 data race errors: 32
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[66/80] Compiling Syntax IntLiteral.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[67/80] Compiling Syntax JavaScriptEscapeStrategy.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[68/80] Compiling Syntax StringEscapeStrategy.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[69/80] Compiling Syntax StringLiteral.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[70/80] Compiling Syntax SwiftEscapeStrategy.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[71/80] Compiling Syntax Maybe.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let doublePrefixes: Set<String> = Set((0...9).map { "\($0)." } + (0...9).map { "\(-$0)." })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:5:13: warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| `- warning: let 'numberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
6 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 |
2 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | @_exported import SyntaxTree
4 |
5 | private let numberFormatter = NumberFormatter()
| |- note: annotate 'numberFormatter' with '@MainActor' 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 | private let integerPrefixes: Set<String> = Set((0...9).map { String($0) } + (1...9).map { String(-$0) })
7 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[72/80] Compiling Syntax ExpressionMatch.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[73/80] Compiling Syntax EitherParserBuilder.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[74/80] Compiling Syntax ParserBuilder.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[75/80] Compiling Syntax AnyParser.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[76/80] Compiling Syntax Associativity.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[77/80] Compiling Syntax BinaryOperation.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[78/80] Compiling Syntax BinaryOperationParser.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[79/80] Compiling Syntax BinaryOperationParserError.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
[80/80] Compiling Syntax BinaryOperator.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:235: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
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BinaryOperationParser<Content : Parser, Operator: BinaryOperator>: Parser {
:
233 | extension Kind {
234 |
235 | 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
236 | public static let binaryOperator: Kind = "binary.operator"
237 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift:236: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
234 |
235 | public static let binaryOperation: Kind = "binary.operation"
236 | 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
237 |
238 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParserError.swift:5:10: warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
3 |
4 | public enum BinaryOperationParserError: Error {
5 | case failedToParseABinaryOperation(member: Any)
| `- warning: associated value 'failedToParseABinaryOperation(member:)' of 'Sendable'-conforming enum 'BinaryOperationParserError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | }
7 |
Build complete! (68.06s)
Build complete.
{
"dependencies" : [
{
"identity" : "syntaxtree",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nerdsupremacist/SyntaxTree.git"
}
],
"manifest_display_name" : "Syntax",
"name" : "Syntax",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Syntax",
"targets" : [
"Syntax"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SyntaxTests",
"module_type" : "SwiftTarget",
"name" : "SyntaxTests",
"path" : "Tests/SyntaxTests",
"sources" : [
"Expression/Expression+Operator.swift",
"Expression/Expression.swift",
"Expression/ExpressionParser.swift",
"ExpressionSyntaxTests.swift",
"HTML/HTMLNode.swift",
"HTML/HTMLNodeParser.swift",
"HTMLSyntaxTests.swift",
"JSON/JSON.swift",
"JSON/JSONParser.swift",
"JSONSyntaxTests.swift"
],
"target_dependencies" : [
"Syntax"
],
"type" : "test"
},
{
"c99name" : "Syntax",
"module_type" : "SwiftTarget",
"name" : "Syntax",
"path" : "Sources/Syntax",
"product_dependencies" : [
"SyntaxTree"
],
"product_memberships" : [
"Syntax"
],
"sources" : [
"AnnotatedString.swift",
"Cache/Cache.swift",
"Cache/OrderedSet.swift",
"Errors/AnnotatedError.swift",
"Errors/DiagnosticError.swift",
"Errors/ParserError.swift",
"Errors/ScannerError.swift",
"Errors/ScannerErrorHandler.swift",
"Errors/WhiteSpaceConsumer.swift",
"ExpressionMatch.swift",
"FunctionBuilder/EitherParserBuilder.swift",
"FunctionBuilder/ParserBuilder.swift",
"Implementations/AnyParser.swift",
"Implementations/Common/BinaryOperation/Associativity.swift",
"Implementations/Common/BinaryOperation/BinaryOperation.swift",
"Implementations/Common/BinaryOperation/BinaryOperationParser.swift",
"Implementations/Common/BinaryOperation/BinaryOperationParserError.swift",
"Implementations/Common/BinaryOperation/BinaryOperator.swift",
"Implementations/Common/BinaryOperation/MemberOfBinaryOperation.swift",
"Implementations/Common/BooleanLiteral.swift",
"Implementations/Common/DoubleLiteral.swift",
"Implementations/Common/IntLiteral.swift",
"Implementations/Common/StringLiterals/JavaScriptEscapeStrategy.swift",
"Implementations/Common/StringLiterals/StringEscapeStrategy.swift",
"Implementations/Common/StringLiterals/StringLiteral.swift",
"Implementations/Common/StringLiterals/SwiftEscapeStrategy.swift",
"Implementations/Modifications/Maybe.swift",
"Implementations/Modifications/Parser+annotate.swift",
"Implementations/Modifications/Parser+ignoreOutput.swift",
"Implementations/Modifications/Parser+kind.swift",
"Implementations/Modifications/Parser+map+location.swift",
"Implementations/Modifications/Parser+map.swift",
"Implementations/Modifications/Parser+optimize.swift",
"Implementations/Modifications/Parser+preventRecursion.swift",
"Implementations/Modifications/Parser+repeatUntil.swift",
"Implementations/Modifications/Parser+separated.swift",
"Implementations/Modifications/Repeat.swift",
"Implementations/Structure/Annotated.swift",
"Implementations/Structure/AnnotatedUntil.swift",
"Implementations/Structure/Either.swift",
"Implementations/Structure/Group.swift",
"Implementations/Structure/IfElseConditionalParser.swift",
"Implementations/Structure/Leaf.swift",
"Implementations/Structure/TupleParser.swift",
"Implementations/Tokens/EmptyParser.swift",
"Implementations/Tokens/RegexBuilder+support.swift",
"Implementations/Tokens/RegularExpression.swift",
"Implementations/Tokens/String+Parser.swift",
"Implementations/Tokens/Token.swift",
"Implementations/Tokens/Word.swift",
"Implementations/neverBody.swift",
"Internals/InternalParser.swift",
"Internals/InternalParserBuilder.swift",
"Internals/MemoizationKey.swift",
"Internals/MemoizationStorage.swift",
"Internals/Memoized.swift",
"Internals/Node.swift",
"Internals/Parser+internalParser.swift",
"Internals/Scanner.swift",
"Internals/ScannerState.swift",
"Internals/Stack.swift",
"Internals/StandardInternalParserBuilderContext.swift",
"Internals/StandardScanner.swift",
"Internals/String+casing.swift",
"Located.swift",
"Parser.swift",
"ParserOption.swift",
"RecursiveParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.