Build Information
Failed to build Syntax with Swift 5.9 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/Syntax.git
Reference: 2.0.0
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/nerdsupremacist/Syntax
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 602cfa4 Adding release date to new version
Cloned https://github.com/nerdsupremacist/Syntax.git
Revision (git rev-parse @):
602cfa42c99239d399afaea1793950f12d5c3224
SUCCESS checkout https://github.com/nerdsupremacist/Syntax.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git (0.25s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.54s)
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
Building for debugging...
[1/7] Emitting module SyntaxTree
[2/7] Compiling SyntaxTree Location.swift
[3/7] Compiling SyntaxTree Kind.swift
[4/7] Compiling SyntaxTree MutableSyntaxTree.swift
[5/7] Compiling SyntaxTree LineColumnIndex.swift
[6/7] Compiling SyntaxTree SyntaxTree.swift
[7/7] Compiling SyntaxTree SyntaxTreeFactory.swift
[10/70] Compiling Syntax Word.swift
[11/70] Compiling Syntax neverBody.swift
[12/70] Compiling Syntax InternalParser.swift
[13/70] Compiling Syntax MemoizationKey.swift
[14/70] Compiling Syntax MemoizationStorage.swift
[15/70] Compiling Syntax Memoized.swift
[16/70] Compiling Syntax Node.swift
[17/70] Compiling Syntax Parser+internalParser.swift
[18/78] Compiling Syntax AnnotatedString.swift
[19/78] Compiling Syntax Cache.swift
[20/78] Compiling Syntax OrderedSet.swift
[21/78] Compiling Syntax AnnotatedError.swift
[22/78] Compiling Syntax DiagnosticError.swift
[23/78] Compiling Syntax ParserError.swift
[24/78] Compiling Syntax ScannerError.swift
[25/78] Compiling Syntax ScannerErrorHandler.swift
[26/78] Compiling Syntax WhiteSpaceConsumer.swift
[27/78] Compiling Syntax Scanner.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[28/78] Compiling Syntax ScannerState.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[29/78] Compiling Syntax Stack.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[30/78] Compiling Syntax StandardScanner.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[31/78] Compiling Syntax String+casing.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[32/78] Compiling Syntax Located.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[33/78] Compiling Syntax Parser.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[34/78] Compiling Syntax ParserOption.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[35/78] Emitting module Syntax
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[36/78] Compiling Syntax Leaf.swift
[37/78] Compiling Syntax Recursive.swift
[38/78] Compiling Syntax TupleParser.swift
[39/78] Compiling Syntax EmptyParser.swift
[40/78] Compiling Syntax RegexBuilder+support.swift
[41/78] Compiling Syntax RegularExpression.swift
[42/78] Compiling Syntax String+Parser.swift
[43/78] Compiling Syntax Token.swift
[44/78] Compiling Syntax Parser+preventRecursion.swift
[45/78] Compiling Syntax Parser+repeatUntil.swift
[46/78] Compiling Syntax Parser+separated.swift
[47/78] Compiling Syntax Repeat.swift
[48/78] Compiling Syntax Annotated.swift
[49/78] Compiling Syntax AnnotatedUntil.swift
[50/78] Compiling Syntax Either.swift
[51/78] Compiling Syntax Group.swift
[52/78] Compiling Syntax ExpressionMatch.swift
[53/78] Compiling Syntax EitherParserBuilder.swift
[54/78] Compiling Syntax ParserBuilder.swift
[55/78] Compiling Syntax PartialEmptyParserResult.swift
[56/78] Compiling Syntax PartialParserResult.swift
[57/78] Compiling Syntax PartialResult.swift
[58/78] Compiling Syntax AnyParser.swift
[59/78] Compiling Syntax Associativity.swift
[60/78] Compiling Syntax BinaryOperation.swift
[61/78] Compiling Syntax BinaryOperationParser.swift
[62/78] Compiling Syntax BinaryOperationParserError.swift
[63/78] Compiling Syntax BinaryOperator.swift
[64/78] Compiling Syntax MemberOfBinaryOperation.swift
[65/78] Compiling Syntax BooleanLiteral.swift
[66/78] Compiling Syntax DoubleLiteral.swift
[67/78] Compiling Syntax IntLiteral.swift
[68/78] Compiling Syntax JavaScriptEscapeStrategy.swift
[69/78] Compiling Syntax StringEscapeStrategy.swift
[70/78] Compiling Syntax StringLiteral.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[71/78] Compiling Syntax SwiftEscapeStrategy.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[72/78] Compiling Syntax Maybe.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[73/78] Compiling Syntax Parser+annotate.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[74/78] Compiling Syntax Parser+ignoreOutput.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[75/78] Compiling Syntax Parser+kind.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[76/78] Compiling Syntax Parser+map+location.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[77/78] Compiling Syntax Parser+map.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[78/78] Compiling Syntax Parser+optimize.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/1] Emitting module SyntaxTree
[4/12] Compiling Syntax Parser+kind.swift
[5/12] Compiling Syntax Parser+map.swift
[6/12] Compiling Syntax Parser+ignoreOutput.swift
[7/12] Compiling Syntax Parser+map+location.swift
[8/31] Compiling Syntax Maybe.swift
[9/31] Compiling Syntax Parser+annotate.swift
[10/43] Compiling Syntax Parser+optimize.swift
[11/49] Compiling Syntax AnnotatedString.swift
[12/49] Compiling Syntax Cache.swift
[13/49] Compiling Syntax OrderedSet.swift
[14/49] Compiling Syntax DiagnosticError.swift
[15/49] Compiling Syntax ScannerError.swift
[16/49] Compiling Syntax ScannerErrorHandler.swift
[17/54] Compiling Syntax MemoizationStorage.swift
[18/54] Compiling Syntax Memoized.swift
[19/54] Compiling Syntax Node.swift
[20/54] Compiling Syntax Parser+internalParser.swift
[21/54] Compiling Syntax Scanner.swift
[22/59] Compiling Syntax StringLiteral.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[23/59] Compiling Syntax SwiftEscapeStrategy.swift
/host/spi-builder-workspace/Sources/Syntax/Implementations/Common/StringLiterals/StringLiteral.swift:23:30: error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
annotated.string { $0 }
^
[24/59] Compiling Syntax RegularExpression.swift
[25/59] Compiling Syntax String+Parser.swift
[26/59] Compiling Syntax Token.swift
[27/59] Compiling Syntax Word.swift
[28/59] Compiling Syntax InternalParser.swift
[29/59] Compiling Syntax MemoizationKey.swift
[30/59] Compiling Syntax Group.swift
[31/59] Compiling Syntax Leaf.swift
[32/59] Compiling Syntax Recursive.swift
[33/59] Compiling Syntax TupleParser.swift
[34/59] Compiling Syntax EmptyParser.swift
[35/59] Compiling Syntax RegexBuilder+support.swift
[36/59] Compiling Syntax Parser+repeatUntil.swift
[37/59] Compiling Syntax Parser+separated.swift
[38/59] Compiling Syntax Repeat.swift
[39/59] Compiling Syntax Annotated.swift
[40/59] Compiling Syntax AnnotatedUntil.swift
[41/59] Compiling Syntax Either.swift
[42/59] Compiling Syntax ScannerState.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[43/59] Compiling Syntax StandardScanner.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[44/59] Compiling Syntax String+casing.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[45/59] Compiling Syntax Located.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[46/59] Compiling Syntax Parser.swift
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[47/59] Emitting module Syntax
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:442:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:450:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:402:37: note: 'T' previously declared here
private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:600:16: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func store<T>(value: T) {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:608:14: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
func pop<T>(of type: T.Type) throws -> T? {
^
/host/spi-builder-workspace/Sources/Syntax/Internals/ScannerState.swift:568:43: note: 'T' previously declared here
private class StackedScanningStateStorage<T>: ScannerStateStorage {
^
[48/59] Compiling Syntax BinaryOperationParser.swift
[49/59] Compiling Syntax BooleanLiteral.swift
[50/59] Compiling Syntax DoubleLiteral.swift
[51/59] Compiling Syntax IntLiteral.swift
[52/59] Compiling Syntax JavaScriptEscapeStrategy.swift
[53/59] Compiling Syntax Parser+preventRecursion.swift
[54/59] Compiling Syntax WhiteSpaceConsumer.swift
[55/59] Compiling Syntax ExpressionMatch.swift
[56/59] Compiling Syntax EitherParserBuilder.swift
[57/59] Compiling Syntax ParserBuilder.swift
[58/59] Compiling Syntax PartialResult.swift
[59/59] Compiling Syntax AnyParser.swift
error: fatalError
BUILD FAILURE 5.9 linux