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

Successful build of ParserDescription, reference master (7a2191), with Swift 6.0 for Linux on 1 Nov 2024 04:16:04 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/turbolent/ParserDescription.git
Reference: master
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/turbolent/ParserDescription
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7a21913 remove parser combinator compiler
Cloned https://github.com/turbolent/ParserDescription.git
Revision (git rev-parse @):
7a219130897990805926f04f7a43d19a3a3e42c5
SUCCESS checkout https://github.com/turbolent/ParserDescription.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/turbolent/ParserDescription.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/turbolent/DiffedAssertEqual.git
[2/63] Fetching diffedassertequal
Fetched https://github.com/turbolent/DiffedAssertEqual.git from cache (0.32s)
Computing version for https://github.com/turbolent/DiffedAssertEqual.git
Computed https://github.com/turbolent/DiffedAssertEqual.git at 0.3.0 (1.32s)
Creating working copy for https://github.com/turbolent/DiffedAssertEqual.git
Working copy of https://github.com/turbolent/DiffedAssertEqual.git resolved at 0.3.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling ParserDescription Pattern.swift
[5/8] Compiling ParserDescription Condition.swift
[6/8] Emitting module ParserDescription
/host/spi-builder-workspace/Sources/ParserDescription/Token.swift:25:16: warning: stored property 'condition' of 'Sendable'-conforming struct 'UnsupportedConditionError' has non-sendable type 'any _Condition'; this is an error in the Swift 6 language mode
 23 |
 24 | public struct UnsupportedConditionError: Error {
 25 |     public let condition: _Condition
    |                `- warning: stored property 'condition' of 'Sendable'-conforming struct 'UnsupportedConditionError' has non-sendable type 'any _Condition'; this is an error in the Swift 6 language mode
 26 | }
 27 |
/host/spi-builder-workspace/Sources/ParserDescription/Condition.swift:9:17: note: protocol '_Condition' does not conform to the 'Sendable' protocol
  7 | }
  8 |
  9 | public protocol _Condition: Codable {
    |                 `- note: protocol '_Condition' does not conform to the 'Sendable' protocol
 10 |     var type: ConditionType { get }
 11 | }
[7/8] Compiling ParserDescription Operation.swift
[8/8] Compiling ParserDescription Token.swift
/host/spi-builder-workspace/Sources/ParserDescription/Token.swift:25:16: warning: stored property 'condition' of 'Sendable'-conforming struct 'UnsupportedConditionError' has non-sendable type 'any _Condition'; this is an error in the Swift 6 language mode
 23 |
 24 | public struct UnsupportedConditionError: Error {
 25 |     public let condition: _Condition
    |                `- warning: stored property 'condition' of 'Sendable'-conforming struct 'UnsupportedConditionError' has non-sendable type 'any _Condition'; this is an error in the Swift 6 language mode
 26 | }
 27 |
/host/spi-builder-workspace/Sources/ParserDescription/Condition.swift:9:17: note: protocol '_Condition' does not conform to the 'Sendable' protocol
  7 | }
  8 |
  9 | public protocol _Condition: Codable {
    |                 `- note: protocol '_Condition' does not conform to the 'Sendable' protocol
 10 |     var type: ConditionType { get }
 11 | }
[10/12] Compiling ParserDescriptionOperators Precedence.swift
[11/12] Emitting module ParserDescriptionOperators
[12/12] Compiling ParserDescriptionOperators Operators.swift
Build complete! (20.71s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "diffedassertequal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/turbolent/DiffedAssertEqual.git"
    }
  ],
  "manifest_display_name" : "ParserDescription",
  "name" : "ParserDescription",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ParserDescription",
      "targets" : [
        "ParserDescription"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ParserDescriptionOperators",
      "targets" : [
        "ParserDescriptionOperators"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ParserDescriptionTests",
      "module_type" : "SwiftTarget",
      "name" : "ParserDescriptionTests",
      "path" : "Tests/ParserDescriptionTests",
      "product_dependencies" : [
        "DiffedAssertEqual"
      ],
      "sources" : [
        "ParserDescriptionTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ParserDescription",
        "ParserDescriptionOperators"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ParserDescriptionOperators",
      "module_type" : "SwiftTarget",
      "name" : "ParserDescriptionOperators",
      "path" : "Sources/ParserDescriptionOperators",
      "product_memberships" : [
        "ParserDescriptionOperators"
      ],
      "sources" : [
        "Operators.swift",
        "Precedence.swift"
      ],
      "target_dependencies" : [
        "ParserDescription"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ParserDescription",
      "module_type" : "SwiftTarget",
      "name" : "ParserDescription",
      "path" : "Sources/ParserDescription",
      "product_memberships" : [
        "ParserDescription",
        "ParserDescriptionOperators"
      ],
      "sources" : [
        "Condition.swift",
        "Operation.swift",
        "Pattern.swift",
        "Token.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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
Done.