Build Information
Successful build of DataDrivenTesting with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/WezSieTato/DataDrivenTesting.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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:2:50: note: calls to class method 'runActivity(named:block:)' from outside of its actor context are implicitly asynchronous
1 | extension 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] Emitting module DataDrivenTesting
[5/5] Compiling DataDrivenTesting TestData.swift
Build complete! (25.43s)
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.