Build Information
Failed to build swift-ast, reference main (d7e0cf), with Swift 6.1 for Android on 29 May 2025 01:23:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
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: add '@MainActor' to make static property 'dummyBindingReference' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyPrefixOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyBinaryOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyPostfixOperator' part of global actor 'MainActor'
| `- 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 |
[52/178] Compiling AST GetterSetterKeywordBlock.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: add '@MainActor' to make static property 'dummyIdentifier' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyIntegerLiteral' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyFloatingPointLiteral' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyBooleanLiteral' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyStaticStringLiteral' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyInterpolatedStringLiteralHead' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyImplicitParameterName' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyBindingReference' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyPrefixOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyBinaryOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'dummyPostfixOperator' part of global actor 'MainActor'
| `- 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 |
[53/178] Compiling AST ConstantDeclaration.swift
[54/178] Compiling AST ProtocolDeclaration.swift
[55/178] Compiling Lexer TokenKind+Naming.swift
[56/178] Compiling Lexer UnicodeScalar+Lexer.swift
[57/178] Compiling AST ASTUnit.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: add '@MainActor' to make let 'keywordMapping' part of global actor 'MainActor'
| `- 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 |
[58/178] Compiling AST ASTUnitCollection.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: add '@MainActor' to make let 'keywordMapping' part of global actor 'MainActor'
| `- 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 |
[59/178] Compiling AST ASTVisitor+Traversal.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: add '@MainActor' to make let 'keywordMapping' part of global actor 'MainActor'
| `- 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 |
[60/178] Compiling AST ASTVisitor.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: add '@MainActor' to make let 'roleTokenKindMapping' part of global actor 'MainActor'
| `- 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
[61/178] Compiling AST Attribute.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: add '@MainActor' to make let 'roleTokenKindMapping' part of global actor 'MainActor'
| `- 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
[62/178] Compiling AST Attributes.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: add '@MainActor' to make let 'roleTokenKindMapping' part of global actor 'MainActor'
| `- 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
[64/179] Compiling AST ExpressionPattern.swift
[65/179] Compiling AST IdentifierPattern.swift
[66/179] Compiling AST OptionalPattern.swift
[67/179] Compiling AST TuplePattern.swift
[68/179] Compiling AST TypeCastingPattern.swift
[69/179] Compiling AST ValueBindingPattern.swift
[70/179] Compiling AST WildcardPattern.swift
[71/179] Compiling AST Statement.swift
[72/179] Compiling AST BreakStatement.swift
[73/179] Compiling AST CompilerControlStatement.swift
[74/179] Compiling AST AvailabilityCondition.swift
[75/179] Compiling AST Condition.swift
[76/179] Compiling AST ConditionList.swift
[77/179] Compiling AST ContinueStatement.swift
[78/179] Compiling AST DeferStatement.swift
[79/194] Compiling AST TernaryConditionalOperatorExpression.swift
[80/194] Compiling AST TryOperatorExpression.swift
[81/194] Compiling AST TupleExpression.swift
[82/194] Compiling AST TypeCastingOperatorExpression.swift
[83/194] Compiling AST WildcardExpression.swift
[84/194] Compiling AST ExpressionList.swift
[85/194] Compiling AST GenericArgumentClause.swift
[86/194] Compiling AST GenericParameterClause.swift
[87/194] Compiling AST GenericWhereClause.swift
[88/194] Compiling AST Identifier.swift
[89/194] Compiling AST IdentifierList.swift
[90/194] Compiling AST LocatableNode.swift
[91/194] Compiling AST Operator.swift
[92/194] Compiling AST Pattern.swift
[93/194] Compiling AST EnumCasePattern.swift
[93/194] Wrapping AST for Lexer for debugging
[95/194] Compiling AST DoStatement.swift
[96/194] Compiling AST FallthroughStatement.swift
[97/194] Compiling AST ForInStatement.swift
[98/194] Compiling AST GuardStatement.swift
[99/194] Compiling AST IfStatement.swift
[100/194] Compiling AST LabeledStatement.swift
[101/194] Compiling AST RepeatWhileStatement.swift
[102/194] Compiling AST ReturnStatement.swift
[103/194] Compiling AST SwitchStatement.swift
[104/194] Compiling AST ThrowStatement.swift
[105/194] Compiling AST WhileStatement.swift
[106/194] Compiling AST Statements.swift
[107/194] Compiling AST ThrowsKind.swift
[108/194] Compiling AST TopLevelDeclaration.swift
[109/194] Compiling AST Type.swift
[110/194] Compiling AST InitializerExpression.swift
[111/194] Compiling AST KeyPathExpression.swift
[112/194] Compiling AST KeyPathStringExpression.swift
[113/194] Compiling AST LiteralExpression.swift
[114/194] Compiling AST OptionalChainingExpression.swift
[115/194] Compiling AST ParenthesizedExpression.swift
[116/194] Compiling AST PostfixOperatorExpression.swift
[117/194] Compiling AST PostfixSelfExpression.swift
[118/194] Compiling AST PrefixOperatorExpression.swift
[119/194] Compiling AST SelectorExpression.swift
[120/194] Compiling AST SelfExpression.swift
[121/194] Compiling AST SequenceExpression.swift
[122/194] Compiling AST SubscriptArgument.swift
[123/194] Compiling AST SubscriptExpression.swift
[124/194] Compiling AST SuperclassExpression.swift
[125/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[126/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[127/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[128/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[129/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[130/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[131/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[132/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[133/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[134/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[135/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[136/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[137/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[138/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[139/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[140/194] Compiling AST DeinitializerDeclaration.swift
[141/194] Compiling AST EnumDeclaration.swift
[142/194] Compiling AST ExtensionDeclaration.swift
[143/194] Compiling AST FunctionResult.swift
[144/194] Compiling AST FunctionSignature.swift
[145/194] Compiling AST FunctionDeclaration.swift
[146/194] Compiling AST ImportDeclaration.swift
[147/194] Compiling AST PatternInitializer.swift
[148/194] Compiling AST InitializerDeclaration.swift
[149/194] Compiling AST AccessLevelModifier.swift
[150/194] Compiling AST DeclarationModifier.swift
[151/194] Compiling AST DeclarationModifiers.swift
[152/194] Compiling AST MutationModifier.swift
[153/194] Compiling AST OperatorDeclaration.swift
[154/194] Compiling AST PrecedenceGroupDeclaration.swift
[158/194] Compiling AST TypealiasDeclaration.swift
[159/194] Compiling AST VariableDeclaration.swift
[160/194] Compiling AST Expression.swift
[161/194] Compiling AST AssignmentOperatorExpression.swift
[162/194] Compiling AST BinaryOperatorExpression.swift
[163/194] Compiling AST ClosureExpression.swift
[164/194] Compiling AST ExplicitMemberExpression.swift
[165/194] Compiling AST ForcedValueExpression.swift
[166/194] Compiling AST FunctionCallExpression.swift
[167/194] Compiling AST IdentifierExpression.swift
[168/194] Compiling AST ImplicitMemberExpression.swift
[169/194] Compiling AST InOutExpression.swift
[170/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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[187/195] Wrapping AST for AST for debugging
[189/211] Compiling Parser Parser+Lexing.swift
[190/211] Compiling Parser Parser+Modifier.swift
[191/211] 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>)
[192/211] 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>)
[193/212] Compiling Parser Parser+Util.swift
[194/212] Compiling Parser Parser+Type.swift
[195/212] Compiling Parser Parser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[196/212] Compiling Parser Parser+Attribute.swift
[197/212] Compiling Parser Parser+Common.swift
[198/212] 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 {
[199/212] 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()
[200/212] 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()
[201/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>)
[202/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>)
[203/212] Compiling Sema SequenceExpressionFolding.swift
[204/212] Emitting module Sema
[205/212] Compiling Sema LexicalParentAssignment.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 238 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ClosureExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/EnumDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PostfixOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SelectorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SequenceExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SuperclassExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/BinaryOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/FallthroughStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ThrowStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PrecedenceGroupDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ForcedValueExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ImplicitMemberExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ThrowStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ForInStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TryOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TypeCastingOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/KeyPathStringExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ImplicitMemberExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/FunctionCallExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SubscriptDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/KeyPathStringExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ParenthesizedExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ConstantDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/StructDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/DoStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/RepeatWhileStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/BinaryOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/FunctionDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/GuardStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PrefixOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PostfixOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ThrowStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/DeferStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/StructDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ConstantDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/IfStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/SemaTestResources/SequenceExpressionFolding.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TryOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/DoStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SequenceExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/AssignmentOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ImportDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/StructDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/LabeledStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SequenceExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/IdentifierExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/KeyPathExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ForInStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/BinaryOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ExtensionDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TypealiasDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/InOutExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/InitializerDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/IfStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ImplicitMemberExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/SemaTestResources/SequenceExpressionFolding.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/AssignmentOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ContinueStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/DeinitializerDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ClassDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/IdentifierExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/CompilerControlStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TypealiasDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/IfStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/InOutExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/OperatorDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ForInStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ExtensionDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ReturnStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SelfExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/FunctionCallExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ProtocolDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SubscriptDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SubscriptExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ClosureExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/DeferStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/InitializerExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ContinueStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SubscriptExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/BreakStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ContinueStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SequenceExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SuperclassExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/InOutExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ExplicitMemberExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TryOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SelectorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TypeCastingOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TypealiasDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SuperclassExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/BreakStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/InitializerExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SubscriptExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PrefixOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/OperatorDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SuperclassExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/GuardStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/IdentifierExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PostfixOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/GuardStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/InOutExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PostfixSelfExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/FunctionCallExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/FunctionCallExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ClassDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/RepeatWhileStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ImplicitMemberExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ForcedValueExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/InitializerExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ParenthesizedExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PrecedenceGroupDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/VariableDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ImportDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/VariableDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/DeinitializerDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/WhileStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/LiteralExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/ShebangResources/ShebangDump.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/WildcardExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/InitializerDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/AssignmentOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PrecedenceGroupDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TupleExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/WildcardExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/CompilerControlStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/DoStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/LabeledStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/WhileStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ExplicitMemberExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/FallthroughStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/IfStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/FunctionDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/VariableDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SwitchStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/EnumDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/WhileStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SubscriptDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/BinaryOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/BreakStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/IdentifierExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/StructDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SwitchStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/LabeledStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/ShebangResources/ShebangPrint.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ThrowStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TupleExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SubscriptDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ExplicitMemberExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/GuardStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/FunctionDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PostfixOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SelfExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/RepeatWhileStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/WhileStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ClassDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/FallthroughStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/KeyPathStringExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/RepeatWhileStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/KeyPathExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SubscriptExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ExtensionDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/KeyPathStringExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SelectorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ForcedValueExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/LiteralExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ReturnStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ForcedValueExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TupleExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/OptionalChainingExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/InitializerDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ConstantDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ProtocolDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TernaryConditionalOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TupleExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PostfixSelfExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/DoStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/ShebangResources/ShebangPrint.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SwitchStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/WildcardExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/DeferStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/OperatorDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/FunctionDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/AssignmentOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/EnumDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TernaryConditionalOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ForInStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TryOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/ShebangResources/ShebangDump.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/LiteralExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PostfixSelfExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/LiteralExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TypealiasDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/InitializerDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/PrefixOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PrefixOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/DeinitializerDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PrecedenceGroupDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/OperatorDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ParenthesizedExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/LabeledStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/WildcardExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ClassDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/CompilerControlStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TypeCastingOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TypeCastingOperatorExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/KeyPathExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/FallthroughStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ImportDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SelfExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ProtocolDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/DeferStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/InitializerExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/DeinitializerDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/OptionalChainingExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ImportDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/SelfExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ProtocolDeclaration.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/BreakStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ExplicitMemberExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ClosureExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SelectorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/VariableDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ContinueStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ReturnStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/EnumDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/TernaryConditionalOperatorExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ExtensionDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/ParenthesizedExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ClosureExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ConstantDeclaration.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/KeyPathExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/PostfixSelfExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/SwitchStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/CompilerControlStatement.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/OptionalChainingExpression.source
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTDumpTestResources/ReturnStatement.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/OptionalChainingExpression.result
/host/spi-builder-workspace/Tests/IntegrationTests/TTYASTPrintTestResources/TernaryConditionalOperatorExpression.source
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/22] Compiling Bocho DotYanagibaModels.swift
[3/22] Compiling Bocho String+Indentation.swift
[4/23] Compiling Bocho String+FileHandle.swift
[5/23] Compiling Bocho DotYanagibaReader.swift
[6/23] Emitting module Bocho
[7/23] Compiling Bocho CLIOption.swift
[8/23] Compiling Bocho DotYanagiba+Merge.swift
[9/23] Compiling Bocho DotYanagibaParser.swift
[10/23] Compiling Bocho String+TTYColor.swift
[11/23] Compiling Bocho String+Path.swift
[13/32] Compiling Source Comment.swift
[14/32] Compiling Source CommentSet.swift
[15/33] Compiling Source SourceError.swift
[16/33] Compiling Source Shebang.swift
[17/33] Compiling Source SourceFile.swift
[18/33] Compiling Source SourceLocation.swift
[19/33] Compiling Source SourceLocatable.swift
[20/33] Emitting module Source
[21/33] Compiling Source SourceReader.swift
[22/33] Compiling Source SourceRange.swift
[24/38] Compiling Diagnostic DiagnosticKind.swift
[25/38] Compiling Diagnostic DiagnosticConsumer.swift
[26/38] Compiling Diagnostic Diagnostic.swift
[27/38] Emitting module Diagnostic
[28/38] Compiling Diagnostic DiagnosticPool.swift
[30/57] Emitting module Lexer
[31/123] Compiling AST ASTVisitor.swift
[32/123] Compiling AST Attribute.swift
[33/165] Compiling AST ConstantDeclaration.swift
[34/165] Compiling AST DeinitializerDeclaration.swift
[35/165] Compiling AST ASTNode.swift
/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
[36/165] Compiling AST ASTNodeContext.swift
/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
[37/165] Compiling AST ASTTextRepresentable.swift
/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
[38/165] Compiling AST EnumDeclaration.swift
[39/165] Compiling AST ExtensionDeclaration.swift
[40/165] Compiling AST GetterSetterBlock.swift
[41/165] Compiling AST GetterSetterKeywordBlock.swift
[42/165] Compiling AST Attributes.swift
[43/165] Compiling AST CodeBlock.swift
[44/165] Compiling AST Declaration.swift
[45/165] Compiling AST WillSetDidSetBlock.swift
[46/165] Compiling AST ClassDeclaration.swift
[47/165] Compiling AST ASTUnit.swift
[48/165] Compiling AST ASTUnitCollection.swift
[49/165] Compiling AST ASTVisitor+Traversal.swift
[50/165] Emitting module AST
[52/181] Compiling AST TernaryConditionalOperatorExpression.swift
[53/181] Compiling AST TryOperatorExpression.swift
[54/181] Compiling AST TupleExpression.swift
[55/181] Compiling AST TypeCastingOperatorExpression.swift
[56/181] Compiling AST WildcardExpression.swift
[57/181] Compiling AST ExpressionList.swift
[58/181] Compiling AST GenericArgumentClause.swift
[59/181] Compiling AST GenericParameterClause.swift
[60/181] Compiling AST GenericWhereClause.swift
[61/181] Compiling AST Identifier.swift
[62/181] Compiling AST IdentifierList.swift
[63/181] Compiling AST LocatableNode.swift
[64/181] Compiling AST Operator.swift
[65/181] Compiling AST Pattern.swift
[66/181] Compiling AST EnumCasePattern.swift
[67/181] Compiling AST InitializerExpression.swift
[68/181] Compiling AST KeyPathExpression.swift
[69/181] Compiling AST KeyPathStringExpression.swift
[70/181] Compiling AST LiteralExpression.swift
[71/181] Compiling AST OptionalChainingExpression.swift
[72/181] Compiling AST ParenthesizedExpression.swift
[73/181] Compiling AST PostfixOperatorExpression.swift
[74/181] Compiling AST PostfixSelfExpression.swift
[75/181] Compiling AST PrefixOperatorExpression.swift
[76/181] Compiling AST SelectorExpression.swift
[77/181] Compiling AST SelfExpression.swift
[78/181] Compiling AST SequenceExpression.swift
[79/181] Compiling AST SubscriptArgument.swift
[80/181] Compiling AST SubscriptExpression.swift
[81/181] Compiling AST SuperclassExpression.swift
[82/181] Compiling AST ExpressionPattern.swift
[83/181] Compiling AST IdentifierPattern.swift
[84/181] Compiling AST OptionalPattern.swift
[85/181] Compiling AST TuplePattern.swift
[86/181] Compiling AST TypeCastingPattern.swift
[87/181] Compiling AST ValueBindingPattern.swift
[88/181] Compiling AST WildcardPattern.swift
[89/181] Compiling AST Statement.swift
[90/181] Compiling AST BreakStatement.swift
[91/181] Compiling AST CompilerControlStatement.swift
[92/181] Compiling AST AvailabilityCondition.swift
[93/181] Compiling AST Condition.swift
[94/181] Compiling AST ConditionList.swift
[95/181] Compiling AST ContinueStatement.swift
[96/181] Compiling AST DeferStatement.swift
[97/181] Compiling AST DoStatement.swift
[98/181] Compiling AST FallthroughStatement.swift
[99/181] Compiling AST ForInStatement.swift
[100/181] Compiling AST GuardStatement.swift
[101/181] Compiling AST IfStatement.swift
[102/181] Compiling AST LabeledStatement.swift
[103/181] Compiling AST RepeatWhileStatement.swift
[104/181] Compiling AST ReturnStatement.swift
[105/181] Compiling AST SwitchStatement.swift
[106/181] Compiling AST ThrowStatement.swift
[107/181] Compiling AST WhileStatement.swift
[108/181] Compiling AST Statements.swift
[109/181] Compiling AST ThrowsKind.swift
[110/181] Compiling AST TopLevelDeclaration.swift
[111/181] Compiling AST Type.swift
[115/181] Compiling AST FunctionResult.swift
[116/181] Compiling AST FunctionSignature.swift
[117/181] Compiling AST FunctionDeclaration.swift
[118/181] Compiling AST ImportDeclaration.swift
[119/181] Compiling AST PatternInitializer.swift
[120/181] Compiling AST InitializerDeclaration.swift
[121/181] Compiling AST AccessLevelModifier.swift
[122/181] Compiling AST DeclarationModifier.swift
[123/181] Compiling AST DeclarationModifiers.swift
[124/181] Compiling AST MutationModifier.swift
[125/181] Compiling AST OperatorDeclaration.swift
[126/181] Compiling AST PrecedenceGroupDeclaration.swift
[127/181] Compiling AST ProtocolDeclaration.swift
[128/181] Compiling AST StructDeclaration.swift
[129/181] Compiling AST SubscriptDeclaration.swift
[130/181] Compiling AST TypealiasDeclaration.swift
[131/181] Compiling AST VariableDeclaration.swift
[132/181] Compiling AST Expression.swift
[133/181] Compiling AST AssignmentOperatorExpression.swift
[134/181] Compiling AST BinaryOperatorExpression.swift
[135/181] Compiling AST ClosureExpression.swift
[136/181] Compiling AST ExplicitMemberExpression.swift
[137/181] Compiling AST ForcedValueExpression.swift
[138/181] Compiling AST FunctionCallExpression.swift
[139/181] Compiling AST IdentifierExpression.swift
[140/181] Compiling AST ImplicitMemberExpression.swift
[141/181] Compiling AST InOutExpression.swift
[142/180] Compiling AST AnyType.swift
[143/180] Compiling AST ArrayType.swift
[144/180] Compiling AST DictionaryType.swift
[145/180] Compiling AST FunctionType.swift
[146/180] Compiling AST ImplicitlyUnwrappedOptionalType.swift
[147/180] Compiling AST MetatypeType.swift
[148/180] Compiling AST OpaqueType.swift
[149/180] Compiling AST OptionalType.swift
[150/180] Compiling AST ProtocolCompositionType.swift
[151/180] Compiling AST SelfType.swift
[152/180] Compiling AST TupleType.swift
[153/180] Compiling AST TypeAnnotation.swift
[154/180] Compiling AST TypeIdentifier.swift
[155/180] Compiling AST TypeInheritanceClause.swift
[156/180] Compiling AST Version.swift
[174/196] Compiling Parser Parser+Util.swift
[175/196] Compiling Parser Parser+Lexing.swift
[176/196] Compiling Parser Parser+Modifier.swift
[177/197] 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>)
[178/197] 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>)
[179/197] Compiling Parser Parser+Type.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[180/197] Compiling Parser Parser+Attribute.swift
[181/197] Compiling Parser Parser+Common.swift
[182/197] 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 {
[183/197] 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()
[184/197] 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()
[185/197] 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>)
[186/197] 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>)
[187/197] Compiling Parser Parser.swift
[188/197] Emitting module Sema
[189/197] Compiling Sema SequenceExpressionFolding.swift
[190/197] Compiling Sema LexicalParentAssignment.swift
[191/198] Wrapping AST for Sema for debugging
BUILD FAILURE 6.1 android