Build Information
Successful build of Syntax, reference develop (1b9c20
), with Swift 6.0 for Linux on 2 Nov 2024 12:32:58 UTC.
Swift 6 data race errors: 29
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| |- 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
[51/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[52/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[53/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 nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
[54/80] Compiling Syntax Stack.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[55/80] Compiling Syntax StandardInternalParserBuilderContext.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[56/80] Compiling Syntax StandardScanner.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[57/80] Compiling Syntax String+casing.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[58/80] Compiling Syntax Located.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[59/80] Compiling Syntax Parser.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[60/80] Compiling Syntax ParserOption.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[61/80] Compiling Syntax RecursiveParser.swift
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[62/80] Compiling Syntax AnnotatedString.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[63/80] Compiling Syntax Cache.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[64/80] Compiling Syntax OrderedSet.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[65/80] Compiling Syntax AnnotatedError.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[66/80] Compiling Syntax DiagnosticError.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[67/80] Compiling Syntax ParserError.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[68/80] Compiling Syntax ScannerError.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[69/80] Compiling Syntax ScannerErrorHandler.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[70/80] Compiling Syntax WhiteSpaceConsumer.swift
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
[71/80] Emitting module Syntax
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:6:16: warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
6 | public let range: Range<Location>
| `- warning: stored property 'range' of 'Sendable'-conforming struct 'AnnotatedError' has non-sendable type 'Range<Location>'; this is an error in the Swift 6 language mode
7 | public let error: Error
8 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/AnnotatedError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct AnnotatedError: Error, DiagnosticError, LocalizedError, CustomStringConvertible, CustomDebugStringConvertible {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:20:16: warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
18 |
19 | public let index: String.Index
20 | public let location: Location
| `- warning: stored property 'location' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'Location'; this is an error in the Swift 6 language mode
21 | public let reason: Reason
22 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Location.swift:3:15: note: struct 'Location' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public struct Location: Comparable, Encodable {
| `- note: struct 'Location' does not conform to the 'Sendable' protocol
4 | public let line: Int
5 | public let column: Int
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct ScannerError: DiagnosticError {
/host/spi-builder-workspace/Sources/Syntax/Errors/ScannerError.swift:21:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
4 |
5 | public struct ScannerError: DiagnosticError {
6 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
7 | case unexpectedToken(String)
8 | case expected(String)
:
19 | public let index: String.Index
20 | public let location: Location
21 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'ScannerError' has non-sendable type 'ScannerError.Reason'; this is an error in the Swift 6 language mode
22 | }
23 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BinaryOperation/BinaryOperationParser.swift: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 |
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct BooleanLiteral: Parser {
6 | public static var kind: Kind = .booleanLiteral
| |- warning: static property 'kind' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kind' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | let trueValues: Set<String>
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:35:23: warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| `- warning: static property 'booleanLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/BooleanLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct BooleanLiteral: Parser {
:
33 | extension Kind {
34 |
35 | public static let booleanLiteral: Kind = "boolean.literal"
| |- note: annotate 'booleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct DoubleLiteral: Parser {
9 | public static let kind: Kind = .doubleLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/DoubleLiteral.swift:26:23: warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | extension Kind {
25 |
26 | public static let doubleLiteral: Kind = "double.literal"
| |- warning: static property 'doubleLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:9:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public init() { }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | private let numberFormatter = NumberFormatter()
:
7 |
8 | public struct IntLiteral: Parser {
9 | public static let kind: Kind = .intLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | public init() { }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/IntLiteral.swift:27:23: warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | extension Kind {
26 |
27 | public static let intLiteral: Kind = "int.literal"
| |- warning: static property 'intLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'intLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | private let start: String
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct StringLiteral: Parser {
6 | public static let kind: Kind = .stringLiteral
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | private let start: String
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:47:23: warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
45 | extension Kind {
46 |
47 | public static let stringLiteral: Kind = "string.literal"
| |- warning: static property 'stringLiteral' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:48:23: warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
46 |
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
| |- warning: static property 'stringContent' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringContent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:49:23: warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let stringLiteral: Kind = "string.literal"
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
| |- warning: static property 'stringStartDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringStartDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:50:23: warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
48 | public static let stringContent: Kind = "string.content"
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
| |- warning: static property 'stringEndDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEndDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:51:23: warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
49 | public static let stringStartDelimiter: Kind = "string.delimiter.start"
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
| |- warning: static property 'stringEscapedCharacter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
53 |
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:52:23: warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | public static let stringEndDelimiter: Kind = "string.delimiter.end"
51 | public static let stringEscapedCharacter: Kind = "string.escaped.character"
52 | public static let stringEscapedDelimiter: Kind = "string.escaped.delimiter"
| |- warning: static property 'stringEscapedDelimiter' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'stringEscapedDelimiter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/RegularExpression.swift:52:23: warning: static property 'expressionMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | extension Kind {
51 |
52 | public static let expressionMatch: Kind = "regular.expression.match"
| `- warning: static property 'expressionMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/RegularExpression.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct RegularExpression: Parser, Hashable {
:
50 | extension Kind {
51 |
52 | public static let expressionMatch: Kind = "regular.expression.match"
| |- note: annotate 'expressionMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/String+Parser.swift:6:23: warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind?' may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | extension String: Parser {
6 | public static let kind: Kind? = nil
| `- warning: static property 'kind' is not concurrency-safe because non-'Sendable' type 'Kind?' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public var body: any Parser<Void> {
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/String+Parser.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | extension String: Parser {
6 | public static let kind: Kind? = nil
| |- note: annotate 'kind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public var body: any Parser<Void> {
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Token.swift:52:23: warning: static property 'tokenMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
50 | extension Kind {
51 |
52 | public static let tokenMatch: Kind = "token.match"
| `- warning: static property 'tokenMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
53 |
54 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Token.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | struct Token: Parser, Hashable {
:
50 | extension Kind {
51 |
52 | public static let tokenMatch: Kind = "token.match"
| |- note: annotate 'tokenMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | }
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Word.swift:53:23: warning: static property 'wordMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
51 | extension Kind {
52 |
53 | public static let wordMatch: Kind = "word.match"
| `- warning: static property 'wordMatch' is not concurrency-safe because non-'Sendable' type 'Kind' may have shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | }
/host/spi-builder-workspace/.build/checkouts/SyntaxTree/Sources/SyntaxTree/Kind.swift:4:15: note: struct 'Kind' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct Kind: RawRepresentable, Encodable, Equatable {
| `- note: struct 'Kind' does not conform to the 'Sendable' protocol
5 | public enum CombinationStrategy {
6 | case higher
/host/spi-builder-workspace/Sources/Syntax/Implementations/Tokens/Word.swift:3:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
1 |
2 | import Foundation
3 | @_exported import SyntaxTree
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SyntaxTree'
4 |
5 | public struct Word: Parser, Hashable {
:
51 | extension Kind {
52 |
53 | public static let wordMatch: Kind = "word.match"
| |- note: annotate 'wordMatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |
55 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:445:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 | }
404 |
405 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
406 | typealias Annotation = AnnotatedString<T>.Annotation
407 |
:
443 | }
444 |
445 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
446 | // No-op
447 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:453:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
403 | }
404 |
405 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
| `- note: 'T' previously declared here
406 | typealias Annotation = AnnotatedString<T>.Annotation
407 |
:
451 | }
452 |
453 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
454 | return annotations.last?.value as? T
455 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:603:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
569 | }
570 |
571 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
572 | let scanning: ScanningStorage<T>
573 | let inplace: InPlaceStorage
:
601 | }
602 |
603 | func store<T>(value: T) {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
604 | current.store(value: value)
605 | }
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:611:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
569 | }
570 |
571 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
| `- note: 'T' previously declared here
572 | let scanning: ScanningStorage<T>
573 | let inplace: InPlaceStorage
:
609 | }
610 |
611 | func pop<T>(of type: T.Type) throws -> T? {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
612 | return try current.pop(of: type)
613 | }
/host/spi-builder-workspace/Sources/Syntax/Parser.swift:5:13: warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @_exported import SyntaxTree
4 |
5 | private var computedKinds = [Int : Kind]()
| |- warning: var 'computedKinds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'computedKinds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'computedKinds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | public protocol Parser<Parsed> {
/host/spi-builder-workspace/Sources/Syntax/ParserOption.swift:10:23: warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct ParserOption {
| `- note: consider making struct 'ParserOption' conform to the 'Sendable' protocol
5 | let errorHandler: ScannerErrorHandler?
6 | }
:
8 | extension ParserOption {
9 |
10 | public static let allowWhiteSpaces = ParserOption(errorHandler: WhitespaceConsumer())
| |- warning: static property 'allowWhiteSpaces' is not concurrency-safe because non-'Sendable' type 'ParserOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowWhiteSpaces' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | }
[72/80] Compiling Syntax ExpressionMatch.swift
/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! (42.49s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.