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, reference 0.1.3 (76fee6), with Swift 6.0 for Linux on 1 Nov 2024 19:57:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 0.1.3
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
 * 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
========================================
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-4609320-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.34s)
Computing version for https://github.com/nerdsupremacist/Syntax.git
Computed https://github.com/nerdsupremacist/Syntax.git at 1.0.4 (0.42s)
Fetching https://github.com/nerdsupremacist/SyntaxTree.git
[1/29] Fetching syntaxtree
Fetched https://github.com/nerdsupremacist/SyntaxTree.git from cache (0.18s)
Computing version for https://github.com/nerdsupremacist/SyntaxTree.git
Computed https://github.com/nerdsupremacist/SyntaxTree.git at 0.1.0 (0.41s)
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] Compiling SyntaxTree MutableSyntaxTree.swift
[7/11] Compiling SyntaxTree SyntaxTree.swift
[8/11] Compiling SyntaxTree LineColumnIndex.swift
[9/11] Compiling SyntaxTree Kind.swift
[10/11] Emitting module SyntaxTree
[11/11] Compiling SyntaxTree Location.swift
[13/69] Compiling Syntax Token.swift
[14/69] Compiling Syntax Word.swift
[15/69] Compiling Syntax neverBody.swift
[16/69] Compiling Syntax InternalParser.swift
[17/69] Compiling Syntax MemoizationKey.swift
[18/69] Compiling Syntax MemoizationStorage.swift
[19/69] Compiling Syntax Memoized.swift
[20/69] Compiling Syntax Node.swift
[21/69] Compiling Syntax AnnotatedString.swift
[22/69] Compiling Syntax Cache.swift
[23/69] Compiling Syntax OrderedSet.swift
[24/69] Compiling Syntax DiagnosticError.swift
[25/69] Compiling Syntax ParserError.swift
[26/69] Compiling Syntax ScannerError.swift
[27/69] Compiling Syntax ScannerErrorHandler.swift
[28/69] Compiling Syntax WhiteSpaceConsumer.swift
[29/69] Compiling Syntax Either.swift
[30/69] Compiling Syntax Group.swift
[31/69] Compiling Syntax Leaf.swift
[32/69] Compiling Syntax Recursive.swift
[33/69] Compiling Syntax TupleParser.swift
[34/69] Compiling Syntax EmptyParser.swift
[35/69] Compiling Syntax RegularExpression.swift
[36/69] Compiling Syntax String+Parser.swift
[37/77] Compiling Syntax Parser+internalParser.swift
[38/77] Compiling Syntax Scanner.swift
[39/77] Compiling Syntax ScannerState.swift
[40/77] Compiling Syntax Stack.swift
[41/77] Compiling Syntax StandardScanner.swift
[42/77] Compiling Syntax String+casing.swift
[43/77] Compiling Syntax Parser.swift
[44/77] Compiling Syntax ParserOption.swift
[45/77] Compiling Syntax BinaryOperation.swift
[46/77] Compiling Syntax BinaryOperationParser.swift
[47/77] Compiling Syntax BinaryOperationParserError.swift
[48/77] Compiling Syntax BinaryOperator.swift
[49/77] Compiling Syntax MemberOfBinaryOperation.swift
[50/77] Compiling Syntax BooleanLiteral.swift
[51/77] Compiling Syntax DoubleLiteral.swift
[52/77] Compiling Syntax IntLiteral.swift
[53/77] Compiling Syntax StringEscapeStrategy.swift
[54/77] Compiling Syntax StringLiteral.swift
[55/77] Compiling Syntax SwiftEscapeStrategy.swift
[56/77] Compiling Syntax Maybe.swift
[57/77] Compiling Syntax Parser+annotate.swift
[58/77] Compiling Syntax Parser+ignoreOutput.swift
[59/77] Compiling Syntax Parser+kind.swift
[60/77] Compiling Syntax Parser+map+location.swift
[61/77] Compiling Syntax Parser+map.swift
[62/77] Compiling Syntax Parser+optimize.swift
[63/77] Compiling Syntax Parser+preventRecursion.swift
[64/77] Compiling Syntax Parser+repeatUntil.swift
[65/77] Compiling Syntax Parser+separated.swift
[66/77] Compiling Syntax Repeat.swift
[67/77] Compiling Syntax Annotated.swift
[68/77] Compiling Syntax AnnotatedUntil.swift
[69/77] Emitting module Syntax
[70/77] Compiling Syntax ExpressionMatch.swift
[71/77] Compiling Syntax EitherParserBuilder.swift
[72/77] Compiling Syntax ParserBuilder.swift
[73/77] Compiling Syntax PartialEmptyParserResult.swift
[74/77] Compiling Syntax PartialParserResult.swift
[75/77] Compiling Syntax PartialResult.swift
[76/77] Compiling Syntax AnyParser.swift
[77/77] Compiling Syntax Associativity.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