Build Information
Failed to build graphql-syntax, reference main (76fee6
), with Swift 6.0 for Linux on 1 Nov 2024 19:57:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerdsupremacist/graphql-syntax.git
Reference: main
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/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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/nerdsupremacist/graphql-syntax.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/nerdsupremacist/Syntax.git
[1/2762] Fetching syntax
Fetched https://github.com/nerdsupremacist/Syntax.git from cache (0.46s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 1.0.4 (0.49s)
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.22s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.86s)
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling SyntaxTree SyntaxTreeFactory.swift
[6/11] Emitting module SyntaxTree
[7/11] Compiling SyntaxTree SyntaxTree.swift
[8/11] Compiling SyntaxTree MutableSyntaxTree.swift
[9/11] Compiling SyntaxTree Kind.swift
[10/11] Compiling SyntaxTree LineColumnIndex.swift
[11/11] Compiling SyntaxTree Location.swift
[13/69] Compiling Syntax AnnotatedString.swift
[14/69] Compiling Syntax Cache.swift
[15/69] Compiling Syntax OrderedSet.swift
[16/69] Compiling Syntax DiagnosticError.swift
[17/69] Compiling Syntax ParserError.swift
[18/69] Compiling Syntax ScannerError.swift
[19/69] Compiling Syntax ScannerErrorHandler.swift
[20/69] Compiling Syntax WhiteSpaceConsumer.swift
[21/77] Compiling Syntax Token.swift
[22/77] Compiling Syntax Word.swift
[23/77] Compiling Syntax neverBody.swift
[24/77] Compiling Syntax InternalParser.swift
[25/77] Compiling Syntax MemoizationKey.swift
[26/77] Compiling Syntax MemoizationStorage.swift
[27/77] Compiling Syntax Memoized.swift
[28/77] Compiling Syntax Node.swift
[29/77] Compiling Syntax Either.swift
[30/77] Compiling Syntax Group.swift
[31/77] Compiling Syntax Leaf.swift
[32/77] Compiling Syntax Recursive.swift
[33/77] Compiling Syntax TupleParser.swift
[34/77] Compiling Syntax EmptyParser.swift
[35/77] Compiling Syntax RegularExpression.swift
[36/77] Compiling Syntax String+Parser.swift
[37/77] Compiling Syntax Parser+map.swift
[38/77] Compiling Syntax Parser+optimize.swift
[39/77] Compiling Syntax Parser+preventRecursion.swift
[40/77] Compiling Syntax Parser+repeatUntil.swift
[41/77] Compiling Syntax Parser+separated.swift
[42/77] Compiling Syntax Repeat.swift
[43/77] Compiling Syntax Annotated.swift
[44/77] Compiling Syntax AnnotatedUntil.swift
[45/77] Compiling Syntax Parser+internalParser.swift
[46/77] Compiling Syntax Scanner.swift
[47/77] Compiling Syntax ScannerState.swift
[48/77] Compiling Syntax Stack.swift
[49/77] Compiling Syntax StandardScanner.swift
[50/77] Compiling Syntax String+casing.swift
[51/77] Compiling Syntax Parser.swift
[52/77] Compiling Syntax ParserOption.swift
[53/77] Emitting module Syntax
[54/77] Compiling Syntax StringEscapeStrategy.swift
[55/77] Compiling Syntax StringLiteral.swift
[56/77] Compiling Syntax SwiftEscapeStrategy.swift
[57/77] Compiling Syntax Maybe.swift
[58/77] Compiling Syntax Parser+annotate.swift
[59/77] Compiling Syntax Parser+ignoreOutput.swift
[60/77] Compiling Syntax Parser+kind.swift
[61/77] Compiling Syntax Parser+map+location.swift
[62/77] Compiling Syntax ExpressionMatch.swift
[63/77] Compiling Syntax EitherParserBuilder.swift
[64/77] Compiling Syntax ParserBuilder.swift
[65/77] Compiling Syntax PartialEmptyParserResult.swift
[66/77] Compiling Syntax PartialParserResult.swift
[67/77] Compiling Syntax PartialResult.swift
[68/77] Compiling Syntax AnyParser.swift
[69/77] Compiling Syntax Associativity.swift
[70/77] Compiling Syntax BinaryOperation.swift
[71/77] Compiling Syntax BinaryOperationParser.swift
[72/77] Compiling Syntax BinaryOperationParserError.swift
[73/77] Compiling Syntax BinaryOperator.swift
[74/77] Compiling Syntax MemberOfBinaryOperation.swift
[75/77] Compiling Syntax BooleanLiteral.swift
[76/77] Compiling Syntax DoubleLiteral.swift
[77/77] Compiling Syntax IntLiteral.swift
[79/81] Compiling GraphQLSyntax GraphQL.swift
[80/81] Emitting module GraphQLSyntax
/host/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> {
/host/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 |
/host/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> {
/host/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> {
/host/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 |
[81/81] Compiling GraphQLSyntax GraphQL+Parser.swift
/host/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> {
/host/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 |
/host/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> {
/host/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> {
/host/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 |
/host/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 {
/host/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 linux