Build Information
Failed to build swift-ast, reference 0.19.12 (d7e0cf
), with Swift 6.0 for Linux on 4 Nov 2024 01:15:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/OperatorFoundation/swift-ast.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/23] Write sources
[10/23] Write swift-version-24593BA9C3E375BF.txt
[12/32] Emitting module Bocho
[13/32] Compiling Bocho CLIOption.swift
[14/32] Compiling Bocho DotYanagiba+Merge.swift
[15/33] Compiling Bocho DotYanagibaModels.swift
[16/33] Compiling Bocho DotYanagibaReader.swift
[17/33] Compiling Bocho String+FileHandle.swift
[18/33] Compiling Bocho String+Indentation.swift
[19/33] Compiling Bocho DotYanagibaParser.swift
[20/33] Compiling Bocho String+Path.swift
[21/33] Compiling Bocho String+TTYColor.swift
[22/34] Wrapping AST for Bocho for debugging
[24/43] Compiling Source Shebang.swift
[25/44] Compiling Source SourceLocatable.swift
[26/44] Compiling Source SourceFile.swift
[27/44] Compiling Source SourceError.swift
[28/44] Emitting module Source
/host/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)
/host/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 |
/host/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 |
/host/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 {
[29/44] Compiling Source Comment.swift
[30/44] Compiling Source CommentSet.swift
[31/44] Compiling Source SourceRange.swift
/host/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 |
/host/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)
/host/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 {
/host/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/44] Compiling Source SourceLocation.swift
/host/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)
/host/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/44] Compiling Source SourceReader.swift
[34/45] Wrapping AST for Source for debugging
[36/50] Compiling Diagnostic Diagnostic.swift
[37/50] Emitting module Diagnostic
/host/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/50] Compiling Diagnostic DiagnosticKind.swift
[39/50] Compiling Diagnostic DiagnosticConsumer.swift
[40/50] Compiling Diagnostic DiagnosticPool.swift
/host/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] = []
[41/51] Wrapping AST for Diagnostic for debugging
[43/176] Emitting module Lexer
/host/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,
/host/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 |
/host/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,
/host/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 |
/host/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: "")
/host/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 |
/host/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)
/host/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 |
/host/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: "")
/host/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 |
/host/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 =
/host/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 |
/host/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: "")
/host/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 |
/host/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)
/host/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 |
/host/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("")
/host/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 |
/host/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("")
/host/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 |
/host/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("")
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
[44/178] Compiling AST ASTUnit.swift
[45/178] Compiling AST ASTUnitCollection.swift
[46/178] Compiling Lexer TokenKind+Naming.swift
[47/178] Compiling Lexer UnicodeScalar+Lexer.swift
[48/178] Compiling AST TernaryConditionalOperatorExpression.swift
[49/178] Compiling AST TryOperatorExpression.swift
[50/178] Compiling AST TupleExpression.swift
[51/178] Compiling AST TypeCastingOperatorExpression.swift
[52/178] Compiling AST WildcardExpression.swift
[53/178] Compiling AST ExpressionList.swift
[54/178] Compiling AST GenericArgumentClause.swift
[55/178] Compiling AST GenericParameterClause.swift
[56/178] Compiling AST GenericWhereClause.swift
[57/178] Compiling AST Identifier.swift
[58/178] Compiling AST IdentifierList.swift
[59/178] Compiling AST LocatableNode.swift
[60/178] Compiling AST Operator.swift
[61/178] Compiling AST Pattern.swift
[62/178] Compiling AST EnumCasePattern.swift
[63/193] Compiling AST GetterSetterKeywordBlock.swift
/host/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,
/host/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 |
[64/193] Compiling AST WillSetDidSetBlock.swift
/host/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,
/host/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 |
[65/193] Compiling AST ClassDeclaration.swift
/host/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,
/host/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 |
[66/193] Compiling AST ConstantDeclaration.swift
[67/193] Compiling AST DeinitializerDeclaration.swift
[68/193] Compiling AST ASTVisitor+Traversal.swift
/host/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: "")
/host/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 |
/host/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)
/host/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 |
/host/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: "")
/host/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 |
/host/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 =
/host/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 |
/host/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: "")
/host/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 |
/host/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)
/host/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 |
/host/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("")
/host/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 |
/host/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("")
/host/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 |
/host/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("")
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
[69/193] Compiling AST ASTVisitor.swift
/host/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: "")
/host/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 |
/host/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)
/host/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 |
/host/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: "")
/host/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 |
/host/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 =
/host/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 |
/host/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: "")
/host/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 |
/host/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)
/host/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 |
/host/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("")
/host/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 |
/host/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("")
/host/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 |
/host/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("")
/host/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 |
/host/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 | }
/host/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 |
/host/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 |
/host/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 |
[70/193] Compiling AST Attribute.swift
[71/193] Compiling AST Attributes.swift
[72/193] Compiling AST CodeBlock.swift
[73/193] Compiling AST Declaration.swift
[74/193] Compiling AST GetterSetterBlock.swift
[75/193] Compiling AST ASTNode.swift
/host/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,
/host/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 |
/host/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
[76/193] Compiling AST ASTNodeContext.swift
/host/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,
/host/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 |
/host/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
[77/193] Compiling AST ASTTextRepresentable.swift
/host/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,
/host/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 |
/host/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
[79/194] Emitting module AST
/host/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 |
[79/194] Wrapping AST for Lexer for debugging
[81/194] Compiling AST ExpressionPattern.swift
[82/194] Compiling AST IdentifierPattern.swift
[83/194] Compiling AST OptionalPattern.swift
[84/194] Compiling AST TuplePattern.swift
[85/194] Compiling AST TypeCastingPattern.swift
[86/194] Compiling AST ValueBindingPattern.swift
[87/194] Compiling AST WildcardPattern.swift
[88/194] Compiling AST Statement.swift
[89/194] Compiling AST BreakStatement.swift
[90/194] Compiling AST CompilerControlStatement.swift
[91/194] Compiling AST AvailabilityCondition.swift
[92/194] Compiling AST Condition.swift
[93/194] Compiling AST ConditionList.swift
[94/194] Compiling AST ContinueStatement.swift
[95/194] Compiling AST DeferStatement.swift
[96/194] Compiling AST DoStatement.swift
[97/194] Compiling AST FallthroughStatement.swift
[98/194] Compiling AST ForInStatement.swift
[99/194] Compiling AST GuardStatement.swift
[100/194] Compiling AST IfStatement.swift
[101/194] Compiling AST LabeledStatement.swift
[102/194] Compiling AST RepeatWhileStatement.swift
[103/194] Compiling AST ReturnStatement.swift
[104/194] Compiling AST SwitchStatement.swift
[105/194] Compiling AST ThrowStatement.swift
[106/194] Compiling AST WhileStatement.swift
[107/194] Compiling AST Statements.swift
[108/194] Compiling AST ThrowsKind.swift
[109/194] Compiling AST TopLevelDeclaration.swift
[110/194] Compiling AST Type.swift
[111/194] Compiling AST InitializerExpression.swift
[112/194] Compiling AST KeyPathExpression.swift
[113/194] Compiling AST KeyPathStringExpression.swift
[114/194] Compiling AST LiteralExpression.swift
[115/194] Compiling AST OptionalChainingExpression.swift
[116/194] Compiling AST ParenthesizedExpression.swift
[117/194] Compiling AST PostfixOperatorExpression.swift
[118/194] Compiling AST PostfixSelfExpression.swift
[119/194] Compiling AST PrefixOperatorExpression.swift
[120/194] Compiling AST SelectorExpression.swift
[121/194] Compiling AST SelfExpression.swift
[122/194] Compiling AST SequenceExpression.swift
[123/194] Compiling AST SubscriptArgument.swift
[124/194] Compiling AST SubscriptExpression.swift
[125/194] Compiling AST SuperclassExpression.swift
[129/194] Compiling AST FunctionResult.swift
[130/194] Compiling AST FunctionSignature.swift
[131/194] Compiling AST FunctionDeclaration.swift
[132/194] Compiling AST ImportDeclaration.swift
[133/194] Compiling AST PatternInitializer.swift
[134/194] Compiling AST InitializerDeclaration.swift
[135/194] Compiling AST AccessLevelModifier.swift
[136/194] Compiling AST DeclarationModifier.swift
[137/194] Compiling AST DeclarationModifiers.swift
[138/194] Compiling AST MutationModifier.swift
[139/194] Compiling AST OperatorDeclaration.swift
[140/194] Compiling AST PrecedenceGroupDeclaration.swift
[141/194] Compiling AST AnyType.swift
/host/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 |
[142/194] Compiling AST ArrayType.swift
/host/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 |
[143/194] Compiling AST DictionaryType.swift
/host/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 |
[144/194] Compiling AST FunctionType.swift
/host/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 |
[145/194] Compiling AST ImplicitlyUnwrappedOptionalType.swift
/host/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 |
[146/194] Compiling AST MetatypeType.swift
/host/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 |
[147/194] Compiling AST OpaqueType.swift
/host/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 |
[148/194] Compiling AST OptionalType.swift
/host/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 |
[149/194] Compiling AST ProtocolCompositionType.swift
/host/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 |
[150/194] Compiling AST SelfType.swift
/host/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 |
[151/194] Compiling AST TupleType.swift
/host/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 |
[152/194] Compiling AST TypeAnnotation.swift
/host/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 |
[153/194] Compiling AST TypeIdentifier.swift
/host/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 |
[154/194] Compiling AST TypeInheritanceClause.swift
/host/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 |
[155/194] Compiling AST Version.swift
/host/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 |
[156/194] Compiling AST ProtocolDeclaration.swift
[157/194] Compiling AST StructDeclaration.swift
[158/194] Compiling AST SubscriptDeclaration.swift
[159/194] Compiling AST TypealiasDeclaration.swift
[160/194] Compiling AST VariableDeclaration.swift
[161/194] Compiling AST Expression.swift
[162/194] Compiling AST AssignmentOperatorExpression.swift
[163/194] Compiling AST BinaryOperatorExpression.swift
[164/194] Compiling AST ClosureExpression.swift
[165/194] Compiling AST ExplicitMemberExpression.swift
[166/194] Compiling AST ForcedValueExpression.swift
[167/194] Compiling AST FunctionCallExpression.swift
[168/194] Compiling AST IdentifierExpression.swift
[169/194] Compiling AST ImplicitMemberExpression.swift
[170/194] Compiling AST InOutExpression.swift
[187/195] Wrapping AST for AST for debugging
[189/211] Compiling Parser Parser+Util.swift
[190/212] Compiling Parser Parser.swift
[191/212] Compiling Parser Parser+Lexing.swift
[192/212] Compiling Parser Parser+Modifier.swift
[193/212] Compiling Parser Parser+Type.swift
[194/212] Compiling Parser Parser+Pattern.swift
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
[195/212] Compiling Parser Parser+Statement.swift
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
[196/212] Compiling Parser Parser+Attribute.swift
[197/212] Compiling Parser Parser+Common.swift
[198/212] Compiling Parser Parser+Declaration.swift
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
[199/212] Compiling Parser Parser+Diagnostic.swift
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
[200/212] Compiling Sema LexicalParentAssignment.swift
[201/212] Compiling Sema SequenceExpressionFolding.swift
[202/212] Emitting module Sema
error: emit-module command failed with exit code 1 (use -v to see invocation)
[203/213] Emitting module Parser
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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):
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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):
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 |
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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]) {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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]
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 {
[204/213] Compiling Parser Parser+Expression.swift
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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):
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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):
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 |
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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]) {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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]
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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) {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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(
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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()
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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()
/host/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))
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 = ""
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 = ""
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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() {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 = "\"\"\""
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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()
[205/213] Compiling Parser Parser+Generic.swift
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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):
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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):
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 |
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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]) {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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]
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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)
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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) {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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(
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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()
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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()
/host/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))
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 = ""
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 = ""
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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() {
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 = "\"\"\""
/host/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 |
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
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>)
/host/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 linux