The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Syntax, reference 2.0.0 (602cfa), with Swift 6.2 (beta) for Linux on 19 Jun 2025 13:56:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:             6.2
Building package at path:  $PWD
https://github.com/nerdsupremacist/Syntax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.24s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (1.05s)
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] Emitting module SyntaxTree
[5/10] Compiling SyntaxTree Kind.swift
[6/10] Compiling SyntaxTree LineColumnIndex.swift
[7/10] Compiling SyntaxTree SyntaxTreeFactory.swift
[8/10] Compiling SyntaxTree MutableSyntaxTree.swift
[9/10] Compiling SyntaxTree Location.swift
[10/10] Compiling SyntaxTree SyntaxTree.swift
[12/72] Compiling Syntax Word.swift
[13/72] Compiling Syntax neverBody.swift
[14/72] Compiling Syntax InternalParser.swift
[15/72] Compiling Syntax MemoizationKey.swift
[16/72] Compiling Syntax MemoizationStorage.swift
[17/72] Compiling Syntax Memoized.swift
[18/72] Compiling Syntax Node.swift
[19/72] Compiling Syntax Parser+internalParser.swift
[20/72] Compiling Syntax Leaf.swift
[21/72] Compiling Syntax Recursive.swift
[22/72] Compiling Syntax TupleParser.swift
[23/72] Compiling Syntax EmptyParser.swift
[24/72] Compiling Syntax RegexBuilder+support.swift
[25/72] Compiling Syntax RegularExpression.swift
[26/72] Compiling Syntax String+Parser.swift
[27/72] Compiling Syntax Token.swift
[28/72] Compiling Syntax Parser+preventRecursion.swift
[29/72] Compiling Syntax Parser+repeatUntil.swift
[30/72] Compiling Syntax Parser+separated.swift
[31/72] Compiling Syntax Repeat.swift
[32/72] Compiling Syntax Annotated.swift
[33/72] Compiling Syntax AnnotatedUntil.swift
[34/72] Compiling Syntax Either.swift
[35/72] Compiling Syntax Group.swift
[36/80] Compiling Syntax BinaryOperationParser.swift
[37/80] Compiling Syntax BinaryOperationParserError.swift
[38/80] Compiling Syntax BinaryOperator.swift
[39/80] Compiling Syntax MemberOfBinaryOperation.swift
[40/80] Compiling Syntax BooleanLiteral.swift
[41/80] Compiling Syntax DoubleLiteral.swift
[42/80] Compiling Syntax IntLiteral.swift
[43/80] Compiling Syntax JavaScriptEscapeStrategy.swift
[44/80] Compiling Syntax StringEscapeStrategy.swift
[45/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[46/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[47/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[48/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[49/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[50/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[51/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[52/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[53/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
21 |         }
22 |         .map { annotated in
23 |             annotated.string { $0 }
   |                              `- error: contextual closure type '(Substring, String) throws -> Substring' expects 2 arguments, but 1 was used in closure body
24 |         }
25 |         .kind(.stringContent)
[54/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[55/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[56/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[57/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[58/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[59/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[60/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[61/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[62/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
440 |     }
441 |
442 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
443 |         // No-op
444 |     }
/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 the Swift 6 language mode
400 | }
401 |
402 | private final class ScanningStorage<T>: ScannerStateStorage, ScanningStorageProtocol {
    |                                     `- note: 'T' previously declared here
403 |     typealias Annotation = AnnotatedString<T>.Annotation
404 |
    :
448 |     }
449 |
450 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
451 |         return annotations.last?.value as? T
452 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
598 |     }
599 |
600 |     func store<T>(value: T) {
    |                `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
601 |         current.store(value: value)
602 |     }
/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 the Swift 6 language mode
566 | }
567 |
568 | private class StackedScanningStateStorage<T>: ScannerStateStorage {
    |                                           `- note: 'T' previously declared here
569 |     let scanning: ScanningStorage<T>
570 |     let inplace: InPlaceStorage
    :
606 |     }
607 |
608 |     func pop<T>(of type: T.Type) throws -> T? {
    |              `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
609 |         return try current.pop(of: type)
610 |     }
[63/80] Compiling Syntax AnnotatedString.swift
[64/80] Compiling Syntax Cache.swift
[65/80] Compiling Syntax OrderedSet.swift
[66/80] Compiling Syntax AnnotatedError.swift
[67/80] Compiling Syntax DiagnosticError.swift
[68/80] Compiling Syntax ParserError.swift
[69/80] Compiling Syntax ScannerError.swift
[70/80] Compiling Syntax ScannerErrorHandler.swift
[71/80] Compiling Syntax WhiteSpaceConsumer.swift
[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
BUILD FAILURE 6.2 linux