Build Information
Failed to build Song, reference main (191a94
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 05:11:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/Song.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/OperatorFoundation/Song
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 191a949 Update Package.swift
Cloned https://github.com/OperatorFoundation/Song.git
Revision (git rev-parse @):
191a949639ea29d0cf45ddf8ed4d6a342ab92a0d
SUCCESS checkout https://github.com/OperatorFoundation/Song.git at main
Fetching https://github.com/OperatorFoundation/swift-ast
[1/6960] Fetching swift-ast
Fetched https://github.com/OperatorFoundation/swift-ast from cache (1.19s)
Fetching https://github.com/OperatorFoundation/Datable
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable from cache (0.81s)
Fetching https://github.com/OperatorFoundation/Net
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net from cache (0.69s)
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
Creating working copy for https://github.com/OperatorFoundation/Net
Working copy of https://github.com/OperatorFoundation/Net resolved at main (e49f54a)
Creating working copy for https://github.com/OperatorFoundation/swift-ast
Working copy of https://github.com/OperatorFoundation/swift-ast resolved at main (d7e0cf0)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "song",
"name": "Song",
"url": "https://github.com/OperatorFoundation/Song.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Song",
"dependencies": [
{
"identity": "swift-ast",
"name": "swift-ast",
"url": "https://github.com/OperatorFoundation/swift-ast",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-ast",
"dependencies": [
]
},
{
"identity": "datable",
"name": "Datable",
"url": "https://github.com/OperatorFoundation/Datable",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Datable",
"dependencies": [
]
},
{
"identity": "net",
"name": "Net",
"url": "https://github.com/OperatorFoundation/Net",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Net",
"dependencies": [
{
"identity": "datable",
"name": "Datable",
"url": "https://github.com/OperatorFoundation/Datable",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Datable",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/OperatorFoundation/Song.git
[1/593] Fetching song
Fetched https://github.com/OperatorFoundation/Song.git from cache (0.83s)
Fetching https://github.com/OperatorFoundation/swift-ast from cache
Fetched https://github.com/OperatorFoundation/swift-ast from cache (0.48s)
Fetching https://github.com/OperatorFoundation/Datable from cache
Fetched https://github.com/OperatorFoundation/Datable from cache (0.49s)
Fetching https://github.com/OperatorFoundation/Net from cache
Fetched https://github.com/OperatorFoundation/Net from cache (0.47s)
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
Creating working copy for https://github.com/OperatorFoundation/Song.git
Working copy of https://github.com/OperatorFoundation/Song.git resolved at main (191a949)
Creating working copy for https://github.com/OperatorFoundation/Net
Working copy of https://github.com/OperatorFoundation/Net resolved at main (e49f54a)
Creating working copy for https://github.com/OperatorFoundation/swift-ast
Working copy of https://github.com/OperatorFoundation/swift-ast resolved at main (d7e0cf0)
Found 3 product dependencies
- swift-ast
- Datable
- Net
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/OperatorFoundation/Song.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/27] Write sources
[1/27] Write choir-entitlement.plist
[1/27] Write sources
[1/27] Write compose-entitlement.plist
[1/27] Write sources
[20/27] Write swift-version--7754E27361AE5C74.txt
[22/76] Compiling Chorus Chorus.swift
[23/76] Emitting module Chorus
[24/76] Compiling Bocho String+TTYColor.swift
[25/76] Compiling Bocho String+Indentation.swift
[26/76] Compiling Bocho String+FileHandle.swift
[27/76] Compiling Bocho String+Path.swift
[28/76] Compiling Package Package.swift
[29/76] Emitting module Package
[30/76] Emitting module Bocho
[31/76] Compiling Bocho CLIOption.swift
[32/76] Compiling Bocho DotYanagiba+Merge.swift
[33/76] Compiling Bocho DotYanagibaReader.swift
[34/76] Compiling Bocho DotYanagibaModels.swift
[35/76] Compiling Bocho DotYanagibaParser.swift
[36/76] Compiling Datable NetworkIntable.swift
[37/76] Compiling Datable String+Arrayable.swift
[38/76] Compiling Datable String+Datable.swift
[39/76] Compiling Datable Arrayable.swift
[40/76] Compiling Datable CSVable.swift
[41/76] Compiling Datable Data+Arrayable.swift
[42/76] Compiling Datable Data+Base64.swift
[43/76] Emitting module Datable
[44/79] Compiling Datable Double+MaybeDatable.swift
[45/79] Compiling Datable Double+Stringable.swift
[46/79] Compiling Datable File.swift
[47/79] Compiling Datable Float+Floatable.swift
[48/79] Compiling Datable Data+MaybeNetworkIntable.swift
[49/79] Compiling Datable Data+Stringable.swift
[50/79] Compiling Datable Datable.swift
[51/79] Compiling Datable DatableConfig.swift
[52/79] Compiling Datable Data+Datable.swift
[53/79] Compiling Datable Data+ExpressibleByStringLiteral.swift
[54/79] Compiling Datable Data+Floatable.swift
[55/79] Compiling Datable Data+MaybeIntable.swift
[56/79] Compiling Datable String+Intable.swift
[57/79] Compiling Datable Stringable.swift
[58/79] Compiling Datable StringableArray+CSVable.swift
[59/89] Compiling Datable Int+MaybeDatable.swift
[60/89] Compiling Datable Int+MaybeIntable.swift
[61/89] Compiling Datable Int+Stringable.swift
[62/89] Compiling Datable Intable.swift
[63/89] Compiling Datable MaybeDatable.swift
[64/89] Compiling Datable MaybeIntable.swift
[65/89] Compiling Datable MaybeNetworkIntable.swift
[66/89] Compiling Datable NetworkDatable.swift
[67/89] Compiling Datable Float+MaybeDatable.swift
[68/89] Compiling Datable Float+MaybeIntable.swift
[69/89] Compiling Datable Floatable.swift
[70/89] Compiling Datable Int+Floatable.swift
[71/89] Compiling Source SourceError.swift
[72/89] Compiling Source CommentSet.swift
[73/89] Emitting module Source
[74/89] Compiling Source Comment.swift
[75/89] Compiling Source SourceRange.swift
[76/89] Compiling Source Shebang.swift
[77/89] Compiling Source SourceLocation.swift
[78/89] Compiling Source SourceFile.swift
[79/89] Compiling Source SourceReader.swift
[80/89] Compiling Source SourceLocatable.swift
[81/94] Compiling Diagnostic DiagnosticConsumer.swift
[82/94] Emitting module Diagnostic
[83/94] Compiling Diagnostic Diagnostic.swift
[84/94] Compiling Diagnostic DiagnosticPool.swift
[85/94] Compiling Diagnostic DiagnosticKind.swift
[86/223] Compiling AST WildcardExpression.swift
[87/223] Compiling AST ExpressionList.swift
[88/224] Compiling AST ConstantDeclaration.swift
[89/224] Compiling AST DeinitializerDeclaration.swift
[90/224] Compiling AST EnumDeclaration.swift
[91/224] Compiling AST ExtensionDeclaration.swift
[92/224] Compiling AST FunctionResult.swift
[93/224] Compiling AST FunctionSignature.swift
[94/224] Compiling AST WillSetDidSetBlock.swift
[95/224] Compiling AST ClassDeclaration.swift
[96/224] Emitting module Lexer
[97/224] Compiling Lexer UnicodeScalar+Lexer.swift
[98/224] Compiling AST PatternInitializer.swift
[99/224] Compiling AST InitializerDeclaration.swift
[100/224] Compiling AST TupleExpression.swift
[101/224] Compiling AST TypeCastingOperatorExpression.swift
[102/224] Compiling AST TernaryConditionalOperatorExpression.swift
[103/224] Compiling AST TryOperatorExpression.swift
[104/224] Compiling AST FunctionDeclaration.swift
[105/224] Compiling AST ImportDeclaration.swift
[112/224] Compiling AST GenericArgumentClause.swift
[113/224] Compiling AST GenericParameterClause.swift
[114/224] Compiling AST GenericWhereClause.swift
[115/224] Compiling AST Identifier.swift
[116/224] Compiling AST IdentifierList.swift
[117/224] Compiling AST LocatableNode.swift
[118/236] Compiling AST CompilerControlStatement.swift
[119/236] Compiling AST AvailabilityCondition.swift
[120/236] Compiling AST Condition.swift
[121/236] Compiling AST ConditionList.swift
[122/236] Compiling AST ContinueStatement.swift
[123/236] Compiling AST DeferStatement.swift
[124/236] Compiling AST DoStatement.swift
[125/236] Compiling AST FallthroughStatement.swift
[126/236] Compiling AST ForInStatement.swift
[127/236] Compiling AST GuardStatement.swift
[128/236] Compiling AST IfStatement.swift
[129/236] Compiling AST LabeledStatement.swift
[130/236] Compiling AST LiteralExpression.swift
[131/236] Compiling AST OptionalChainingExpression.swift
[132/236] Compiling AST ParenthesizedExpression.swift
[133/236] Compiling AST PostfixOperatorExpression.swift
[134/236] Compiling AST PostfixSelfExpression.swift
[135/236] Compiling AST PrefixOperatorExpression.swift
[136/236] Compiling AST SelectorExpression.swift
[137/236] Compiling AST SelfExpression.swift
[138/236] Compiling AST SequenceExpression.swift
[139/236] Compiling AST SubscriptArgument.swift
[140/236] Compiling AST SubscriptExpression.swift
[141/236] Compiling AST SuperclassExpression.swift
[142/236] Compiling AST AssignmentOperatorExpression.swift
[143/236] Compiling AST BinaryOperatorExpression.swift
[144/236] Compiling AST ClosureExpression.swift
[145/236] Compiling AST ExplicitMemberExpression.swift
[146/236] Compiling AST ForcedValueExpression.swift
[147/236] Compiling AST FunctionCallExpression.swift
[148/236] Compiling AST IdentifierExpression.swift
[149/236] Compiling AST ImplicitMemberExpression.swift
[150/236] Compiling AST InOutExpression.swift
[151/236] Compiling AST InitializerExpression.swift
[152/236] Compiling AST KeyPathExpression.swift
[153/236] Compiling AST KeyPathStringExpression.swift
[154/236] Compiling AST AccessLevelModifier.swift
[155/236] Compiling AST DeclarationModifier.swift
[156/236] Compiling AST DeclarationModifiers.swift
[157/236] Compiling AST MutationModifier.swift
[158/236] Compiling AST OperatorDeclaration.swift
[159/236] Compiling AST PrecedenceGroupDeclaration.swift
[160/236] Compiling AST ProtocolDeclaration.swift
[161/236] Compiling AST StructDeclaration.swift
[162/236] Compiling AST SubscriptDeclaration.swift
[163/236] Compiling AST TypealiasDeclaration.swift
[164/236] Compiling AST VariableDeclaration.swift
[165/236] Compiling AST Expression.swift
[166/236] Compiling AST RepeatWhileStatement.swift
[167/236] Compiling AST ReturnStatement.swift
[168/236] Compiling AST SwitchStatement.swift
[169/236] Compiling AST ThrowStatement.swift
[170/236] Compiling AST WhileStatement.swift
[171/236] Compiling AST Statements.swift
[172/236] Compiling AST ThrowsKind.swift
[173/236] Compiling AST TopLevelDeclaration.swift
[174/236] Compiling AST Type.swift
[175/236] Compiling AST AnyType.swift
[176/236] Compiling AST ArrayType.swift
[177/236] Compiling AST DictionaryType.swift
[178/236] Emitting module AST
[191/236] Compiling AST FunctionType.swift
[192/236] Compiling AST ImplicitlyUnwrappedOptionalType.swift
[193/236] Compiling AST MetatypeType.swift
[194/236] Compiling AST OpaqueType.swift
[195/236] Compiling AST OptionalType.swift
[196/236] Compiling AST ProtocolCompositionType.swift
[197/236] Compiling AST SelfType.swift
[198/236] Compiling AST TupleType.swift
[199/236] Compiling AST TypeAnnotation.swift
[200/236] Compiling AST TypeIdentifier.swift
[201/236] Compiling AST TypeInheritanceClause.swift
[202/236] Compiling AST Version.swift
[203/236] Compiling AST Operator.swift
[204/236] Compiling AST Pattern.swift
[205/236] Compiling AST EnumCasePattern.swift
[206/236] Compiling AST ExpressionPattern.swift
[207/236] Compiling AST IdentifierPattern.swift
[208/236] Compiling AST OptionalPattern.swift
[209/236] Compiling AST TuplePattern.swift
[210/236] Compiling AST TypeCastingPattern.swift
[211/236] Compiling AST ValueBindingPattern.swift
[212/236] Compiling AST WildcardPattern.swift
[213/236] Compiling AST Statement.swift
[214/236] Compiling AST BreakStatement.swift
[215/236] Compiling AST ASTNode.swift
[216/236] Compiling AST ASTNodeContext.swift
[217/236] Compiling AST ASTTextRepresentable.swift
[218/236] Compiling AST ASTUnit.swift
[219/236] Compiling AST ASTUnitCollection.swift
[220/236] Compiling AST ASTVisitor+Traversal.swift
[221/236] Compiling AST ASTVisitor.swift
[222/236] Compiling AST Attribute.swift
[223/236] Compiling AST Attributes.swift
[224/236] Compiling AST CodeBlock.swift
[225/236] Compiling AST Declaration.swift
[226/236] Compiling AST GetterSetterBlock.swift
[227/236] Compiling AST GetterSetterKeywordBlock.swift
[228/252] Compiling Parser Parser+Lexing.swift
[229/253] Compiling Parser Parser+Util.swift
[230/253] Compiling Parser Parser+Pattern.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[231/253] Compiling Parser Parser+Statement.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[232/253] Compiling Parser Parser.swift
[233/253] Compiling Parser Parser+Modifier.swift
[234/253] Compiling Parser Parser+Type.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[235/253] Emitting module Parser
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:53:48: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:53:33: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:89:15: error: 'Expression' is ambiguous for type lookup in this context
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
90 | var resultExpr: Expression = leftExpression
91 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:88:21: error: 'Expression' is ambiguous for type lookup in this context
86 |
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
| `- error: 'Expression' is ambiguous for type lookup in this context
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:252:80: error: 'Expression' is ambiguous for type lookup in this context
250 | }
251 |
252 | private func parsePrefixExpression(config: ParserExpressionConfig) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
253 | let startLocation = getStartLocation()
254 | switch _lexer.read([.dummyPrefixOperator, .prefixAmp]) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1081:45: error: 'Expression' is ambiguous for type lookup in this context
1079 | }
1080 |
1081 | private func parseDictionaryLiteral(head: Expression, startLocation: SourceLocation) throws -> LiteralExpression {
| `- error: 'Expression' is ambiguous for type lookup in this context
1082 | var entries: [DictionaryEntry] = []
1083 | // complete first entry
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1101:11: error: 'Expression' is ambiguous for type lookup in this context
1099 |
1100 | private func parseArrayLiteral(
1101 | head: Expression, startLocation: SourceLocation
| `- error: 'Expression' is ambiguous for type lookup in this context
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[236/253] Compiling Parser Parser+Attribute.swift
[237/253] Compiling Parser Parser+Common.swift
[238/253] Compiling Parser Parser+Expression.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:53:48: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:53:33: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:89:15: error: 'Expression' is ambiguous for type lookup in this context
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
90 | var resultExpr: Expression = leftExpression
91 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:88:21: error: 'Expression' is ambiguous for type lookup in this context
86 |
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
| `- error: 'Expression' is ambiguous for type lookup in this context
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:252:80: error: 'Expression' is ambiguous for type lookup in this context
250 | }
251 |
252 | private func parsePrefixExpression(config: ParserExpressionConfig) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
253 | let startLocation = getStartLocation()
254 | switch _lexer.read([.dummyPrefixOperator, .prefixAmp]) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1081:45: error: 'Expression' is ambiguous for type lookup in this context
1079 | }
1080 |
1081 | private func parseDictionaryLiteral(head: Expression, startLocation: SourceLocation) throws -> LiteralExpression {
| `- error: 'Expression' is ambiguous for type lookup in this context
1082 | var entries: [DictionaryEntry] = []
1083 | // complete first entry
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1101:11: error: 'Expression' is ambiguous for type lookup in this context
1099 |
1100 | private func parseArrayLiteral(
1101 | head: Expression, startLocation: SourceLocation
| `- error: 'Expression' is ambiguous for type lookup in this context
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:32:17: error: 'Expression' is ambiguous for type lookup in this context
30 | extension Parser {
31 | private func parseExpressionList(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> ExpressionList {
32 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
33 | repeat {
34 | let expr = try parseExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:90:21: error: 'Expression' is ambiguous for type lookup in this context
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
| `- error: 'Expression' is ambiguous for type lookup in this context
91 |
92 | func examine() -> (Bool, Token.Kind) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:211:24: error: 'Expression' is ambiguous for type lookup in this context
209 | try match(.colon, orFatal: .expectedColonAfterTrueExpr)
210 | let falseTryKind = parseTryKind()
211 | var falseExpr: Expression = try parsePrefixExpression(config: config)
| `- error: 'Expression' is ambiguous for type lookup in this context
212 | falseExpr = falseTryKind.wrap(expr: falseExpr)
213 | let ternaryOpExpr = TernaryConditionalOperatorExpression(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:366:45: error: 'Expression' is ambiguous for type lookup in this context
364 | postfixExpression expr: PostfixExpression, config: ParserExpressionConfig
365 | ) throws -> PostfixExpression { // swift-lint:suppress(nested_code_block_depth)
366 | func parseArgumentExpr(op: Operator) -> Expression? {
| `- error: 'Expression' is ambiguous for type lookup in this context
367 | let exprLexerCp = _lexer.checkPoint()
368 | let exprDiagnosticCp = _diagnosticPool.checkPoint()
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:420:32: error: 'nil' requires a contextual type
418 | arguments.append(argument)
419 | case .prefixOperator(let op), .binaryOperator(let op), .postfixOperator(let op):
420 | appendArgument(op, nil)
| `- error: 'nil' requires a contextual type
421 | default:
422 | let argExpr = try parseExpression()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:940:89: error: 'Expression' is ambiguous for type lookup in this context
938 | _ magicWord: String, _ startLocation: SourceLocation
939 | ) throws -> LiteralExpression {
940 | func getMagicExpression(for key: String, needsParsingComma: Bool = false) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
941 | if needsParsingComma {
942 | try match(.comma, orFatal: .expectedCommaBeforeKeywordPlaygroundLiteral(magicWord, key))
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1103:17: error: 'Expression' is ambiguous for type lookup in this context
1101 | head: Expression, startLocation: SourceLocation
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
| `- error: 'Expression' is ambiguous for type lookup in this context
1104 | // parse the rest of the array
1105 | while _lexer.match(.comma) && _lexer.look().kind != .rightSquare {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1119:66: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1119:42: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1122:30: error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
1122 | var caliberatedExprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1123 |
1124 | for (offset, expr) in exprs.reversed().enumerated() {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1166:17: error: 'Expression' is ambiguous for type lookup in this context
1164 | }
1165 |
1166 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1167 | var rawText = raw
1168 | let multilineDelimiter = "\"\"\""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/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()
[239/253] Compiling Parser Parser+Generic.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:53:48: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:53:33: error: 'Expression' is ambiguous for type lookup in this context
51 | case noTry
52 |
53 | fileprivate func wrap(expr: Expression) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
54 | switch self {
55 | case .try(let startLocation):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:89:15: error: 'Expression' is ambiguous for type lookup in this context
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
90 | var resultExpr: Expression = leftExpression
91 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:88:21: error: 'Expression' is ambiguous for type lookup in this context
86 |
87 | private func parseBinaryExpressions( // swift-lint:suppress(high_ncss,high_cyclomatic_complexity)
88 | leftExpression: Expression, config: ParserExpressionConfig
| `- error: 'Expression' is ambiguous for type lookup in this context
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:252:80: error: 'Expression' is ambiguous for type lookup in this context
250 | }
251 |
252 | private func parsePrefixExpression(config: ParserExpressionConfig) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
253 | let startLocation = getStartLocation()
254 | switch _lexer.read([.dummyPrefixOperator, .prefixAmp]) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1081:45: error: 'Expression' is ambiguous for type lookup in this context
1079 | }
1080 |
1081 | private func parseDictionaryLiteral(head: Expression, startLocation: SourceLocation) throws -> LiteralExpression {
| `- error: 'Expression' is ambiguous for type lookup in this context
1082 | var entries: [DictionaryEntry] = []
1083 | // complete first entry
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1101:11: error: 'Expression' is ambiguous for type lookup in this context
1099 |
1100 | private func parseArrayLiteral(
1101 | head: Expression, startLocation: SourceLocation
| `- error: 'Expression' is ambiguous for type lookup in this context
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:32:17: error: 'Expression' is ambiguous for type lookup in this context
30 | extension Parser {
31 | private func parseExpressionList(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> ExpressionList {
32 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
33 | repeat {
34 | let expr = try parseExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:90:21: error: 'Expression' is ambiguous for type lookup in this context
88 | leftExpression: Expression, config: ParserExpressionConfig
89 | ) throws -> Expression {
90 | var resultExpr: Expression = leftExpression
| `- error: 'Expression' is ambiguous for type lookup in this context
91 |
92 | func examine() -> (Bool, Token.Kind) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:211:24: error: 'Expression' is ambiguous for type lookup in this context
209 | try match(.colon, orFatal: .expectedColonAfterTrueExpr)
210 | let falseTryKind = parseTryKind()
211 | var falseExpr: Expression = try parsePrefixExpression(config: config)
| `- error: 'Expression' is ambiguous for type lookup in this context
212 | falseExpr = falseTryKind.wrap(expr: falseExpr)
213 | let ternaryOpExpr = TernaryConditionalOperatorExpression(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:366:45: error: 'Expression' is ambiguous for type lookup in this context
364 | postfixExpression expr: PostfixExpression, config: ParserExpressionConfig
365 | ) throws -> PostfixExpression { // swift-lint:suppress(nested_code_block_depth)
366 | func parseArgumentExpr(op: Operator) -> Expression? {
| `- error: 'Expression' is ambiguous for type lookup in this context
367 | let exprLexerCp = _lexer.checkPoint()
368 | let exprDiagnosticCp = _diagnosticPool.checkPoint()
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:420:32: error: 'nil' requires a contextual type
418 | arguments.append(argument)
419 | case .prefixOperator(let op), .binaryOperator(let op), .postfixOperator(let op):
420 | appendArgument(op, nil)
| `- error: 'nil' requires a contextual type
421 | default:
422 | let argExpr = try parseExpression()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:940:89: error: 'Expression' is ambiguous for type lookup in this context
938 | _ magicWord: String, _ startLocation: SourceLocation
939 | ) throws -> LiteralExpression {
940 | func getMagicExpression(for key: String, needsParsingComma: Bool = false) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
941 | if needsParsingComma {
942 | try match(.comma, orFatal: .expectedCommaBeforeKeywordPlaygroundLiteral(magicWord, key))
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1103:17: error: 'Expression' is ambiguous for type lookup in this context
1101 | head: Expression, startLocation: SourceLocation
1102 | ) throws -> LiteralExpression {
1103 | var exprs: [Expression] = [head]
| `- error: 'Expression' is ambiguous for type lookup in this context
1104 | // parse the rest of the array
1105 | while _lexer.match(.comma) && _lexer.look().kind != .rightSquare {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1119:66: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1119:42: error: 'Expression' is ambiguous for type lookup in this context
1117 | head: String, raw: String, startLocation: SourceLocation
1118 | ) throws -> LiteralExpression { // swift-lint:suppress(nested_code_block_depth)
1119 | func caliberateExpressions(_ exprs: [Expression]) throws -> [Expression] { // swift-lint:suppress(nested_code_block_depth,long_line)
| `- error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1122:30: error: 'Expression' is ambiguous for type lookup in this context
1120 | let exprCount = exprs.count
1121 | var indentationPrefix = ""
1122 | var caliberatedExprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1123 |
1124 | for (offset, expr) in exprs.reversed().enumerated() {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:1166:17: error: 'Expression' is ambiguous for type lookup in this context
1164 | }
1165 |
1166 | var exprs: [Expression] = []
| `- error: 'Expression' is ambiguous for type lookup in this context
1167 | var rawText = raw
1168 | let multilineDelimiter = "\"\"\""
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/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()
[240/253] Compiling Parser Parser+Declaration.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[241/253] Compiling Parser Parser+Diagnostic.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/Parser/Parser+Expression.swift:40:93: error: 'Expression' is ambiguous for type lookup in this context
38 | }
39 |
40 | func parseExpression(config: ParserExpressionConfig = ParserExpressionConfig()) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
41 | let tryKind = parseTryKind()
42 | let prefixExpr = try parsePrefixExpression(config: config)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-ast/Sources/AST/Expression.swift:17:17: note: found this candidate
15 | */
16 |
17 | public protocol Expression : Statement {
| `- note: found this candidate
18 | }
19 |
[242/253] Compiling Sema LexicalParentAssignment.swift
[243/253] Emitting module Sema
BUILD FAILURE 6.0 macosSpm