The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Syntax with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
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.10
Building package at path:  $workDir
https://github.com/nerdsupremacist/Syntax.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.21s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.43s)
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...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/10] Compiling SyntaxTree SyntaxTreeFactory.swift
[5/10] Compiling SyntaxTree MutableSyntaxTree.swift
[6/10] Compiling SyntaxTree SyntaxTree.swift
[7/10] Compiling SyntaxTree LineColumnIndex.swift
[8/10] Compiling SyntaxTree Kind.swift
[9/10] Emitting module SyntaxTree
[10/10] Compiling SyntaxTree Location.swift
[12/72] Compiling Syntax AnnotatedString.swift
[13/72] Compiling Syntax Cache.swift
[14/72] Compiling Syntax OrderedSet.swift
[15/72] Compiling Syntax AnnotatedError.swift
[16/72] Compiling Syntax DiagnosticError.swift
[17/72] Compiling Syntax ParserError.swift
[18/72] Compiling Syntax ScannerError.swift
[19/72] Compiling Syntax ScannerErrorHandler.swift
[20/72] Compiling Syntax WhiteSpaceConsumer.swift
[21/80] Compiling Syntax Word.swift
[22/80] Compiling Syntax neverBody.swift
[23/80] Compiling Syntax InternalParser.swift
[24/80] Compiling Syntax MemoizationKey.swift
[25/80] Compiling Syntax MemoizationStorage.swift
[26/80] Compiling Syntax Memoized.swift
[27/80] Compiling Syntax Node.swift
[28/80] Compiling Syntax Parser+internalParser.swift
[29/80] Compiling Syntax Leaf.swift
[30/80] Compiling Syntax Recursive.swift
[31/80] Compiling Syntax TupleParser.swift
[32/80] Compiling Syntax EmptyParser.swift
[33/80] Compiling Syntax RegexBuilder+support.swift
[34/80] Compiling Syntax RegularExpression.swift
[35/80] Compiling Syntax String+Parser.swift
[36/80] Compiling Syntax Token.swift
[37/80] 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 }
                             ^
[38/80] 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 }
                             ^
[39/80] 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 }
                             ^
[40/80] 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 }
                             ^
[41/80] 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 }
                             ^
[42/80] 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 }
                             ^
[43/80] 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 }
                             ^
[44/80] 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 }
                             ^
[45/80] 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 }
                             ^
[46/80] Compiling Syntax Parser+preventRecursion.swift
[47/80] Compiling Syntax Parser+repeatUntil.swift
[48/80] Compiling Syntax Parser+separated.swift
[49/80] Compiling Syntax Repeat.swift
[50/80] Compiling Syntax Annotated.swift
[51/80] Compiling Syntax AnnotatedUntil.swift
[52/80] Compiling Syntax Either.swift
[53/80] Compiling Syntax Group.swift
[54/80] Compiling Syntax BinaryOperationParser.swift
[55/80] Compiling Syntax BinaryOperationParserError.swift
[56/80] Compiling Syntax BinaryOperator.swift
[57/80] Compiling Syntax MemberOfBinaryOperation.swift
[58/80] Compiling Syntax BooleanLiteral.swift
[59/80] Compiling Syntax DoubleLiteral.swift
[60/80] Compiling Syntax IntLiteral.swift
[61/80] Compiling Syntax JavaScriptEscapeStrategy.swift
[62/80] Compiling Syntax StringEscapeStrategy.swift
[63/80] 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 {
                                          ^
[64/80] 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 {
                                          ^
[65/80] 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 {
                                          ^
[66/80] 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 {
                                          ^
[67/80] 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 {
                                          ^
[68/80] 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 {
                                          ^
[69/80] 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 {
                                          ^
[70/80] 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 {
                                          ^
[71/80] 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 {
                                          ^
[72/80] Compiling Syntax ExpressionMatch.swift
[73/80] Compiling Syntax EitherParserBuilder.swift
[74/80] Compiling Syntax ParserBuilder.swift
[75/80] Compiling Syntax PartialEmptyParserResult.swift
[76/80] Compiling Syntax PartialParserResult.swift
[77/80] Compiling Syntax PartialResult.swift
[78/80] Compiling Syntax AnyParser.swift
[79/80] Compiling Syntax Associativity.swift
[80/80] Compiling Syntax BinaryOperation.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling Syntax Parser+kind.swift
[3/10] Compiling Syntax Parser+map+location.swift
[4/10] Compiling Syntax Parser+map.swift
[5/23] Compiling Syntax Parser+optimize.swift
[6/29] Compiling Syntax Maybe.swift
[7/35] Compiling Syntax Parser+repeatUntil.swift
[8/35] Compiling Syntax Parser+separated.swift
[9/35] Compiling Syntax Repeat.swift
[10/35] Compiling Syntax Annotated.swift
[11/35] Compiling Syntax AnnotatedUntil.swift
[12/35] Compiling Syntax Either.swift
[13/41] Compiling Syntax BinaryOperationParser.swift
[14/41] Compiling Syntax BooleanLiteral.swift
[15/41] Compiling Syntax DoubleLiteral.swift
[16/41] Compiling Syntax IntLiteral.swift
[17/41] Compiling Syntax JavaScriptEscapeStrategy.swift
[18/41] Compiling Syntax Parser+preventRecursion.swift
[19/47] Compiling Syntax Group.swift
[20/47] Compiling Syntax Leaf.swift
[21/47] Compiling Syntax Recursive.swift
[22/47] Compiling Syntax TupleParser.swift
[23/47] Compiling Syntax EmptyParser.swift
[24/47] Compiling Syntax RegexBuilder+support.swift
[25/52] Compiling Syntax RegularExpression.swift
[26/52] Compiling Syntax String+Parser.swift
[27/52] Compiling Syntax Token.swift
[28/52] Compiling Syntax Word.swift
[29/52] Compiling Syntax InternalParser.swift
[30/52] Compiling Syntax MemoizationKey.swift
[31/57] Compiling Syntax MemoizationStorage.swift
[32/57] Compiling Syntax Memoized.swift
[33/57] Compiling Syntax Node.swift
[34/57] Compiling Syntax Parser+internalParser.swift
[35/57] Compiling Syntax Scanner.swift
[36/57] 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 {
                                          ^
[37/57] 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 {
                                          ^
[38/57] 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 {
                                          ^
[39/57] 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 {
                                          ^
[40/57] 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 {
                                          ^
[41/57] Compiling Syntax Parser+annotate.swift
[42/57] Compiling Syntax Parser+ignoreOutput.swift
[43/57] 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 {
                                          ^
[44/57] 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 }
                             ^
[45/57] 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 }
                             ^
[46/57] Compiling Syntax AnnotatedString.swift
[47/57] Compiling Syntax Cache.swift
[48/57] Compiling Syntax OrderedSet.swift
[49/57] Compiling Syntax DiagnosticError.swift
[50/57] Compiling Syntax ScannerError.swift
[51/57] Compiling Syntax ScannerErrorHandler.swift
[52/57] Compiling Syntax WhiteSpaceConsumer.swift
[53/57] Compiling Syntax ExpressionMatch.swift
[54/57] Compiling Syntax EitherParserBuilder.swift
[55/57] Compiling Syntax ParserBuilder.swift
[56/57] Compiling Syntax PartialResult.swift
[57/57] Compiling Syntax AnyParser.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2