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 master (efd480), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 09:24:43 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/WezSieTato/DataDrivenTesting
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at efd4806 chore(deps): update actions/cache action to v4 (#20)
Cloned https://github.com/WezSieTato/DataDrivenTesting.git
Revision (git rev-parse @):
efd4806ccc6e91a8f15a3d70fb86fb5c3e061c07
SUCCESS checkout https://github.com/WezSieTato/DataDrivenTesting.git at master
========================================
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.74s)
Creating working copy for https://github.com/WezSieTato/DataDrivenTesting.git
Working copy of https://github.com/WezSieTato/DataDrivenTesting.git resolved at master (efd4806)
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] Emitting module DataDrivenTesting
[4/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 |         }
[5/5] Compiling DataDrivenTesting TestData.swift
Build complete! (10.63s)
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.