The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftGraphQLParser, reference 0.1.7 (0fcadd), with Swift 6.1 for Android on 27 May 2025 07:24:18 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanbillard/swiftgraphqlparser.git
Reference: 0.1.7
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/ryanbillard/swiftgraphqlparser
 * tag               0.1.7      -> FETCH_HEAD
HEAD is now at 0fcadd4 add more useful errors
Cloned https://github.com/ryanbillard/swiftgraphqlparser.git
Revision (git rev-parse @):
0fcadd4bf9a348c6af97fed05d1c25302e86e1ec
SUCCESS checkout https://github.com/ryanbillard/swiftgraphqlparser.git at 0.1.7
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ryanbillard/swiftgraphqlparser.git
https://github.com/ryanbillard/swiftgraphqlparser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftGraphQLParser",
  "name" : "SwiftGraphQLParser",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftGraphQLParser",
      "targets" : [
        "SwiftGraphQLParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftGraphQLParserTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGraphQLParserTests",
      "path" : "Tests/SwiftGraphQLParserTests",
      "sources" : [
        "LexerTests.swift",
        "ParserTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftGraphQLParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGraphQLParser",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGraphQLParser",
      "path" : "Sources/SwiftGraphQLParser",
      "product_memberships" : [
        "SwiftGraphQLParser"
      ],
      "sources" : [
        "GraphQLDocument.swift",
        "GraphQLLexer.swift",
        "GraphQLParser.swift",
        "GraphQLVisitor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling SwiftGraphQLParser GraphQLVisitor.swift
[4/7] Compiling SwiftGraphQLParser GraphQLParser.swift
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLParser.swift:22:13: warning: stored property 'token' of 'Sendable'-conforming struct 'UnexpectedTokenError' has non-sendable type 'TokenType'; this is an error in the Swift 6 language mode
 20 |
 21 | public struct UnexpectedTokenError: LocalizedError {
 22 | 	public let token: TokenType
    |             `- warning: stored property 'token' of 'Sendable'-conforming struct 'UnexpectedTokenError' has non-sendable type 'TokenType'; this is an error in the Swift 6 language mode
 23 | 	public let line: Int
 24 | 	public let column: Int
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLLexer.swift:10:13: note: consider making enum 'TokenType' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public enum TokenType: Equatable {
    |             `- note: consider making enum 'TokenType' conform to the 'Sendable' protocol
 11 | 	case identifier(String)
 12 | 	case intValue(String)
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLParser.swift:32:13: warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ParserErrorType: String {
    |             `- note: consider making enum 'ParserErrorType' conform to the 'Sendable' protocol
  4 | 	case missingFragmentName
  5 | 	case missingTypeCondition
    :
 30 |
 31 | public struct ParserError: LocalizedError {
 32 | 	public let type: ParserErrorType
    |             `- warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
 33 | 	public let line: Int
 34 | 	public let column: Int
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLParser.swift:42:6: warning: stored property 'type' of 'Sendable'-conforming struct 'InternalParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ParserErrorType: String {
    |             `- note: consider making enum 'ParserErrorType' conform to the 'Sendable' protocol
  4 | 	case missingFragmentName
  5 | 	case missingTypeCondition
    :
 40 |
 41 | private struct InternalParserError: Error {
 42 | 	let type: ParserErrorType
    |      `- warning: stored property 'type' of 'Sendable'-conforming struct 'InternalParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
 43 | 	let index: String.Index
 44 | }
[5/7] Emitting module SwiftGraphQLParser
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLParser.swift:22:13: warning: stored property 'token' of 'Sendable'-conforming struct 'UnexpectedTokenError' has non-sendable type 'TokenType'; this is an error in the Swift 6 language mode
 20 |
 21 | public struct UnexpectedTokenError: LocalizedError {
 22 | 	public let token: TokenType
    |             `- warning: stored property 'token' of 'Sendable'-conforming struct 'UnexpectedTokenError' has non-sendable type 'TokenType'; this is an error in the Swift 6 language mode
 23 | 	public let line: Int
 24 | 	public let column: Int
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLLexer.swift:10:13: note: consider making enum 'TokenType' conform to the 'Sendable' protocol
  8 | import Foundation
  9 |
 10 | public enum TokenType: Equatable {
    |             `- note: consider making enum 'TokenType' conform to the 'Sendable' protocol
 11 | 	case identifier(String)
 12 | 	case intValue(String)
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLParser.swift:32:13: warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ParserErrorType: String {
    |             `- note: consider making enum 'ParserErrorType' conform to the 'Sendable' protocol
  4 | 	case missingFragmentName
  5 | 	case missingTypeCondition
    :
 30 |
 31 | public struct ParserError: LocalizedError {
 32 | 	public let type: ParserErrorType
    |             `- warning: stored property 'type' of 'Sendable'-conforming struct 'ParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
 33 | 	public let line: Int
 34 | 	public let column: Int
/host/spi-builder-workspace/Sources/SwiftGraphQLParser/GraphQLParser.swift:42:6: warning: stored property 'type' of 'Sendable'-conforming struct 'InternalParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
  1 | import Foundation
  2 |
  3 | public enum ParserErrorType: String {
    |             `- note: consider making enum 'ParserErrorType' conform to the 'Sendable' protocol
  4 | 	case missingFragmentName
  5 | 	case missingTypeCondition
    :
 40 |
 41 | private struct InternalParserError: Error {
 42 | 	let type: ParserErrorType
    |      `- warning: stored property 'type' of 'Sendable'-conforming struct 'InternalParserError' has non-sendable type 'ParserErrorType'; this is an error in the Swift 6 language mode
 43 | 	let index: String.Index
 44 | }
[6/7] Compiling SwiftGraphQLParser GraphQLLexer.swift
[7/7] Compiling SwiftGraphQLParser GraphQLDocument.swift
Build complete! (10.23s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftGraphQLParser",
  "name" : "SwiftGraphQLParser",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftGraphQLParser",
      "targets" : [
        "SwiftGraphQLParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftGraphQLParserTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGraphQLParserTests",
      "path" : "Tests/SwiftGraphQLParserTests",
      "sources" : [
        "LexerTests.swift",
        "ParserTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftGraphQLParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGraphQLParser",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGraphQLParser",
      "path" : "Sources/SwiftGraphQLParser",
      "product_memberships" : [
        "SwiftGraphQLParser"
      ],
      "sources" : [
        "GraphQLDocument.swift",
        "GraphQLLexer.swift",
        "GraphQLParser.swift",
        "GraphQLVisitor.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.