Build Information
Failed to build Syntax, reference 2.0.0 (602cfa
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 13:59:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/nerdsupremacist/Syntax.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/10] Compiling SyntaxTree SyntaxTreeFactory.swift
[5/10] Compiling SyntaxTree LineColumnIndex.swift
[6/10] Compiling SyntaxTree MutableSyntaxTree.swift
[7/10] Compiling SyntaxTree Location.swift
[8/10] Compiling SyntaxTree Kind.swift
[9/10] Emitting module SyntaxTree
[10/10] Compiling SyntaxTree SyntaxTree.swift
[11/73] Compiling Syntax PartialResult.swift
[12/73] Compiling Syntax AnyParser.swift
[13/73] Compiling Syntax Associativity.swift
[14/73] Compiling Syntax BinaryOperation.swift
[15/73] Compiling Syntax BinaryOperationParser.swift
[16/73] Compiling Syntax BinaryOperationParserError.swift
[17/73] Compiling Syntax BinaryOperator.swift
[18/79] Compiling Syntax RegularExpression.swift
[19/79] Compiling Syntax String+Parser.swift
[20/79] Compiling Syntax Token.swift
[21/79] Compiling Syntax Word.swift
[22/79] Compiling Syntax neverBody.swift
[23/79] Compiling Syntax InternalParser.swift
[24/79] Compiling Syntax MemoizationKey.swift
[25/79] Compiling Syntax SwiftEscapeStrategy.swift
[26/79] Compiling Syntax Maybe.swift
[27/79] Compiling Syntax Parser+annotate.swift
[28/79] Compiling Syntax Parser+ignoreOutput.swift
[29/79] Compiling Syntax Parser+kind.swift
[30/79] Compiling Syntax Parser+map+location.swift
[31/79] Compiling Syntax Parser+map.swift
[32/79] Compiling Syntax Either.swift
[33/79] Compiling Syntax Group.swift
[34/79] Compiling Syntax Leaf.swift
[35/79] Compiling Syntax Recursive.swift
[36/79] Compiling Syntax TupleParser.swift
[37/79] Compiling Syntax EmptyParser.swift
[38/79] Compiling Syntax RegexBuilder+support.swift
[39/79] Compiling Syntax Stack.swift
[40/79] Compiling Syntax StandardScanner.swift
[41/79] Compiling Syntax String+casing.swift
[42/79] Compiling Syntax Located.swift
[43/79] Compiling Syntax Parser.swift
[44/79] Compiling Syntax ParserOption.swift
[45/79] Compiling Syntax MemoizationStorage.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[46/79] Compiling Syntax Memoized.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[47/79] Compiling Syntax Node.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[48/79] Compiling Syntax Parser+internalParser.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[49/79] Compiling Syntax Scanner.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[50/79] Compiling Syntax ScannerState.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[51/79] Compiling Syntax Parser+optimize.swift
[52/79] Compiling Syntax Parser+preventRecursion.swift
[53/79] Compiling Syntax Parser+repeatUntil.swift
[54/79] Compiling Syntax Parser+separated.swift
[55/79] Compiling Syntax Repeat.swift
[56/79] Compiling Syntax Annotated.swift
[57/79] Compiling Syntax AnnotatedUntil.swift
[58/79] Compiling Syntax MemberOfBinaryOperation.swift
/Users/admin/builder/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)
[59/79] Compiling Syntax BooleanLiteral.swift
/Users/admin/builder/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)
[60/79] Compiling Syntax DoubleLiteral.swift
/Users/admin/builder/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)
[61/79] Compiling Syntax IntLiteral.swift
/Users/admin/builder/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)
[62/79] Compiling Syntax JavaScriptEscapeStrategy.swift
/Users/admin/builder/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)
[63/79] Compiling Syntax StringEscapeStrategy.swift
/Users/admin/builder/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)
[64/79] Compiling Syntax StringLiteral.swift
/Users/admin/builder/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)
[65/79] Emitting module Syntax
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[66/79] Compiling Syntax AnnotatedString.swift
[67/79] Compiling Syntax Cache.swift
[68/79] Compiling Syntax OrderedSet.swift
[69/79] Compiling Syntax AnnotatedError.swift
[70/79] Compiling Syntax DiagnosticError.swift
[71/79] Compiling Syntax ParserError.swift
[72/79] Compiling Syntax ScannerError.swift
[73/79] Compiling Syntax ScannerErrorHandler.swift
[74/79] Compiling Syntax WhiteSpaceConsumer.swift
[75/79] Compiling Syntax ExpressionMatch.swift
[76/79] Compiling Syntax EitherParserBuilder.swift
[77/79] Compiling Syntax ParserBuilder.swift
[78/79] Compiling Syntax PartialEmptyParserResult.swift
[79/79] Compiling Syntax PartialParserResult.swift
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.61s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (1.15s)
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
BUILD FAILURE 6.2 macosSpm