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 0.6.0 (7a2191), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 04:24:10 UTC.

Swift 6 data race errors: 1

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/turbolent/ParserDescription.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/turbolent/ParserDescription
 * tag               0.6.0      -> FETCH_HEAD
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 0.6.0
Fetching https://github.com/turbolent/DiffedAssertEqual.git
[1/63] Fetching diffedassertequal
Fetched https://github.com/turbolent/DiffedAssertEqual.git from cache (0.59s)
Computing version for https://github.com/turbolent/DiffedAssertEqual.git
Computed https://github.com/turbolent/DiffedAssertEqual.git at 0.3.0 (0.63s)
Creating working copy for https://github.com/turbolent/DiffedAssertEqual.git
Working copy of https://github.com/turbolent/DiffedAssertEqual.git resolved at 0.3.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": "parserdescription",
      "name": "ParserDescription",
      "url": "https://github.com/turbolent/ParserDescription.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ParserDescription",
      "dependencies": [
        {
          "identity": "diffedassertequal",
          "name": "DiffedAssertEqual",
          "url": "https://github.com/turbolent/DiffedAssertEqual.git",
          "version": "0.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DiffedAssertEqual",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/turbolent/ParserDescription.git
[1/96] Fetching parserdescription
Fetched https://github.com/turbolent/ParserDescription.git from cache (0.68s)
Fetching https://github.com/turbolent/DiffedAssertEqual.git from cache
Fetched https://github.com/turbolent/DiffedAssertEqual.git from cache (0.46s)
Computing version for https://github.com/turbolent/DiffedAssertEqual.git
Computed https://github.com/turbolent/DiffedAssertEqual.git at 0.3.0 (0.02s)
Creating working copy for https://github.com/turbolent/ParserDescription.git
Working copy of https://github.com/turbolent/ParserDescription.git resolved at 0.6.0 (7a21913)
Creating working copy for https://github.com/turbolent/DiffedAssertEqual.git
Working copy of https://github.com/turbolent/DiffedAssertEqual.git resolved at 0.3.0
warning: '.resolve-product-dependencies': dependency 'parserdescription' is not used by any target
Found 1 product dependencies
  - DiffedAssertEqual
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/turbolent/ParserDescription.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/8] Compiling ParserDescription Pattern.swift
[5/8] Compiling ParserDescription Operation.swift
[6/8] Emitting module ParserDescription
/Users/admin/builder/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 |
/Users/admin/builder/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 Condition.swift
[8/8] Compiling ParserDescription Token.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[9/11] Compiling ParserDescriptionOperators Precedence.swift
[10/11] Compiling ParserDescriptionOperators Operators.swift
[11/11] Emitting module ParserDescriptionOperators
Build complete! (7.31s)
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" : "/Users/admin/builder/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"
}
Done.