This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build graphql-syntax with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/graphql-syntax.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdsupremacist/graphql-syntax
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 76fee68 Move identifier parser to a lower priority
Cloned https://github.com/nerdsupremacist/graphql-syntax.git
Revision (git rev-parse @):
76fee68f4fe1ee08f6d7ce4dad1fed102c2a557a
SUCCESS checkout https://github.com/nerdsupremacist/graphql-syntax.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/nerdsupremacist/graphql-syntax.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/11] Compiling SyntaxTree Location.swift
[6/11] Compiling SyntaxTree LineColumnIndex.swift
[7/11] Compiling SyntaxTree Kind.swift
[8/11] Compiling SyntaxTree MutableSyntaxTree.swift
[9/11] Compiling SyntaxTree SyntaxTree.swift
[10/11] Compiling SyntaxTree SyntaxTreeFactory.swift
[11/11] Emitting module SyntaxTree
[12/68] Compiling Syntax MemoizationKey.swift
[13/68] Compiling Syntax MemoizationStorage.swift
[14/68] Compiling Syntax Memoized.swift
[15/68] Compiling Syntax Node.swift
[16/68] Compiling Syntax Parser+internalParser.swift
[17/68] Compiling Syntax Scanner.swift
[18/74] Compiling Syntax AnnotatedString.swift
[19/74] Compiling Syntax DiagnosticError.swift
[20/74] Compiling Syntax ParserError.swift
[21/74] Compiling Syntax ScannerError.swift
[22/74] Compiling Syntax ScannerErrorHandler.swift
[23/74] Compiling Syntax WhiteSpaceConsumer.swift
[24/74] Compiling Syntax ExpressionMatch.swift
[25/74] Compiling Syntax Parser+annotate.swift
[26/74] Compiling Syntax Parser+ignoreOutput.swift
[27/74] Compiling Syntax Parser+kind.swift
[28/74] Compiling Syntax Parser+map+location.swift
[29/74] Compiling Syntax Parser+map.swift
[30/74] Compiling Syntax Parser+optimize.swift
[31/74] Compiling Syntax BinaryOperation.swift
[32/74] Compiling Syntax BinaryOperationParser.swift
[33/74] Compiling Syntax BinaryOperationParserError.swift
[34/74] Compiling Syntax BinaryOperator.swift
[35/74] Compiling Syntax MemberOfBinaryOperation.swift
[36/74] Compiling Syntax BooleanLiteral.swift
[37/74] Compiling Syntax Either.swift
[38/74] Compiling Syntax Group.swift
[39/74] Compiling Syntax Leaf.swift
[40/74] Compiling Syntax Recursive.swift
[41/74] Compiling Syntax TupleParser.swift
[42/74] Compiling Syntax EmptyParser.swift
[43/74] Compiling Syntax Parser+preventRecursion.swift
[44/74] Compiling Syntax Parser+repeatUntil.swift
[45/74] Compiling Syntax Parser+separated.swift
[46/74] Compiling Syntax Repeat.swift
[47/74] Compiling Syntax Annotated.swift
[48/74] Compiling Syntax AnnotatedUntil.swift
[49/74] Compiling Syntax ScannerState.swift
[50/74] Compiling Syntax Stack.swift
[51/74] Compiling Syntax StandardScanner.swift
[52/74] Compiling Syntax String+casing.swift
[53/74] Compiling Syntax Parser.swift
[54/74] Compiling Syntax ParserOption.swift
[55/74] Compiling Syntax DoubleLiteral.swift
[56/74] Compiling Syntax IntLiteral.swift
[57/74] Compiling Syntax StringEscapeStrategy.swift
[58/74] Compiling Syntax StringLiteral.swift
[59/74] Compiling Syntax SwiftEscapeStrategy.swift
[60/74] Compiling Syntax Maybe.swift
[61/74] Emitting module Syntax
[62/74] Compiling Syntax RegularExpression.swift
[63/74] Compiling Syntax String+Parser.swift
[64/74] Compiling Syntax Token.swift
[65/74] Compiling Syntax Word.swift
[66/74] Compiling Syntax neverBody.swift
[67/74] Compiling Syntax InternalParser.swift
[68/74] Compiling Syntax EitherParserBuilder.swift
[69/74] Compiling Syntax ParserBuilder.swift
[70/74] Compiling Syntax PartialEmptyParserResult.swift
[71/74] Compiling Syntax PartialParserResult.swift
[72/74] Compiling Syntax PartialResult.swift
[73/74] Compiling Syntax AnyParser.swift
[74/74] Compiling Syntax Associativity.swift
[75/77] Compiling GraphQLSyntax GraphQL.swift
[76/77] Emitting module GraphQLSyntax
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:9:28: warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Root>' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |     public struct Parser: Syntax.Parser {
  8 |
  9 |         private static let implementation = _Parser().eraseToAnyParser()
    |                            `- warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Root>' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |         public var body: AnyParser<GraphQL.Root> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Syntax/Sources/Syntax/Implementations/AnyParser.swift:4:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | public struct AnyParser<Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 5 |     let parser: InternalParser
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Syntax'
  1 |
  2 | import Foundation
  3 | import Syntax
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Syntax'
  4 |
  5 | extension GraphQL {
    :
  7 |     public struct Parser: Syntax.Parser {
  8 |
  9 |         private static let implementation = _Parser().eraseToAnyParser()
    |                            |- note: annotate 'implementation' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |
 11 |         public var body: AnyParser<GraphQL.Root> {
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:44:28: warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Value>' may have shared mutable state; this is an error in the Swift 6 language mode
 42 |
 43 |     public struct Parser: Syntax.Parser {
 44 |         private static let implementation = GraphQL.Parser.ValueParser().eraseToAnyParser()
    |                            |- warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Value>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: annotate 'implementation' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |         public var body: AnyParser<GraphQL.Value> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Syntax/Sources/Syntax/Implementations/AnyParser.swift:4:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | public struct AnyParser<Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 5 |     let parser: InternalParser
 6 |
[77/77] Compiling GraphQLSyntax GraphQL+Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:9:28: warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Root>' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |     public struct Parser: Syntax.Parser {
  8 |
  9 |         private static let implementation = _Parser().eraseToAnyParser()
    |                            `- warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Root>' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 |         public var body: AnyParser<GraphQL.Root> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Syntax/Sources/Syntax/Implementations/AnyParser.swift:4:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | public struct AnyParser<Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 5 |     let parser: InternalParser
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Syntax'
  1 |
  2 | import Foundation
  3 | import Syntax
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Syntax'
  4 |
  5 | extension GraphQL {
    :
  7 |     public struct Parser: Syntax.Parser {
  8 |
  9 |         private static let implementation = _Parser().eraseToAnyParser()
    |                            |- note: annotate 'implementation' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |
 11 |         public var body: AnyParser<GraphQL.Root> {
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:44:28: warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Value>' may have shared mutable state; this is an error in the Swift 6 language mode
 42 |
 43 |     public struct Parser: Syntax.Parser {
 44 |         private static let implementation = GraphQL.Parser.ValueParser().eraseToAnyParser()
    |                            |- warning: static property 'implementation' is not concurrency-safe because non-'Sendable' type 'AnyParser<GraphQL.Value>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: annotate 'implementation' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |         public var body: AnyParser<GraphQL.Value> {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Syntax/Sources/Syntax/Implementations/AnyParser.swift:4:15: note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 2 | import Foundation
 3 |
 4 | public struct AnyParser<Output>: Parser {
   |               `- note: generic struct 'AnyParser' does not conform to the 'Sendable' protocol
 5 |     let parser: InternalParser
 6 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:91:13: error: generic parameter 'Content' could not be inferred
 89 |     fileprivate struct ValueParser: Parser {
 90 |         var body: AnyParser<GraphQL.Value> {
 91 |             Recursive { parser in
    |             |- error: generic parameter 'Content' could not be inferred
    |             `- note: explicitly specify the generic arguments to fix this issue
 92 |                 Either {
 93 |                     Group {
/Users/admin/builder/spi-builder-workspace/Sources/GraphQLSyntax/GraphQL+Parser.swift:219:13: error: generic parameter 'Content' could not be inferred
217 |     fileprivate struct SelectionSetParser: Parser {
218 |         var body: AnyParser<GraphQL.SelectionSet> {
219 |             Recursive { parser in
    |             |- error: generic parameter 'Content' could not be inferred
    |             `- note: explicitly specify the generic arguments to fix this issue
220 |                 "{"
221 |
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
Fetching https://github.com/nerdsupremacist/Syntax.git
[1/29] Fetching syntaxtree
[30/2791] Fetching syntaxtree, syntax
Fetched https://github.com/nerdsupremacist/Syntax.git from cache (1.35s)
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (1.35s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 1.0.3 (0.65s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.68s)
Creating working copy for https://github.com/nerdsupremacist/Syntax.git
Working copy of https://github.com/nerdsupremacist/Syntax.git resolved at 1.0.3
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.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.