Build Information
Failed to build Song, reference 0.2.8 (899424
), with Swift 6.0 for Linux on 30 Oct 2024 23:27:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OperatorFoundation/Song.git
Reference: 0.2.8
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
* tag 0.2.8 -> FETCH_HEAD
HEAD is now at 8994246 Update Package.swift
Cloned https://github.com/OperatorFoundation/Song.git
Revision (git rev-parse @):
8994246049f93f0fe4da206cf1c0e6c090050cdb
SUCCESS checkout https://github.com/OperatorFoundation/Song.git at 0.2.8
========================================
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/OperatorFoundation/Net
Fetching https://github.com/OperatorFoundation/swift-ast
Fetching https://github.com/OperatorFoundation/Datable
[1/399] Fetching datable
[400/504] Fetching datable, net
[402/7464] Fetching datable, net, swift-ast
Fetched https://github.com/OperatorFoundation/Net from cache (0.52s)
Fetched https://github.com/OperatorFoundation/Datable from cache (0.52s)
Fetched https://github.com/OperatorFoundation/swift-ast from cache (0.52s)
Computing version for https://github.com/OperatorFoundation/Net
Computed https://github.com/OperatorFoundation/Net at 0.0.11 (0.43s)
Fetching https://github.com/OperatorFoundation/NetworkLinux
[1/199] Fetching networklinux
Fetched https://github.com/OperatorFoundation/NetworkLinux from cache (0.23s)
Computing version for https://github.com/OperatorFoundation/Datable
Computed https://github.com/OperatorFoundation/Datable at 4.0.1 (0.44s)
Computing version for https://github.com/OperatorFoundation/swift-ast
Computed https://github.com/OperatorFoundation/swift-ast at 0.19.12 (2.16s)
Computing version for https://github.com/OperatorFoundation/NetworkLinux
Computed https://github.com/OperatorFoundation/NetworkLinux at 0.4.8 (0.52s)
Fetching https://github.com/OperatorFoundation/BlueSocket
Fetching https://github.com/OperatorFoundation/SwiftHexTools
[1/96] Fetching swifthextools
Fetched https://github.com/OperatorFoundation/SwiftHexTools from cache (0.22s)
[1/2764] Fetching bluesocket
Fetched https://github.com/OperatorFoundation/BlueSocket from cache (0.35s)
Computing version for https://github.com/OperatorFoundation/SwiftHexTools
Computed https://github.com/OperatorFoundation/SwiftHexTools at 1.2.6 (0.52s)
Computing version for https://github.com/OperatorFoundation/BlueSocket
Computed https://github.com/OperatorFoundation/BlueSocket at 1.1.2 (0.55s)
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.71s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.49s)
Creating working copy for https://github.com/OperatorFoundation/Net
Working copy of https://github.com/OperatorFoundation/Net resolved at 0.0.11
Creating working copy for https://github.com/OperatorFoundation/BlueSocket
Working copy of https://github.com/OperatorFoundation/BlueSocket resolved at 1.1.2
Creating working copy for https://github.com/OperatorFoundation/Datable
Working copy of https://github.com/OperatorFoundation/Datable resolved at 4.0.1
Creating working copy for https://github.com/OperatorFoundation/SwiftHexTools
Working copy of https://github.com/OperatorFoundation/SwiftHexTools resolved at 1.2.6
Creating working copy for https://github.com/OperatorFoundation/NetworkLinux
Working copy of https://github.com/OperatorFoundation/NetworkLinux resolved at 0.4.8
Creating working copy for https://github.com/OperatorFoundation/swift-ast
Working copy of https://github.com/OperatorFoundation/swift-ast resolved at 0.19.12
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/44] Write sources
[22/44] Write swift-version-24593BA9C3E375BF.txt
[24/99] Emitting module Bocho
[25/100] Emitting module Chorus
[26/100] Compiling Chorus Chorus.swift
[27/101] Compiling Bocho String+TTYColor.swift
[28/101] Wrapping AST for Chorus for debugging
[30/101] Compiling Datable String+Arrayable.swift
[31/101] Compiling Datable String+Datable.swift
[32/101] Compiling Datable String+Intable.swift
[33/101] Compiling Datable Stringable.swift
[34/101] Emitting module SwiftHexTools
[35/105] Compiling SwiftHexTools SwiftHexTools.swift
[36/106] Compiling Bocho DotYanagibaReader.swift
[37/106] Compiling Bocho String+Path.swift
[38/106] Compiling Bocho String+FileHandle.swift
[39/106] Compiling Bocho String+Indentation.swift
[40/106] Emitting module Package
[41/106] Compiling Package Package.swift
/host/spi-builder-workspace/Sources/Package/Package.swift:16:17: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
14 |
15 | let process = Process()
16 | process.currentDirectoryPath = self.name
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
17 | process.launchPath = "/usr/bin/swift"
18 |
/host/spi-builder-workspace/Sources/Package/Package.swift:17:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
15 | let process = Process()
16 | process.currentDirectoryPath = self.name
17 | process.launchPath = "/usr/bin/swift"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
18 |
19 | switch self.type
/host/spi-builder-workspace/Sources/Package/Package.swift:27:17: warning: 'launch()' is deprecated: renamed to 'run'
25 | }
26 |
27 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
28 | process.waitUntilExit()
29 | }
/host/spi-builder-workspace/Sources/Package/Package.swift:34:17: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
32 | {
33 | let process = Process()
34 | process.currentDirectoryPath = self.name
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
35 | process.launchPath = "/usr/bin/swift"
36 |
/host/spi-builder-workspace/Sources/Package/Package.swift:35:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
33 | let process = Process()
34 | process.currentDirectoryPath = self.name
35 | process.launchPath = "/usr/bin/swift"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
36 |
37 | process.arguments = ["package", "update"]
/host/spi-builder-workspace/Sources/Package/Package.swift:39:17: warning: 'launch()' is deprecated: renamed to 'run'
37 | process.arguments = ["package", "update"]
38 |
39 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
40 | process.waitUntilExit()
41 | }
/host/spi-builder-workspace/Sources/Package/Package.swift:46:17: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
44 | {
45 | let process = Process()
46 | process.currentDirectoryPath = self.name
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
47 | process.launchPath = "/usr/bin/swift"
48 |
/host/spi-builder-workspace/Sources/Package/Package.swift:47:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
45 | let process = Process()
46 | process.currentDirectoryPath = self.name
47 | process.launchPath = "/usr/bin/swift"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
48 |
49 | process.arguments = ["build", "-Xswiftc", "-target", "-Xswiftc", "x86_64-apple-macosx10.14"]
/host/spi-builder-workspace/Sources/Package/Package.swift:51:17: warning: 'launch()' is deprecated: renamed to 'run'
49 | process.arguments = ["build", "-Xswiftc", "-target", "-Xswiftc", "x86_64-apple-macosx10.14"]
50 |
51 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
52 | process.waitUntilExit()
53 | }
/host/spi-builder-workspace/Sources/Package/Package.swift:58:17: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
56 | {
57 | let process = Process()
58 | process.currentDirectoryPath = self.name
| |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL'
| `- note: use 'currentDirectoryURL' instead
59 | process.launchPath = "/usr/bin/swift"
60 |
/host/spi-builder-workspace/Sources/Package/Package.swift:59:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
57 | let process = Process()
58 | process.currentDirectoryPath = self.name
59 | process.launchPath = "/usr/bin/swift"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
60 |
61 | process.arguments = ["run"]
/host/spi-builder-workspace/Sources/Package/Package.swift:66:17: warning: 'launch()' is deprecated: renamed to 'run'
64 | let handle = output.fileHandleForReading
65 |
66 | process.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
67 | process.waitUntilExit()
68 |
[42/107] Compiling Socket SocketUtils.swift
[43/107] Emitting module Datable
[44/107] Compiling Datable MaybeIntable.swift
[45/107] Compiling Datable MaybeNetworkIntable.swift
[46/107] Compiling Datable NetworkDatable.swift
[47/107] Compiling Datable NetworkIntable.swift
[48/107] Compiling Datable Data+ExpressibleByStringLiteral.swift
[49/107] Compiling Datable Data+Floatable.swift
[50/107] Compiling Datable Data+MaybeIntable.swift
[51/107] Compiling Datable Data+MaybeNetworkIntable.swift
[52/107] Compiling Datable Data+Stringable.swift
[53/107] Compiling Datable Datable.swift
[54/107] Compiling Datable DatableConfig.swift
[55/107] Compiling Datable Double+MaybeDatable.swift
[56/107] Compiling Datable Double+Stringable.swift
[57/107] Compiling Datable File.swift
[60/107] Compiling Bocho DotYanagibaParser.swift
[61/107] Compiling Bocho DotYanagibaModels.swift
[62/107] Compiling Socket Socket+Hashable.swift
[63/107] Compiling Socket Socket.swift
[64/107] Compiling Socket Socket+Equatable.swift
[66/107] Emitting module Socket
[67/107] Compiling Socket SocketProtocols.swift
[68/109] Compiling Datable Float+Floatable.swift
[69/109] Compiling Datable Float+MaybeDatable.swift
[70/109] Compiling Datable Float+MaybeIntable.swift
[71/109] Compiling Datable Floatable.swift
[72/109] Compiling Datable Int+Floatable.swift
[74/109] Compiling Datable Int+MaybeDatable.swift
[75/109] Compiling Datable Int+MaybeIntable.swift
[76/109] Compiling Datable Int+Stringable.swift
[77/109] Compiling Datable Intable.swift
[78/109] Compiling Datable MaybeDatable.swift
[79/109] Compiling Datable Arrayable.swift
[80/109] Compiling Datable CSVable.swift
[81/109] Compiling Datable Data+Arrayable.swift
[82/109] Compiling Datable Data+Base64.swift
[83/109] Compiling Datable Data+Datable.swift
[85/109] Wrapping AST for SwiftHexTools for debugging
[85/109] Wrapping AST for Package for debugging
[87/109] Wrapping AST for Socket for debugging
[88/109] Wrapping AST for Bocho for debugging
[90/133] Compiling NetworkLinux NWProtocol.swift
[91/133] Compiling NetworkLinux NWProtocolDefinition.swift
[92/134] Compiling NetworkLinux NWError.swift
[93/134] Compiling NetworkLinux NWInterface.swift
[94/134] Compiling NetworkLinux NWProtocolTCP.swift
[95/134] Compiling NetworkLinux NWProtocolTLS.swift
[96/134] Compiling NetworkLinux NWProtocolMetadata.swift
[97/134] Compiling NetworkLinux NWProtocolOptions.swift
[98/134] Compiling Source SourceRange.swift
[99/134] Compiling Source SourceError.swift
[100/134] Compiling Source Shebang.swift
[101/134] Compiling Source SourceFile.swift
[102/135] Emitting module Source
[103/135] Compiling Source Comment.swift
[104/135] Compiling Source CommentSet.swift
[105/135] Compiling NetworkLinux NWProtocolUDP.swift
[106/135] Compiling NetworkLinux NWListener.swift
[107/135] Compiling NetworkLinux NWParameters.swift
[108/135] Compiling Source SourceLocation.swift
[109/135] Compiling Source SourceLocatable.swift
[110/135] Compiling Source SourceReader.swift
[112/136] Compiling NetworkLinux NWConnection.swift
[113/136] Compiling NetworkLinux NWEndpoint.swift
[114/136] Emitting module NetworkLinux
[117/137] Wrapping AST for Source for debugging
[118/142] Wrapping AST for NetworkLinux for debugging
[120/142] Compiling Diagnostic Diagnostic.swift
[121/142] Emitting module Diagnostic
[122/142] Compiling Diagnostic DiagnosticKind.swift
[123/142] Compiling Diagnostic DiagnosticConsumer.swift
[124/142] Compiling Diagnostic DiagnosticPool.swift
[125/143] Wrapping AST for Diagnostic for debugging
[127/268] Compiling AST ConstantDeclaration.swift
[128/268] Compiling AST InitializerExpression.swift
[129/268] Compiling AST ASTVisitor.swift
[130/268] Compiling AST Attribute.swift
[131/270] Emitting module Lexer
[132/270] Compiling AST GetterSetterBlock.swift
[133/270] Compiling AST GetterSetterKeywordBlock.swift
[134/270] Compiling AST WillSetDidSetBlock.swift
[135/270] Compiling AST ClassDeclaration.swift
[136/270] Compiling Lexer TokenKind+Naming.swift
[137/270] Compiling Lexer UnicodeScalar+Lexer.swift
[138/270] Compiling AST ASTNode.swift
[139/270] Compiling AST ASTNodeContext.swift
[140/270] Compiling AST ASTTextRepresentable.swift
[141/270] Compiling AST ASTUnit.swift
[142/270] Compiling AST ASTUnitCollection.swift
[143/270] Compiling AST ASTVisitor+Traversal.swift
[144/270] Compiling AST Attributes.swift
[145/270] Compiling AST CodeBlock.swift
[146/270] Compiling AST Declaration.swift
[147/271] Wrapping AST for Lexer for debugging
[149/271] Emitting module AST
[150/286] Compiling AST DoStatement.swift
[151/286] Compiling AST FallthroughStatement.swift
[152/286] Compiling AST ForInStatement.swift
[153/286] Compiling AST GuardStatement.swift
[154/286] Compiling AST IfStatement.swift
[155/286] Compiling AST LabeledStatement.swift
[156/286] Compiling AST RepeatWhileStatement.swift
[157/286] Compiling AST ReturnStatement.swift
[158/286] Compiling AST SwitchStatement.swift
[159/286] Compiling AST ThrowStatement.swift
[160/286] Compiling AST WhileStatement.swift
[161/286] Compiling AST Statements.swift
[162/286] Compiling AST ThrowsKind.swift
[163/286] Compiling AST TopLevelDeclaration.swift
[164/286] Compiling AST Type.swift
[165/286] Compiling AST ExpressionPattern.swift
[166/286] Compiling AST IdentifierPattern.swift
[167/286] Compiling AST OptionalPattern.swift
[168/286] Compiling AST TuplePattern.swift
[169/286] Compiling AST TypeCastingPattern.swift
[170/286] Compiling AST ValueBindingPattern.swift
[171/286] Compiling AST WildcardPattern.swift
[172/286] Compiling AST Statement.swift
[173/286] Compiling AST BreakStatement.swift
[174/286] Compiling AST CompilerControlStatement.swift
[175/286] Compiling AST AvailabilityCondition.swift
[176/286] Compiling AST Condition.swift
[177/286] Compiling AST ConditionList.swift
[178/286] Compiling AST ContinueStatement.swift
[179/286] Compiling AST DeferStatement.swift
[183/286] Compiling AST LiteralExpression.swift
[184/286] Compiling AST OptionalChainingExpression.swift
[185/286] Compiling AST ParenthesizedExpression.swift
[186/286] Compiling AST PostfixOperatorExpression.swift
[187/286] Compiling AST PostfixSelfExpression.swift
[188/286] Compiling AST PrefixOperatorExpression.swift
[189/286] Compiling AST SelectorExpression.swift
[190/286] Compiling AST SelfExpression.swift
[191/286] Compiling AST SequenceExpression.swift
[192/286] Compiling AST SubscriptArgument.swift
[193/286] Compiling AST SubscriptExpression.swift
[194/286] Compiling AST SuperclassExpression.swift
[195/286] Compiling AST TernaryConditionalOperatorExpression.swift
[196/286] Compiling AST TryOperatorExpression.swift
[197/286] Compiling AST TupleExpression.swift
[198/286] Compiling AST TypeCastingOperatorExpression.swift
[199/286] Compiling AST WildcardExpression.swift
[200/286] Compiling AST ExpressionList.swift
[201/286] Compiling AST GenericArgumentClause.swift
[202/286] Compiling AST GenericParameterClause.swift
[203/286] Compiling AST GenericWhereClause.swift
[204/286] Compiling AST Identifier.swift
[205/286] Compiling AST IdentifierList.swift
[206/286] Compiling AST LocatableNode.swift
[207/286] Compiling AST Operator.swift
[208/286] Compiling AST Pattern.swift
[209/286] Compiling AST EnumCasePattern.swift
[210/286] Compiling AST DeinitializerDeclaration.swift
[211/286] Compiling AST EnumDeclaration.swift
[212/286] Compiling AST ExtensionDeclaration.swift
[213/286] Compiling AST FunctionResult.swift
[214/286] Compiling AST FunctionSignature.swift
[215/286] Compiling AST FunctionDeclaration.swift
[216/286] Compiling AST ImportDeclaration.swift
[217/286] Compiling AST PatternInitializer.swift
[218/286] Compiling AST InitializerDeclaration.swift
[219/286] Compiling AST AccessLevelModifier.swift
[220/286] Compiling AST DeclarationModifier.swift
[221/286] Compiling AST DeclarationModifiers.swift
[222/286] Compiling AST MutationModifier.swift
[223/286] Compiling AST OperatorDeclaration.swift
[224/286] Compiling AST PrecedenceGroupDeclaration.swift
[225/286] Compiling AST ProtocolDeclaration.swift
[226/286] Compiling AST StructDeclaration.swift
[227/286] Compiling AST SubscriptDeclaration.swift
[228/286] Compiling AST TypealiasDeclaration.swift
[229/286] Compiling AST VariableDeclaration.swift
[230/286] Compiling AST Expression.swift
[231/286] Compiling AST AssignmentOperatorExpression.swift
[232/286] Compiling AST BinaryOperatorExpression.swift
[233/286] Compiling AST ClosureExpression.swift
[234/286] Compiling AST ExplicitMemberExpression.swift
[235/286] Compiling AST ForcedValueExpression.swift
[236/286] Compiling AST FunctionCallExpression.swift
[237/286] Compiling AST IdentifierExpression.swift
[238/286] Compiling AST ImplicitMemberExpression.swift
[239/286] Compiling AST InOutExpression.swift
[240/286] Compiling AST AnyType.swift
[241/286] Compiling AST ArrayType.swift
[242/286] Compiling AST DictionaryType.swift
[243/286] Compiling AST FunctionType.swift
[244/286] Compiling AST ImplicitlyUnwrappedOptionalType.swift
[245/286] Compiling AST MetatypeType.swift
[246/286] Compiling AST OpaqueType.swift
[247/286] Compiling AST OptionalType.swift
[248/286] Compiling AST ProtocolCompositionType.swift
[249/286] Compiling AST SelfType.swift
[250/286] Compiling AST TupleType.swift
[251/286] Compiling AST TypeAnnotation.swift
[252/286] Compiling AST TypeIdentifier.swift
[253/286] Compiling AST TypeInheritanceClause.swift
[254/286] Compiling AST Version.swift
[271/287] Wrapping AST for AST for debugging
[273/303] Compiling Parser Parser+Util.swift
[274/304] Compiling Parser Parser.swift
[275/304] Compiling Parser Parser+Type.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[276/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>)
[277/304] Compiling Parser Parser+Lexing.swift
[278/304] Compiling Parser Parser+Modifier.swift
[279/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>)
[280/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>)
[281/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>)
[282/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>)
[283/304] Emitting module Sema
[284/304] Compiling Sema LexicalParentAssignment.swift
[285/304] Compiling Parser Parser+Attribute.swift
[286/304] Compiling Parser Parser+Common.swift
[287/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()
[288/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()
[289/304] Compiling Sema SequenceExpressionFolding.swift
[290/305] Wrapping AST for Sema for debugging
BUILD FAILURE 6.0 linux