Build Information
Failed to build swift-ast, reference 0.19.12 (d7e0cf
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 01:23:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/swift-ast.git
Reference: 0.19.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/swift-ast
* tag 0.19.12 -> FETCH_HEAD
HEAD is now at d7e0cf0 support macOS 10.15 instead of 10.14
Cloned https://github.com/OperatorFoundation/swift-ast.git
Revision (git rev-parse @):
d7e0cf0d9d3b90831a1c297ce911a338a4bd44f3
SUCCESS checkout https://github.com/OperatorFoundation/swift-ast.git at 0.19.12
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-ast",
"name": "swift-ast",
"url": "https://github.com/OperatorFoundation/swift-ast.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-ast",
"dependencies": [
]
}
]
}
Fetching https://github.com/OperatorFoundation/swift-ast.git
[1/6960] Fetching swift-ast
Fetched https://github.com/OperatorFoundation/swift-ast.git from cache (1.19s)
Creating working copy for https://github.com/OperatorFoundation/swift-ast.git
Working copy of https://github.com/OperatorFoundation/swift-ast.git resolved at 0.19.12 (d7e0cf0)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/OperatorFoundation/swift-ast.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/15] Write sources
[4/15] Write swift-ast-entitlement.plist
[8/15] Write sources
[11/15] Write swift-version--7754E27361AE5C74.txt
[13/25] Compiling Bocho String+TTYColor.swift
[14/25] Compiling Bocho String+Indentation.swift
[15/25] Compiling Bocho DotYanagibaReader.swift
[16/25] Compiling Bocho String+FileHandle.swift
[17/25] Compiling Bocho String+Path.swift
[18/25] Compiling Bocho DotYanagibaModels.swift
[19/25] Compiling Bocho DotYanagiba+Merge.swift
[20/25] Compiling Bocho CLIOption.swift
[21/25] Emitting module Bocho
[22/25] Compiling Bocho DotYanagibaParser.swift
[23/35] Compiling Source Shebang.swift
[24/35] Compiling Source CommentSet.swift
[25/35] Compiling Source Comment.swift
[26/35] Emitting module Source
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceLocation.swift:43:21: warning: static property 'DUMMY' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceLocation: Equatable, Hashable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
18 | public let identifier: String
19 | public let line: Int
:
41 |
42 | extension SourceLocation {
43 | public static let DUMMY = SourceLocation(identifier: "dummy", line: 0, column: 0)
| |- warning: static property 'DUMMY' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DUMMY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let INVALID =
45 | SourceLocation(identifier: "invalid", line: -1, column: -1)
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceLocation.swift:44:21: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceLocation: Equatable, Hashable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
18 | public let identifier: String
19 | public let line: Int
:
42 | extension SourceLocation {
43 | public static let DUMMY = SourceLocation(identifier: "dummy", line: 0, column: 0)
44 | public static let INVALID =
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | SourceLocation(identifier: "invalid", line: -1, column: -1)
46 |
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceRange.swift:29:21: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceRange: Equatable, Hashable {
| `- note: consider making struct 'SourceRange' conform to the 'Sendable' protocol
18 | // Note: range := [start..<end)
19 | public let start: SourceLocation
:
27 |
28 | extension SourceRange {
29 | public static let EMPTY = SourceRange(start: .DUMMY, end: .DUMMY)
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let INVALID = SourceRange(start: .INVALID, end: .INVALID)
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceRange.swift:30:21: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceRange: Equatable, Hashable {
| `- note: consider making struct 'SourceRange' conform to the 'Sendable' protocol
18 | // Note: range := [start..<end)
19 | public let start: SourceLocation
:
28 | extension SourceRange {
29 | public static let EMPTY = SourceRange(start: .DUMMY, end: .DUMMY)
30 | public static let INVALID = SourceRange(start: .INVALID, end: .INVALID)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public var isValid: Bool {
[27/35] Compiling Source SourceLocatable.swift
[28/35] Compiling Source SourceFile.swift
[29/35] Compiling Source SourceReader.swift
[30/35] Compiling Source SourceError.swift
[31/35] Compiling Source SourceRange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceRange.swift:29:21: warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceRange: Equatable, Hashable {
| `- note: consider making struct 'SourceRange' conform to the 'Sendable' protocol
18 | // Note: range := [start..<end)
19 | public let start: SourceLocation
:
27 |
28 | extension SourceRange {
29 | public static let EMPTY = SourceRange(start: .DUMMY, end: .DUMMY)
| |- warning: static property 'EMPTY' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EMPTY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let INVALID = SourceRange(start: .INVALID, end: .INVALID)
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceLocation.swift:43:21: warning: static property 'DUMMY' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceLocation: Equatable, Hashable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
18 | public let identifier: String
19 | public let line: Int
:
41 |
42 | extension SourceLocation {
43 | public static let DUMMY = SourceLocation(identifier: "dummy", line: 0, column: 0)
| |- warning: static property 'DUMMY' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DUMMY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let INVALID =
45 | SourceLocation(identifier: "invalid", line: -1, column: -1)
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceRange.swift:30:21: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceRange: Equatable, Hashable {
| `- note: consider making struct 'SourceRange' conform to the 'Sendable' protocol
18 | // Note: range := [start..<end)
19 | public let start: SourceLocation
:
28 | extension SourceRange {
29 | public static let EMPTY = SourceRange(start: .DUMMY, end: .DUMMY)
30 | public static let INVALID = SourceRange(start: .INVALID, end: .INVALID)
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceRange' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public var isValid: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceLocation.swift:44:21: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceLocation: Equatable, Hashable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
18 | public let identifier: String
19 | public let line: Int
:
42 | extension SourceLocation {
43 | public static let DUMMY = SourceLocation(identifier: "dummy", line: 0, column: 0)
44 | public static let INVALID =
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | SourceLocation(identifier: "invalid", line: -1, column: -1)
46 |
[32/35] Compiling Source SourceLocation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceLocation.swift:43:21: warning: static property 'DUMMY' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceLocation: Equatable, Hashable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
18 | public let identifier: String
19 | public let line: Int
:
41 |
42 | extension SourceLocation {
43 | public static let DUMMY = SourceLocation(identifier: "dummy", line: 0, column: 0)
| |- warning: static property 'DUMMY' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DUMMY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let INVALID =
45 | SourceLocation(identifier: "invalid", line: -1, column: -1)
/Users/admin/builder/spi-builder-workspace/Sources/Source/SourceLocation.swift:44:21: warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct SourceLocation: Equatable, Hashable {
| `- note: consider making struct 'SourceLocation' conform to the 'Sendable' protocol
18 | public let identifier: String
19 | public let line: Int
:
42 | extension SourceLocation {
43 | public static let DUMMY = SourceLocation(identifier: "dummy", line: 0, column: 0)
44 | public static let INVALID =
| |- warning: static property 'INVALID' is not concurrency-safe because non-'Sendable' type 'SourceLocation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'INVALID' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | SourceLocation(identifier: "invalid", line: -1, column: -1)
46 |
[33/40] Compiling Diagnostic DiagnosticConsumer.swift
[34/40] Compiling Diagnostic DiagnosticKind.swift
[35/40] Compiling Diagnostic DiagnosticPool.swift
/Users/admin/builder/spi-builder-workspace/Sources/Diagnostic/DiagnosticPool.swift:24:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiagnosticPool' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public class DiagnosticPool {
| `- note: class 'DiagnosticPool' does not conform to the 'Sendable' protocol
24 | public static let shared = DiagnosticPool()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiagnosticPool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var _diagnostics: [Diagnostic] = []
[36/40] Compiling Diagnostic Diagnostic.swift
[37/40] Emitting module Diagnostic
/Users/admin/builder/spi-builder-workspace/Sources/Diagnostic/DiagnosticPool.swift:24:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiagnosticPool' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public class DiagnosticPool {
| `- note: class 'DiagnosticPool' does not conform to the 'Sendable' protocol
24 | public static let shared = DiagnosticPool()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiagnosticPool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | private var _diagnostics: [Diagnostic] = []
[38/169] Compiling AST ASTUnitCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:18:21: warning: static property 'dummyIdentifier' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension Token.Kind {
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
| |- warning: static property 'dummyIdentifier' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:19:21: warning: static property 'dummyIntegerLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Token.Kind {
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
| |- warning: static property 'dummyIntegerLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyIntegerLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:20:21: warning: static property 'dummyFloatingPointLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
| |- warning: static property 'dummyFloatingPointLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyFloatingPointLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:21:21: warning: static property 'dummyBooleanLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
| |- warning: static property 'dummyBooleanLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBooleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:22:21: warning: static property 'dummyStaticStringLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
| |- warning: static property 'dummyStaticStringLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyStaticStringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:23:21: warning: static property 'dummyInterpolatedStringLiteralHead' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
| |- warning: static property 'dummyInterpolatedStringLiteralHead' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyInterpolatedStringLiteralHead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:25:21: warning: static property 'dummyImplicitParameterName' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
| |- warning: static property 'dummyImplicitParameterName' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyImplicitParameterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:26:21: warning: static property 'dummyBindingReference' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
| |- warning: static property 'dummyBindingReference' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBindingReference' with '@MainActor' 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 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:27:21: warning: static property 'dummyPrefixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
| |- warning: static property 'dummyPrefixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyPrefixOperator' with '@MainActor' 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 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:28:21: warning: static property 'dummyBinaryOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
| |- warning: static property 'dummyBinaryOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBinaryOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:29:21: warning: static property 'dummyPostfixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
| |- warning: static property 'dummyPostfixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyPostfixOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
[39/169] Compiling AST ASTVisitor+Traversal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:18:21: warning: static property 'dummyIdentifier' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension Token.Kind {
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
| |- warning: static property 'dummyIdentifier' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:19:21: warning: static property 'dummyIntegerLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Token.Kind {
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
| |- warning: static property 'dummyIntegerLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyIntegerLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:20:21: warning: static property 'dummyFloatingPointLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
| |- warning: static property 'dummyFloatingPointLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyFloatingPointLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:21:21: warning: static property 'dummyBooleanLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
| |- warning: static property 'dummyBooleanLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBooleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:22:21: warning: static property 'dummyStaticStringLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
| |- warning: static property 'dummyStaticStringLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyStaticStringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:23:21: warning: static property 'dummyInterpolatedStringLiteralHead' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
| |- warning: static property 'dummyInterpolatedStringLiteralHead' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyInterpolatedStringLiteralHead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:25:21: warning: static property 'dummyImplicitParameterName' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
| |- warning: static property 'dummyImplicitParameterName' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyImplicitParameterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:26:21: warning: static property 'dummyBindingReference' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
| |- warning: static property 'dummyBindingReference' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBindingReference' with '@MainActor' 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 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:27:21: warning: static property 'dummyPrefixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
| |- warning: static property 'dummyPrefixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyPrefixOperator' with '@MainActor' 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 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:28:21: warning: static property 'dummyBinaryOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
| |- warning: static property 'dummyBinaryOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBinaryOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:29:21: warning: static property 'dummyPostfixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
| |- warning: static property 'dummyPostfixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyPostfixOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
[40/170] Compiling AST Declaration.swift
[41/170] Compiling AST GetterSetterBlock.swift
[42/170] Compiling AST GetterSetterKeywordBlock.swift
[43/170] Compiling AST Operator.swift
[44/170] Compiling AST Pattern.swift
[45/170] Compiling AST EnumCasePattern.swift
[46/170] Compiling Lexer UnicodeScalar+Lexer.swift
[47/170] Compiling AST Attributes.swift
[48/170] Compiling AST CodeBlock.swift
[49/170] Compiling AST ASTTextRepresentable.swift
[50/170] Compiling AST ASTUnit.swift
[51/170] Compiling AST ExpressionPattern.swift
[52/170] Compiling AST IdentifierPattern.swift
[53/170] Compiling AST ASTNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer+Identifier.swift:88:17: warning: let 'keywordMapping' is not concurrency-safe because non-'Sendable' type '[String : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | fileprivate let keywordMapping: [String: Token.Kind] = [
| |- warning: let 'keywordMapping' is not concurrency-safe because non-'Sendable' type '[String : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keywordMapping' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "as": .as,
90 | "associativity": .associativity,
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
[54/170] Compiling AST ASTNodeContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer+Identifier.swift:88:17: warning: let 'keywordMapping' is not concurrency-safe because non-'Sendable' type '[String : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | fileprivate let keywordMapping: [String: Token.Kind] = [
| |- warning: let 'keywordMapping' is not concurrency-safe because non-'Sendable' type '[String : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keywordMapping' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "as": .as,
90 | "associativity": .associativity,
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
[55/170] Emitting module Lexer
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer+Identifier.swift:88:17: warning: let 'keywordMapping' is not concurrency-safe because non-'Sendable' type '[String : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
86 | }
87 |
88 | fileprivate let keywordMapping: [String: Token.Kind] = [
| |- warning: let 'keywordMapping' is not concurrency-safe because non-'Sendable' type '[String : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keywordMapping' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | "as": .as,
90 | "associativity": .associativity,
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer.swift:335:17: warning: let 'roleTokenKindMapping' is not concurrency-safe because non-'Sendable' type '[Role : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
333 | }
334 |
335 | fileprivate let roleTokenKindMapping: [Role: Token.Kind] = [
| |- warning: let 'roleTokenKindMapping' is not concurrency-safe because non-'Sendable' type '[Role : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'roleTokenKindMapping' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | .leftParen: .leftParen,
337 | .rightParen: .rightParen,
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:18:21: warning: static property 'dummyIdentifier' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension Token.Kind {
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
| |- warning: static property 'dummyIdentifier' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:19:21: warning: static property 'dummyIntegerLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Token.Kind {
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
| |- warning: static property 'dummyIntegerLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyIntegerLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:20:21: warning: static property 'dummyFloatingPointLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public static let dummyIdentifier: Token.Kind = .identifier("", false)
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
| |- warning: static property 'dummyFloatingPointLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyFloatingPointLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:21:21: warning: static property 'dummyBooleanLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public static let dummyIntegerLiteral: Token.Kind = .integerLiteral(0, rawRepresentation: "")
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
| |- warning: static property 'dummyBooleanLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBooleanLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:22:21: warning: static property 'dummyStaticStringLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let dummyFloatingPointLiteral: Token.Kind = .floatingPointLiteral(0, rawRepresentation: "")
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
| |- warning: static property 'dummyStaticStringLiteral' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyStaticStringLiteral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:23:21: warning: static property 'dummyInterpolatedStringLiteralHead' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let dummyBooleanLiteral: Token.Kind = .booleanLiteral(true)
22 | public static let dummyStaticStringLiteral: Token.Kind = .staticStringLiteral("", rawRepresentation: "")
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
| |- warning: static property 'dummyInterpolatedStringLiteralHead' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyInterpolatedStringLiteralHead' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:25:21: warning: static property 'dummyImplicitParameterName' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let dummyInterpolatedStringLiteralHead: Token.Kind =
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
| |- warning: static property 'dummyImplicitParameterName' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyImplicitParameterName' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:26:21: warning: static property 'dummyBindingReference' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
24 | .interpolatedStringLiteralHead("", rawRepresentation: "")
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
| |- warning: static property 'dummyBindingReference' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBindingReference' with '@MainActor' 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 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:27:21: warning: static property 'dummyPrefixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
25 | public static let dummyImplicitParameterName: Token.Kind = .implicitParameterName(0)
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
| |- warning: static property 'dummyPrefixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyPrefixOperator' with '@MainActor' 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 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:28:21: warning: static property 'dummyBinaryOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let dummyBindingReference: Token.Kind = .bindingReference("")
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
| |- warning: static property 'dummyBinaryOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyBinaryOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/TokenKind+Dummy.swift:29:21: warning: static property 'dummyPostfixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
27 | public static let dummyPrefixOperator: Token.Kind = .prefixOperator("")
28 | public static let dummyBinaryOperator: Token.Kind = .binaryOperator("")
29 | public static let dummyPostfixOperator: Token.Kind = .postfixOperator("")
| |- warning: static property 'dummyPostfixOperator' is not concurrency-safe because non-'Sendable' type 'Token.Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyPostfixOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
[56/170] Compiling AST ASTVisitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer.swift:335:17: warning: let 'roleTokenKindMapping' is not concurrency-safe because non-'Sendable' type '[Role : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
333 | }
334 |
335 | fileprivate let roleTokenKindMapping: [Role: Token.Kind] = [
| |- warning: let 'roleTokenKindMapping' is not concurrency-safe because non-'Sendable' type '[Role : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'roleTokenKindMapping' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | .leftParen: .leftParen,
337 | .rightParen: .rightParen,
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer.swift:227:9: warning: variable 'location' was never mutated; consider changing to 'let' constant
225 |
226 | func lex(previousRoles: [Role] = []) -> Token { // swift-lint:suppress(high_cyclomatic_complexity,high_ncss)
227 | var location = _getCurrentLocation()
| `- warning: variable 'location' was never mutated; consider changing to 'let' constant
228 | var loadedRoles = previousRoles
229 | let head = char.role
[57/170] Compiling AST Attribute.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer.swift:335:17: warning: let 'roleTokenKindMapping' is not concurrency-safe because non-'Sendable' type '[Role : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
333 | }
334 |
335 | fileprivate let roleTokenKindMapping: [Role: Token.Kind] = [
| |- warning: let 'roleTokenKindMapping' is not concurrency-safe because non-'Sendable' type '[Role : Token.Kind]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'roleTokenKindMapping' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | .leftParen: .leftParen,
337 | .rightParen: .rightParen,
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Token.swift:21:17: note: consider making enum 'Kind' conform to the 'Sendable' protocol
19 |
20 | public struct Token {
21 | public enum Kind: Equatable {
| `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
22 | case invalid(TokenInvalidReason)
23 |
/Users/admin/builder/spi-builder-workspace/Sources/Lexer/Lexer.swift:227:9: warning: variable 'location' was never mutated; consider changing to 'let' constant
225 |
226 | func lex(previousRoles: [Role] = []) -> Token { // swift-lint:suppress(high_cyclomatic_complexity,high_ncss)
227 | var location = _getCurrentLocation()
| `- warning: variable 'location' was never mutated; consider changing to 'let' constant
228 | var loadedRoles = previousRoles
229 | let head = char.role
[58/170] Compiling AST CompilerControlStatement.swift
[59/170] Compiling AST AvailabilityCondition.swift
[60/170] Compiling AST Condition.swift
[61/170] Compiling AST ConditionList.swift
[62/170] Compiling AST ContinueStatement.swift
[63/170] Compiling AST DeferStatement.swift
[64/170] Compiling AST DoStatement.swift
[65/170] Compiling AST FallthroughStatement.swift
[66/170] Compiling AST ForInStatement.swift
[67/170] Compiling AST GuardStatement.swift
[68/170] Compiling AST IfStatement.swift
[69/170] Compiling AST LabeledStatement.swift
[70/170] Compiling AST RepeatWhileStatement.swift
[71/170] Compiling AST ReturnStatement.swift
[72/170] Compiling AST SwitchStatement.swift
[73/170] Compiling AST ThrowStatement.swift
[74/170] Compiling AST WhileStatement.swift
[75/170] Compiling AST Statements.swift
[76/170] Compiling AST ThrowsKind.swift
[77/170] Compiling AST TopLevelDeclaration.swift
[78/170] Compiling AST Type.swift
[79/170] Compiling AST AnyType.swift
[80/170] Compiling AST ArrayType.swift
[81/170] Compiling AST DictionaryType.swift
[82/170] Compiling AST AssignmentOperatorExpression.swift
[83/170] Compiling AST BinaryOperatorExpression.swift
[84/170] Compiling AST ClosureExpression.swift
[85/170] Compiling AST ExplicitMemberExpression.swift
[86/170] Compiling AST ForcedValueExpression.swift
[87/170] Compiling AST FunctionCallExpression.swift
[88/170] Compiling AST IdentifierExpression.swift
[89/170] Compiling AST ImplicitMemberExpression.swift
[90/170] Compiling AST InOutExpression.swift
[91/170] Compiling AST InitializerExpression.swift
[92/170] Compiling AST KeyPathExpression.swift
[93/170] Compiling AST KeyPathStringExpression.swift
[94/182] Compiling AST TernaryConditionalOperatorExpression.swift
[95/182] Compiling AST TryOperatorExpression.swift
[96/182] Compiling AST TupleExpression.swift
[97/182] Compiling AST TypeCastingOperatorExpression.swift
[98/182] Compiling AST WildcardExpression.swift
[99/182] Compiling AST ExpressionList.swift
[100/182] Compiling AST GenericArgumentClause.swift
[101/182] Compiling AST GenericParameterClause.swift
[102/182] Compiling AST GenericWhereClause.swift
[103/182] Compiling AST Identifier.swift
[104/182] Compiling AST IdentifierList.swift
[105/182] Compiling AST LocatableNode.swift
[106/182] Compiling AST LiteralExpression.swift
[107/182] Compiling AST OptionalChainingExpression.swift
[108/182] Compiling AST ParenthesizedExpression.swift
[109/182] Compiling AST PostfixOperatorExpression.swift
[110/182] Compiling AST PostfixSelfExpression.swift
[111/182] Compiling AST PrefixOperatorExpression.swift
[112/182] Compiling AST SelectorExpression.swift
[113/182] Compiling AST SelfExpression.swift
[114/182] Compiling AST SequenceExpression.swift
[115/182] Compiling AST SubscriptArgument.swift
[116/182] Compiling AST SubscriptExpression.swift
[117/182] Compiling AST SuperclassExpression.swift
[118/182] Emitting module AST
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[124/182] Compiling AST OptionalPattern.swift
[125/182] Compiling AST TuplePattern.swift
[126/182] Compiling AST TypeCastingPattern.swift
[127/182] Compiling AST ValueBindingPattern.swift
[128/182] Compiling AST WildcardPattern.swift
[129/182] Compiling AST Statement.swift
[130/182] Compiling AST BreakStatement.swift
[131/182] Compiling AST WillSetDidSetBlock.swift
[132/182] Compiling AST ClassDeclaration.swift
[133/182] Compiling AST ConstantDeclaration.swift
[134/182] Compiling AST DeinitializerDeclaration.swift
[135/182] Compiling AST EnumDeclaration.swift
[136/182] Compiling AST ExtensionDeclaration.swift
[137/182] Compiling AST FunctionResult.swift
[138/182] Compiling AST FunctionSignature.swift
[139/182] Compiling AST FunctionDeclaration.swift
[140/182] Compiling AST ImportDeclaration.swift
[141/182] Compiling AST PatternInitializer.swift
[142/182] Compiling AST InitializerDeclaration.swift
[143/182] Compiling AST AccessLevelModifier.swift
[144/182] Compiling AST DeclarationModifier.swift
[145/182] Compiling AST DeclarationModifiers.swift
[146/182] Compiling AST MutationModifier.swift
[147/182] Compiling AST OperatorDeclaration.swift
[148/182] Compiling AST PrecedenceGroupDeclaration.swift
[149/182] Compiling AST ProtocolDeclaration.swift
[150/182] Compiling AST StructDeclaration.swift
[151/182] Compiling AST SubscriptDeclaration.swift
[152/182] Compiling AST TypealiasDeclaration.swift
[153/182] Compiling AST VariableDeclaration.swift
[154/182] Compiling AST Expression.swift
[168/182] Compiling AST FunctionType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[169/182] Compiling AST ImplicitlyUnwrappedOptionalType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[170/182] Compiling AST MetatypeType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[171/182] Compiling AST OpaqueType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[172/182] Compiling AST OptionalType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[173/182] Compiling AST ProtocolCompositionType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[174/182] Compiling AST SelfType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[175/182] Compiling AST TupleType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[176/182] Compiling AST TypeAnnotation.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[177/182] Compiling AST TypeIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[178/182] Compiling AST TypeInheritanceClause.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[179/182] Compiling AST Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/AST/Version.swift:21:21: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
15 | */
16 |
17 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
18 | public let library: String
19 | public let swift: String
20 |
21 | public static let current = Version(library: "0.19.9", swift: "5.1")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[180/198] Compiling Parser Parser+Util.swift
[181/199] Compiling Parser Parser+Modifier.swift
[182/199] Compiling Parser Parser.swift
[183/199] Compiling Parser Parser+Type.swift
[184/199] Compiling Parser Parser+Lexing.swift
[185/199] Compiling Parser Parser+Pattern.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[186/199] Compiling Parser Parser+Statement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[187/199] Compiling Sema SequenceExpressionFolding.swift
[188/199] Emitting module Sema
[189/199] Compiling Sema LexicalParentAssignment.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[190/199] Compiling Parser Parser+Attribute.swift
[191/199] Compiling Parser Parser+Common.swift
[192/199] Emitting module Parser
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:53:48: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:53:33: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:89:15: error: 'Expression' is ambiguous for type lookup in this context
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
90 | var resultExpr: Expression = leftExpression
91 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:88:21: error: 'Expression' is ambiguous for type lookup in this context
86 |
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
| `- error: 'Expression' is ambiguous for type lookup in this context
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:252:80: error: 'Expression' is ambiguous for type lookup in this context
250 | }
251 |
252 | private func parsePrefixExpression(config: ParserExpressionConfig) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
253 | let startLocation = getStartLocation()
254 | switch _lexer.read([.dummyPrefixOperator, .prefixAmp]) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1081:45: error: 'Expression' is ambiguous for type lookup in this context
1079 | }
1080 |
1081 | private func parseDictionaryLiteral(head: Expression, startLocation: SourceLocation) throws -> LiteralExpression {
| `- error: 'Expression' is ambiguous for type lookup in this context
1082 | var entries: [DictionaryEntry] = []
1083 | // complete first entry
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1101:11: error: 'Expression' is ambiguous for type lookup in this context
1099 |
1100 | private func parseArrayLiteral(
1101 | head: Expression, startLocation: SourceLocation
| `- error: 'Expression' is ambiguous for type lookup in this context
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Type.swift:291:9: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
289 | }
290 | return type
291 | } catch ParenthesizedType.TupleConversionError.isVariadic {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
292 | throw _raiseFatal(.tupleTypeVariadicElement)
293 | } catch ParenthesizedType.TupleConversionError.multipleLabels {
[193/199] Compiling Parser Parser+Declaration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[194/199] Compiling Parser Parser+Diagnostic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[195/199] Compiling Parser Parser+Expression.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:53:48: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:53:33: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:89:15: error: 'Expression' is ambiguous for type lookup in this context
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
90 | var resultExpr: Expression = leftExpression
91 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:88:21: error: 'Expression' is ambiguous for type lookup in this context
86 |
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
| `- error: 'Expression' is ambiguous for type lookup in this context
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:252:80: error: 'Expression' is ambiguous for type lookup in this context
250 | }
251 |
252 | private func parsePrefixExpression(config: ParserExpressionConfig) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
253 | let startLocation = getStartLocation()
254 | switch _lexer.read([.dummyPrefixOperator, .prefixAmp]) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1081:45: error: 'Expression' is ambiguous for type lookup in this context
1079 | }
1080 |
1081 | private func parseDictionaryLiteral(head: Expression, startLocation: SourceLocation) throws -> LiteralExpression {
| `- error: 'Expression' is ambiguous for type lookup in this context
1082 | var entries: [DictionaryEntry] = []
1083 | // complete first entry
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1101:11: error: 'Expression' is ambiguous for type lookup in this context
1099 |
1100 | private func parseArrayLiteral(
1101 | head: Expression, startLocation: SourceLocation
| `- error: 'Expression' is ambiguous for type lookup in this context
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:32:17: error: 'Expression' is ambiguous for type lookup in this context
30 | extension Parser {
31 | private func parseExpressionList(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> ExpressionList {
32 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
33 | repeat {
34 | let expr = try parseExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:90:21: error: 'Expression' is ambiguous for type lookup in this context
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
| `- error: 'Expression' is ambiguous for type lookup in this context
91 |
92 | func examine() -> (Bool, Token.Kind) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:211:24: error: 'Expression' is ambiguous for type lookup in this context
209 | try match(.colon, orFatal: .expectedColonAfterTrueExpr)
210 | let falseTryKind = parseTryKind()
211 | var falseExpr: Expression = try parsePrefixExpression(config: config)
| `- error: 'Expression' is ambiguous for type lookup in this context
212 | falseExpr = falseTryKind.wrap(expr: falseExpr)
213 | let ternaryOpExpr = TernaryConditionalOperatorExpression(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:366:45: error: 'Expression' is ambiguous for type lookup in this context
364 | postfixExpression expr: PostfixExpression, config: ParserExpressionConfig
365 | ) throws -> PostfixExpression { // swift-lint:suppress(nested_code_block_depth)
366 | func parseArgumentExpr(op: Operator) -> Expression? {
| `- error: 'Expression' is ambiguous for type lookup in this context
367 | let exprLexerCp = _lexer.checkPoint()
368 | let exprDiagnosticCp = _diagnosticPool.checkPoint()
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:420:32: error: 'nil' requires a contextual type
418 | arguments.append(argument)
419 | case .prefixOperator(let op), .binaryOperator(let op), .postfixOperator(let op):
420 | appendArgument(op, nil)
| `- error: 'nil' requires a contextual type
421 | default:
422 | let argExpr = try parseExpression()
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:940:89: error: 'Expression' is ambiguous for type lookup in this context
938 | _ magicWord: String, _ startLocation: SourceLocation
939 | ) throws -> LiteralExpression {
940 | func getMagicExpression(for key: String, needsParsingComma: Bool = false) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
941 | if needsParsingComma {
942 | try match(.comma, orFatal: .expectedCommaBeforeKeywordPlaygroundLiteral(magicWord, key))
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1103:17: error: 'Expression' is ambiguous for type lookup in this context
1101 | head: Expression, startLocation: SourceLocation
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
| `- error: 'Expression' is ambiguous for type lookup in this context
1104 | // parse the rest of the array
1105 | while _lexer.match(.comma) && _lexer.look().kind != .rightSquare {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1119:66: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1119:42: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1122:30: error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
1122 | var caliberatedExprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1123 |
1124 | for (offset, expr) in exprs.reversed().enumerated() {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1166:17: error: 'Expression' is ambiguous for type lookup in this context
1164 | }
1165 |
1166 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1167 | var rawText = raw
1168 | let multilineDelimiter = "\"\"\""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1129:62: error: cannot infer contextual base in reference to member 'newlines'
1127 | blockRawText.isEmpty
1128 | {
1129 | var blockLines = blockStr.components(separatedBy: .newlines)
| `- error: cannot infer contextual base in reference to member 'newlines'
1130 | if offset == 0 { // let's first of all figure out the indentation prefix
1131 | indentationPrefix = blockLines.removeLast()
[196/199] Compiling Parser Parser+Generic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:53:48: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:53:33: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:89:15: error: 'Expression' is ambiguous for type lookup in this context
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
90 | var resultExpr: Expression = leftExpression
91 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:88:21: error: 'Expression' is ambiguous for type lookup in this context
86 |
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
| `- error: 'Expression' is ambiguous for type lookup in this context
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:252:80: error: 'Expression' is ambiguous for type lookup in this context
250 | }
251 |
252 | private func parsePrefixExpression(config: ParserExpressionConfig) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
253 | let startLocation = getStartLocation()
254 | switch _lexer.read([.dummyPrefixOperator, .prefixAmp]) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1081:45: error: 'Expression' is ambiguous for type lookup in this context
1079 | }
1080 |
1081 | private func parseDictionaryLiteral(head: Expression, startLocation: SourceLocation) throws -> LiteralExpression {
| `- error: 'Expression' is ambiguous for type lookup in this context
1082 | var entries: [DictionaryEntry] = []
1083 | // complete first entry
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1101:11: error: 'Expression' is ambiguous for type lookup in this context
1099 |
1100 | private func parseArrayLiteral(
1101 | head: Expression, startLocation: SourceLocation
| `- error: 'Expression' is ambiguous for type lookup in this context
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:32:17: error: 'Expression' is ambiguous for type lookup in this context
30 | extension Parser {
31 | private func parseExpressionList(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> ExpressionList {
32 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
33 | repeat {
34 | let expr = try parseExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:90:21: error: 'Expression' is ambiguous for type lookup in this context
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
| `- error: 'Expression' is ambiguous for type lookup in this context
91 |
92 | func examine() -> (Bool, Token.Kind) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:211:24: error: 'Expression' is ambiguous for type lookup in this context
209 | try match(.colon, orFatal: .expectedColonAfterTrueExpr)
210 | let falseTryKind = parseTryKind()
211 | var falseExpr: Expression = try parsePrefixExpression(config: config)
| `- error: 'Expression' is ambiguous for type lookup in this context
212 | falseExpr = falseTryKind.wrap(expr: falseExpr)
213 | let ternaryOpExpr = TernaryConditionalOperatorExpression(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:366:45: error: 'Expression' is ambiguous for type lookup in this context
364 | postfixExpression expr: PostfixExpression, config: ParserExpressionConfig
365 | ) throws -> PostfixExpression { // swift-lint:suppress(nested_code_block_depth)
366 | func parseArgumentExpr(op: Operator) -> Expression? {
| `- error: 'Expression' is ambiguous for type lookup in this context
367 | let exprLexerCp = _lexer.checkPoint()
368 | let exprDiagnosticCp = _diagnosticPool.checkPoint()
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:420:32: error: 'nil' requires a contextual type
418 | arguments.append(argument)
419 | case .prefixOperator(let op), .binaryOperator(let op), .postfixOperator(let op):
420 | appendArgument(op, nil)
| `- error: 'nil' requires a contextual type
421 | default:
422 | let argExpr = try parseExpression()
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:940:89: error: 'Expression' is ambiguous for type lookup in this context
938 | _ magicWord: String, _ startLocation: SourceLocation
939 | ) throws -> LiteralExpression {
940 | func getMagicExpression(for key: String, needsParsingComma: Bool = false) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
941 | if needsParsingComma {
942 | try match(.comma, orFatal: .expectedCommaBeforeKeywordPlaygroundLiteral(magicWord, key))
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1103:17: error: 'Expression' is ambiguous for type lookup in this context
1101 | head: Expression, startLocation: SourceLocation
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
| `- error: 'Expression' is ambiguous for type lookup in this context
1104 | // parse the rest of the array
1105 | while _lexer.match(.comma) && _lexer.look().kind != .rightSquare {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1119:66: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1119:42: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1122:30: error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
1122 | var caliberatedExprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1123 |
1124 | for (offset, expr) in exprs.reversed().enumerated() {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1166:17: error: 'Expression' is ambiguous for type lookup in this context
1164 | }
1165 |
1166 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1167 | var rawText = raw
1168 | let multilineDelimiter = "\"\"\""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Parser/Parser+Expression.swift:1129:62: error: cannot infer contextual base in reference to member 'newlines'
1127 | blockRawText.isEmpty
1128 | {
1129 | var blockLines = blockStr.components(separatedBy: .newlines)
| `- error: cannot infer contextual base in reference to member 'newlines'
1130 | if offset == 0 { // let's first of all figure out the indentation prefix
1131 | indentationPrefix = blockLines.removeLast()
BUILD FAILURE 6.0 macosSpm