Build Information
Failed to build graphql-syntax, reference 0.1.3 (76fee6
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 20:02:53 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/graphql-syntax.git
Reference: 0.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerdsupremacist/graphql-syntax
* tag 0.1.3 -> FETCH_HEAD
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 0.1.3
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.17s)
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (1.17s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 1.0.3 (0.68s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "graphql-syntax",
"name": "graphql-syntax",
"url": "https://github.com/nerdsupremacist/graphql-syntax.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/graphql-syntax",
"dependencies": [
{
"identity": "syntax",
"name": "Syntax",
"url": "https://github.com/nerdsupremacist/Syntax.git",
"version": "1.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Syntax",
"dependencies": [
{
"identity": "syntaxtree",
"name": "SyntaxTree",
"url": "https://github.com/nerdsupremacist/SyntaxTree.git",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SyntaxTree",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/nerdsupremacist/graphql-syntax.git
[1/61] Fetching graphql-syntax
Fetched https://github.com/nerdsupremacist/graphql-syntax.git from cache (0.67s)
Fetching https://github.com/nerdsupremacist/Syntax.git from cache
Fetched https://github.com/nerdsupremacist/Syntax.git from cache (0.52s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 1.0.4 (0.03s)
Fetching https://github.com/nerdsupremacist/SyntaxTree.git from cache
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.46s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.02s)
Creating working copy for https://github.com/nerdsupremacist/Syntax.git
Working copy of https://github.com/nerdsupremacist/Syntax.git resolved at 1.0.4
Creating working copy for https://github.com/nerdsupremacist/SyntaxTree.git
Working copy of https://github.com/nerdsupremacist/SyntaxTree.git resolved at 0.1.0
Creating working copy for https://github.com/nerdsupremacist/graphql-syntax.git
Working copy of https://github.com/nerdsupremacist/graphql-syntax.git resolved at 0.1.3 (76fee68)
warning: '.resolve-product-dependencies': dependency 'graphql-syntax' is not used by any target
Found 1 product dependencies
- Syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/nerdsupremacist/graphql-syntax.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[5/11] Compiling SyntaxTree SyntaxTree.swift
[6/11] Compiling SyntaxTree Kind.swift
[7/11] Compiling SyntaxTree MutableSyntaxTree.swift
[8/11] Compiling SyntaxTree SyntaxTreeFactory.swift
[9/11] Compiling SyntaxTree LineColumnIndex.swift
[10/11] Emitting module SyntaxTree
[11/11] Compiling SyntaxTree Location.swift
[12/68] Compiling Syntax Parser+annotate.swift
[13/68] Compiling Syntax Parser+ignoreOutput.swift
[14/68] Compiling Syntax Parser+kind.swift
[15/68] Compiling Syntax Parser+map+location.swift
[16/68] Compiling Syntax Parser+map.swift
[17/68] Compiling Syntax Parser+optimize.swift
[18/74] Compiling Syntax MemoizationKey.swift
[19/74] Compiling Syntax MemoizationStorage.swift
[20/74] Compiling Syntax Memoized.swift
[21/74] Compiling Syntax Node.swift
[22/74] Compiling Syntax Parser+internalParser.swift
[23/74] Compiling Syntax Scanner.swift
[24/74] Compiling Syntax AnnotatedString.swift
[25/74] Compiling Syntax DiagnosticError.swift
[26/74] Compiling Syntax ParserError.swift
[27/74] Compiling Syntax ScannerError.swift
[28/74] Compiling Syntax ScannerErrorHandler.swift
[29/74] Compiling Syntax WhiteSpaceConsumer.swift
[30/74] Compiling Syntax ExpressionMatch.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 RegularExpression.swift
[38/74] Compiling Syntax String+Parser.swift
[39/74] Compiling Syntax Token.swift
[40/74] Compiling Syntax Word.swift
[41/74] Compiling Syntax neverBody.swift
[42/74] Compiling Syntax InternalParser.swift
[43/74] Compiling Syntax Either.swift
[44/74] Compiling Syntax Group.swift
[45/74] Compiling Syntax Leaf.swift
[46/74] Compiling Syntax Recursive.swift
[47/74] Compiling Syntax TupleParser.swift
[48/74] Compiling Syntax EmptyParser.swift
[49/74] Compiling Syntax Parser+preventRecursion.swift
[50/74] Compiling Syntax Parser+repeatUntil.swift
[51/74] Compiling Syntax Parser+separated.swift
[52/74] Compiling Syntax Repeat.swift
[53/74] Compiling Syntax Annotated.swift
[54/74] Compiling Syntax AnnotatedUntil.swift
[55/74] Compiling Syntax ScannerState.swift
[56/74] Compiling Syntax Stack.swift
[57/74] Compiling Syntax StandardScanner.swift
[58/74] Compiling Syntax String+casing.swift
[59/74] Compiling Syntax Parser.swift
[60/74] Compiling Syntax ParserOption.swift
[61/74] Compiling Syntax DoubleLiteral.swift
[62/74] Compiling Syntax IntLiteral.swift
[63/74] Compiling Syntax StringEscapeStrategy.swift
[64/74] Compiling Syntax StringLiteral.swift
[65/74] Compiling Syntax SwiftEscapeStrategy.swift
[66/74] Compiling Syntax Maybe.swift
[67/74] Emitting module Syntax
[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 |
BUILD FAILURE 6.0 macosSpm