Build Information
Failed to build Song, reference main (191a94
), with Swift 6.0 for Linux on 31 Oct 2024 05:04:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/Song.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/OperatorFoundation/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/OperatorFoundation/Song.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/OperatorFoundation/swift-ast
[1/6960] Fetching swift-ast
Fetched https://github.com/OperatorFoundation/swift-ast from cache (0.27s)
Fetching https://github.com/OperatorFoundation/Datable
[1/399] Fetching datable
Fetched https://github.com/OperatorFoundation/Datable from cache (0.19s)
Fetching https://github.com/OperatorFoundation/Net
[1/105] Fetching net
Fetched https://github.com/OperatorFoundation/Net from cache (0.18s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/199] Fetching networklinux
Fetched https://github.com/OperatorFoundation/NetworkLinux from cache (0.17s)
Fetching https://github.com/OperatorFoundation/BlueSocket.git
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket.git from cache (0.26s)
Fetching https://github.com/OperatorFoundation/SwiftHexTools.git
[1/96] Fetching swifthextools
Fetched https://github.com/OperatorFoundation/SwiftHexTools.git from cache (0.18s)
Fetching https://github.com/apple/swift-argument-parser
[1/12302] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.65s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.39s)
Creating working copy for https://github.com/OperatorFoundation/NetworkLinux
Working copy of https://github.com/OperatorFoundation/NetworkLinux resolved at main (2c563f2)
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/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at main (1186348)
Creating working copy for https://github.com/OperatorFoundation/swift-ast
Working copy of https://github.com/OperatorFoundation/swift-ast resolved at main (d7e0cf0)
Creating working copy for https://github.com/OperatorFoundation/SwiftHexTools.git
Working copy of https://github.com/OperatorFoundation/SwiftHexTools.git resolved at main (3d4b5a9)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/OperatorFoundation/BlueSocket.git
Working copy of https://github.com/OperatorFoundation/BlueSocket.git resolved at main (5a936a3)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/44] Write sources
[22/44] Write swift-version-24593BA9C3E375BF.txt
[24/99] Emitting module Package
[25/99] Emitting module Socket
[26/99] Emitting module Chorus
[27/99] Compiling Chorus Chorus.swift
[28/100] Wrapping AST for Chorus for debugging
[30/100] Compiling Datable String+Arrayable.swift
[31/100] Compiling Datable String+Datable.swift
[32/100] Compiling Datable String+Intable.swift
[33/100] Compiling Datable Stringable.swift
[34/104] Compiling Socket SocketUtils.swift
[35/104] Compiling Package Package.swift
[36/105] Compiling Bocho String+Indentation.swift
[37/105] Compiling Bocho String+Path.swift
[38/106] Emitting module SwiftHexTools
[39/106] Compiling SwiftHexTools SwiftHexTools.swift
[41/107] Compiling Bocho DotYanagibaModels.swift
[42/107] Compiling Bocho String+FileHandle.swift
[43/107] Compiling Bocho DotYanagibaParser.swift
[44/107] Compiling Datable Data+ExpressibleByStringLiteral.swift
[45/107] Compiling Datable Data+Floatable.swift
[46/107] Emitting module Bocho
[47/107] Compiling Bocho DotYanagibaReader.swift
[48/107] Compiling Socket Socket.swift
[49/107] Compiling Socket SocketProtocols.swift
[50/107] Compiling Datable Int+MaybeDatable.swift
[51/107] Compiling Datable Int+MaybeIntable.swift
[52/107] Compiling Datable Int+Stringable.swift
[53/107] Compiling Datable Intable.swift
[54/107] Compiling Datable MaybeDatable.swift
[55/107] Compiling Datable MaybeIntable.swift
[56/107] Compiling Datable MaybeNetworkIntable.swift
[57/107] Compiling Datable NetworkDatable.swift
[58/107] Compiling Datable NetworkIntable.swift
[59/107] Compiling Datable Float+Floatable.swift
[60/107] Compiling Datable Float+MaybeDatable.swift
[61/107] Compiling Datable Float+MaybeIntable.swift
[62/107] Compiling Datable Floatable.swift
[63/107] Compiling Datable Int+Floatable.swift
[64/107] Compiling Datable Datable.swift
[65/107] Compiling Datable DatableConfig.swift
[66/107] Compiling Datable Double+MaybeDatable.swift
[67/107] Compiling Datable Double+Stringable.swift
[68/107] Compiling Datable File.swift
[69/107] Compiling Socket Socket+Hashable.swift
[70/107] Compiling Socket Socket+Equatable.swift
[72/108] Emitting module Datable
[73/108] Compiling Datable Arrayable.swift
[74/108] Compiling Datable CSVable.swift
[75/108] Compiling Datable Data+Arrayable.swift
[76/108] Compiling Datable Data+Base64.swift
[77/108] Compiling Datable Data+Datable.swift
[80/108] Compiling Datable Data+MaybeIntable.swift
[81/108] Compiling Datable Data+MaybeNetworkIntable.swift
[82/108] Compiling Datable Data+Stringable.swift
[83/108] Compiling Bocho String+TTYColor.swift
[83/109] Wrapping AST for Package for debugging
[85/109] Wrapping AST for SwiftHexTools for debugging
[87/109] Wrapping AST for Socket for debugging
[88/122] Wrapping AST for Bocho for debugging
[90/133] Compiling NetworkLinux NWProtocolMetadata.swift
[91/133] Compiling NetworkLinux NWProtocolOptions.swift
[92/134] Compiling NetworkLinux NWProtocolTCP.swift
[93/134] Compiling NetworkLinux NWProtocolTLS.swift
[94/134] Emitting module Source
[95/135] Compiling NetworkLinux NWListener.swift
[96/135] Compiling NetworkLinux NWParameters.swift
[97/135] Compiling NetworkLinux NWProtocol.swift
[98/135] Compiling NetworkLinux NWProtocolDefinition.swift
[99/135] Compiling NetworkLinux NWError.swift
[100/135] Compiling NetworkLinux NWInterface.swift
[101/135] Compiling Source SourceError.swift
[102/135] Compiling Source Shebang.swift
[103/135] Compiling Source SourceFile.swift
[104/135] Compiling Source Comment.swift
[105/135] Compiling Source CommentSet.swift
[106/135] Compiling Source SourceRange.swift
[107/135] Compiling NetworkLinux NWProtocolUDP.swift
[108/135] Compiling Source SourceReader.swift
[109/135] Compiling Source SourceLocatable.swift
[110/135] Compiling Source SourceLocation.swift
[114/136] Emitting module NetworkLinux
[115/136] Compiling NetworkLinux NWConnection.swift
[116/136] Compiling NetworkLinux NWEndpoint.swift
[116/137] Wrapping AST for Source for debugging
[118/142] Wrapping AST for NetworkLinux for debugging
[120/142] Compiling Diagnostic DiagnosticKind.swift
[121/142] Compiling Diagnostic DiagnosticConsumer.swift
[122/142] Compiling Diagnostic Diagnostic.swift
[123/142] Compiling Diagnostic DiagnosticPool.swift
[124/142] Emitting module Diagnostic
[125/143] Wrapping AST for Diagnostic for debugging
[127/268] Compiling AST ASTNode.swift
[128/268] Compiling AST ASTNodeContext.swift
[129/268] Compiling AST ASTTextRepresentable.swift
[130/270] Compiling AST CodeBlock.swift
[131/270] Compiling AST Declaration.swift
[132/270] Compiling AST WillSetDidSetBlock.swift
[133/270] Compiling AST ClassDeclaration.swift
[134/270] Emitting module Lexer
[135/270] Compiling AST ConstantDeclaration.swift
[136/270] Compiling AST ProtocolDeclaration.swift
[137/270] Compiling AST ASTVisitor.swift
[138/270] Compiling AST Attribute.swift
[139/270] Compiling AST Attributes.swift
[140/270] Compiling AST GetterSetterBlock.swift
[141/270] Compiling AST GetterSetterKeywordBlock.swift
[142/270] Compiling Lexer TokenKind+Naming.swift
[143/270] Compiling Lexer UnicodeScalar+Lexer.swift
[144/270] Compiling AST ASTUnit.swift
[145/270] Compiling AST ASTUnitCollection.swift
[146/270] Compiling AST ASTVisitor+Traversal.swift
[147/271] Wrapping AST for Lexer for debugging
[149/271] Compiling AST ExpressionPattern.swift
[150/271] Compiling AST IdentifierPattern.swift
[151/271] Compiling AST OptionalPattern.swift
[152/271] Compiling AST TuplePattern.swift
[153/271] Compiling AST TypeCastingPattern.swift
[154/271] Compiling AST ValueBindingPattern.swift
[155/271] Compiling AST WildcardPattern.swift
[156/271] Compiling AST Statement.swift
[157/271] Compiling AST BreakStatement.swift
[158/271] Compiling AST CompilerControlStatement.swift
[159/271] Compiling AST AvailabilityCondition.swift
[160/271] Compiling AST Condition.swift
[161/271] Compiling AST ConditionList.swift
[162/271] Compiling AST ContinueStatement.swift
[163/271] Compiling AST DeferStatement.swift
[164/286] Compiling AST TernaryConditionalOperatorExpression.swift
[165/286] Compiling AST TryOperatorExpression.swift
[166/286] Compiling AST TupleExpression.swift
[167/286] Compiling AST TypeCastingOperatorExpression.swift
[168/286] Compiling AST WildcardExpression.swift
[169/286] Compiling AST ExpressionList.swift
[170/286] Compiling AST GenericArgumentClause.swift
[171/286] Compiling AST GenericParameterClause.swift
[172/286] Compiling AST GenericWhereClause.swift
[173/286] Compiling AST Identifier.swift
[174/286] Compiling AST IdentifierList.swift
[175/286] Compiling AST LocatableNode.swift
[176/286] Compiling AST Operator.swift
[177/286] Compiling AST Pattern.swift
[178/286] Compiling AST EnumCasePattern.swift
[179/286] Compiling AST DoStatement.swift
[180/286] Compiling AST FallthroughStatement.swift
[181/286] Compiling AST ForInStatement.swift
[182/286] Compiling AST GuardStatement.swift
[183/286] Compiling AST IfStatement.swift
[184/286] Compiling AST LabeledStatement.swift
[185/286] Compiling AST RepeatWhileStatement.swift
[186/286] Compiling AST ReturnStatement.swift
[187/286] Compiling AST SwitchStatement.swift
[188/286] Compiling AST ThrowStatement.swift
[189/286] Compiling AST WhileStatement.swift
[190/286] Compiling AST Statements.swift
[191/286] Compiling AST ThrowsKind.swift
[192/286] Compiling AST TopLevelDeclaration.swift
[193/286] Compiling AST Type.swift
[194/286] Compiling AST InitializerExpression.swift
[195/286] Compiling AST KeyPathExpression.swift
[196/286] Compiling AST KeyPathStringExpression.swift
[197/286] Compiling AST LiteralExpression.swift
[198/286] Compiling AST OptionalChainingExpression.swift
[199/286] Compiling AST ParenthesizedExpression.swift
[200/286] Compiling AST PostfixOperatorExpression.swift
[201/286] Compiling AST PostfixSelfExpression.swift
[202/286] Compiling AST PrefixOperatorExpression.swift
[203/286] Compiling AST SelectorExpression.swift
[204/286] Compiling AST SelfExpression.swift
[205/286] Compiling AST SequenceExpression.swift
[206/286] Compiling AST SubscriptArgument.swift
[207/286] Compiling AST SubscriptExpression.swift
[208/286] Compiling AST SuperclassExpression.swift
[209/286] Compiling AST AnyType.swift
[210/286] Compiling AST ArrayType.swift
[211/286] Compiling AST DictionaryType.swift
[212/286] Compiling AST FunctionType.swift
[213/286] Compiling AST ImplicitlyUnwrappedOptionalType.swift
[214/286] Compiling AST MetatypeType.swift
[215/286] Compiling AST OpaqueType.swift
[216/286] Compiling AST OptionalType.swift
[217/286] Compiling AST ProtocolCompositionType.swift
[218/286] Compiling AST SelfType.swift
[219/286] Compiling AST TupleType.swift
[220/286] Compiling AST TypeAnnotation.swift
[221/286] Compiling AST TypeIdentifier.swift
[222/286] Compiling AST TypeInheritanceClause.swift
[223/286] Compiling AST Version.swift
[224/286] Compiling AST DeinitializerDeclaration.swift
[225/286] Compiling AST EnumDeclaration.swift
[226/286] Compiling AST ExtensionDeclaration.swift
[227/286] Compiling AST FunctionResult.swift
[228/286] Compiling AST FunctionSignature.swift
[229/286] Compiling AST FunctionDeclaration.swift
[230/286] Compiling AST ImportDeclaration.swift
[231/286] Compiling AST PatternInitializer.swift
[232/286] Compiling AST InitializerDeclaration.swift
[233/286] Compiling AST AccessLevelModifier.swift
[234/286] Compiling AST DeclarationModifier.swift
[235/286] Compiling AST DeclarationModifiers.swift
[236/286] Compiling AST MutationModifier.swift
[237/286] Compiling AST OperatorDeclaration.swift
[238/286] Compiling AST PrecedenceGroupDeclaration.swift
[242/286] Compiling AST TypealiasDeclaration.swift
[243/286] Compiling AST VariableDeclaration.swift
[244/286] Compiling AST Expression.swift
[245/286] Compiling AST AssignmentOperatorExpression.swift
[246/286] Compiling AST BinaryOperatorExpression.swift
[247/286] Compiling AST ClosureExpression.swift
[248/286] Compiling AST ExplicitMemberExpression.swift
[249/286] Compiling AST ForcedValueExpression.swift
[250/286] Compiling AST FunctionCallExpression.swift
[251/286] Compiling AST IdentifierExpression.swift
[252/286] Compiling AST ImplicitMemberExpression.swift
[253/286] Compiling AST InOutExpression.swift
[254/286] Emitting module AST
[271/287] Wrapping AST for AST for debugging
[273/303] Compiling Parser Parser+Util.swift
[274/304] Compiling Parser Parser+Lexing.swift
[275/304] Compiling Parser Parser+Modifier.swift
[276/304] Compiling Parser Parser.swift
[277/304] Compiling Parser Parser+Type.swift
[278/304] Compiling Parser Parser+Pattern.swift
/host/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)
/host/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 |
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>)
[279/304] Compiling Parser Parser+Statement.swift
/host/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)
/host/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 |
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>)
[280/304] Compiling Sema LexicalParentAssignment.swift
[281/304] Emitting module Sema
[282/304] Compiling Sema SequenceExpressionFolding.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[283/304] Compiling Parser Parser+Attribute.swift
[284/304] Compiling Parser Parser+Common.swift
[285/304] Emitting module Parser
/host/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)
/host/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 |
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/.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):
/host/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 |
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/.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):
/host/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 |
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/.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 |
/host/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 |
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/.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
/host/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 |
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/.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]) {
/host/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 |
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/.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
/host/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 |
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/.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]
/host/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 |
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>)
[286/304] Compiling Parser Parser+Declaration.swift
/host/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)
/host/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 |
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>)
[287/304] Compiling Parser Parser+Diagnostic.swift
/host/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)
/host/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 |
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>)
[288/304] Compiling Parser Parser+Expression.swift
/host/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)
/host/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 |
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/.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):
/host/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 |
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/.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):
/host/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 |
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/.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 |
/host/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 |
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/.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
/host/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 |
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/.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]) {
/host/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 |
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/.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
/host/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 |
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/.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]
/host/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 |
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/.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)
/host/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 |
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/.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) {
/host/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 |
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/.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(
/host/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 |
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/.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()
/host/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 |
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/.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()
/host/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))
/host/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 |
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/.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 {
/host/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 |
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/.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 = ""
/host/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 |
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/.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 = ""
/host/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 |
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/.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() {
/host/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 |
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/.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 = "\"\"\""
/host/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 |
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/.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()
[289/304] Compiling Parser Parser+Generic.swift
/host/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)
/host/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 |
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/.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):
/host/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 |
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/.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):
/host/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 |
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/.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 |
/host/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 |
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/.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
/host/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 |
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/.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]) {
/host/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 |
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/.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
/host/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 |
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/.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]
/host/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 |
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/.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)
/host/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 |
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/.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) {
/host/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 |
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/.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(
/host/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 |
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/.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()
/host/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 |
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/.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()
/host/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))
/host/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 |
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/.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 {
/host/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 |
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/.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 = ""
/host/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 |
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/.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 = ""
/host/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 |
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/.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() {
/host/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 |
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/.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 = "\"\"\""
/host/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 |
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/.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()
BUILD FAILURE 6.0 linux