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