Build Information
Successful build of UUSwiftTestCore 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/SilverPineSoftware/UUSwiftTestCore.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SilverPineSoftware/UUSwiftTestCore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 27f252d Change type to String
Cloned https://github.com/SilverPineSoftware/UUSwiftTestCore.git
Revision (git rev-parse @):
27f252d0f0715868794ddb7cb7d274b89f7d80f5
SUCCESS checkout https://github.com/SilverPineSoftware/UUSwiftTestCore.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/SilverPineSoftware/UUSwiftTestCore.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/4] Emitting module UUSwiftTestCore
[4/4] Compiling UUSwiftTestCore UUTestCase.swift
/Users/admin/builder/spi-builder-workspace/Source/UUTestCase.swift:27:9: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 |
25 | func uuWaitForExpectations(_ timeout: TimeInterval = 60)
| `- note: add '@MainActor' to make instance method 'uuWaitForExpectations' part of global actor 'MainActor'
26 | {
27 | waitForExpectations(timeout: timeout)
| `- warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | { (err: Error?) in
29 | if (err != nil)
XCTest.XCTestCase:5:26: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "expectation(description:)")
4 | open func expectationWithDescription(_ description: String) -> XCTestExpectation
5 | @MainActor open func waitForExpectations(timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
| `- note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
6 | @available(swift, obsoleted: 3, renamed: "waitForExpectations(timeout:handler:)")
7 | @MainActor open func waitForExpectationsWithTimeout(_ timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
/Users/admin/builder/spi-builder-workspace/Source/UUTestCase.swift:27:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
25 | func uuWaitForExpectations(_ timeout: TimeInterval = 60)
26 | {
27 | waitForExpectations(timeout: timeout)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' risks causing data races between main actor-isolated and task-isolated uses
28 | { (err: Error?) in
29 | if (err != nil)
Build complete! (24.92s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "UUSwiftTestCore",
"name" : "UUSwiftTestCore",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "UUSwiftTestCore",
"targets" : [
"UUSwiftTestCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "UUSwiftTestCoreTests",
"module_type" : "SwiftTarget",
"name" : "UUSwiftTestCoreTests",
"path" : "Test",
"sources" : [
"UUTestCaseTests.swift"
],
"target_dependencies" : [
"UUSwiftTestCore"
],
"type" : "test"
},
{
"c99name" : "UUSwiftTestCore",
"module_type" : "SwiftTarget",
"name" : "UUSwiftTestCore",
"path" : "Source",
"product_memberships" : [
"UUSwiftTestCore"
],
"sources" : [
"UUTestCase.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.