The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of DataDrivenTesting, reference 1.0.0 (5fae00), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 09:23:35 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WezSieTato/DataDrivenTesting.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/WezSieTato/DataDrivenTesting
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5fae007 Update README.md
Cloned https://github.com/WezSieTato/DataDrivenTesting.git
Revision (git rev-parse @):
5fae0076987fd1c55e3ee9c923bbec7f2b2f87ea
SUCCESS checkout https://github.com/WezSieTato/DataDrivenTesting.git at 1.0.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": "datadriventesting",
      "name": "DataDrivenTesting",
      "url": "https://github.com/WezSieTato/DataDrivenTesting.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DataDrivenTesting",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/WezSieTato/DataDrivenTesting.git
[1/217] Fetching datadriventesting
Fetched https://github.com/WezSieTato/DataDrivenTesting.git from cache (0.84s)
Creating working copy for https://github.com/WezSieTato/DataDrivenTesting.git
Working copy of https://github.com/WezSieTato/DataDrivenTesting.git resolved at 1.0.0 (5fae007)
warning: '.resolve-product-dependencies': dependency 'datadriventesting' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/WezSieTato/DataDrivenTesting.git
https://github.com/WezSieTato/DataDrivenTesting.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DataDrivenTesting",
  "name" : "DataDrivenTesting",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataDrivenTesting",
      "targets" : [
        "DataDrivenTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataDrivenTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "DataDrivenTestingTests",
      "path" : "Tests/DataDrivenTestingTests",
      "sources" : [
        "DataDrivenTests.swift"
      ],
      "target_dependencies" : [
        "DataDrivenTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataDrivenTesting",
      "module_type" : "SwiftTarget",
      "name" : "DataDrivenTesting",
      "path" : "Sources/DataDrivenTesting",
      "product_memberships" : [
        "DataDrivenTesting"
      ],
      "sources" : [
        "TestData.swift",
        "XCTestCase+TestData.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling DataDrivenTesting XCTestCase+TestData.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataDrivenTesting/XCTestCase+TestData.swift:10:24: warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 8 |         dataArray.forEach { testData in
 9 |             let name = testData.name ?? "When data is \(testData.data)"
10 |             XCTContext.runActivity(named: name) { activity in
   |                        `- warning: call to main actor-isolated class method 'runActivity(named:block:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 |                 testClosure(testData, activity)
12 |             }
XCTest.XCTContext.runActivity:2:46: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | class XCTContext {
2 | @MainActor @preconcurrency public class func runActivity<Result>(named name: String, block: @MainActor (any XCTActivity) throws -> Result) rethrows -> Result}
  |                                              `- note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DataDrivenTesting/XCTestCase+TestData.swift:11:17: warning: sending 'testClosure' risks causing data races; this is an error in the Swift 6 language mode
 9 |             let name = testData.name ?? "When data is \(testData.data)"
10 |             XCTContext.runActivity(named: name) { activity in
11 |                 testClosure(testData, activity)
   |                 |- warning: sending 'testClosure' risks causing data races; this is an error in the Swift 6 language mode
   |                 `- note: task-isolated 'testClosure' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
12 |             }
13 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DataDrivenTesting/XCTestCase+TestData.swift:11:29: warning: sending 'testData' risks causing data races; this is an error in the Swift 6 language mode
 9 |             let name = testData.name ?? "When data is \(testData.data)"
10 |             XCTContext.runActivity(named: name) { activity in
11 |                 testClosure(testData, activity)
   |                             |- warning: sending 'testData' risks causing data races; this is an error in the Swift 6 language mode
   |                             `- note: task-isolated 'testData' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
12 |             }
13 |         }
[4/5] Compiling DataDrivenTesting TestData.swift
[5/5] Emitting module DataDrivenTesting
Build complete! (10.00s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DataDrivenTesting",
  "name" : "DataDrivenTesting",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DataDrivenTesting",
      "targets" : [
        "DataDrivenTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DataDrivenTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "DataDrivenTestingTests",
      "path" : "Tests/DataDrivenTestingTests",
      "sources" : [
        "DataDrivenTests.swift"
      ],
      "target_dependencies" : [
        "DataDrivenTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataDrivenTesting",
      "module_type" : "SwiftTarget",
      "name" : "DataDrivenTesting",
      "path" : "Sources/DataDrivenTesting",
      "product_memberships" : [
        "DataDrivenTesting"
      ],
      "sources" : [
        "TestData.swift",
        "XCTestCase+TestData.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.