Build Information
Successful build of XCTestStarterKit, reference 0.0.3 (c56992
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 16:10:43 UTC.
Swift 6 data race errors: 0
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/CypherPoet/XCTestStarterKit.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/XCTestStarterKit
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at c569921 0.0.3
Cloned https://github.com/CypherPoet/XCTestStarterKit.git
Revision (git rev-parse @):
c569921d4dce297cb579e0d969c2d356250749e4
SUCCESS checkout https://github.com/CypherPoet/XCTestStarterKit.git at 0.0.3
========================================
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": "xcteststarterkit",
"name": "XCTestStarterKit",
"url": "https://github.com/CypherPoet/XCTestStarterKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XCTestStarterKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/CypherPoet/XCTestStarterKit.git
[1/162] Fetching xcteststarterkit
Fetched https://github.com/CypherPoet/XCTestStarterKit.git from cache (1.26s)
Creating working copy for https://github.com/CypherPoet/XCTestStarterKit.git
Working copy of https://github.com/CypherPoet/XCTestStarterKit.git resolved at 0.0.3 (c569921)
warning: '.resolve-product-dependencies': dependency 'xcteststarterkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/CypherPoet/XCTestStarterKit.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling XCTestStarterKit XCTestCase+AssertResultCompletesWithError.swift
[4/6] Emitting module XCTestStarterKit
[5/6] Compiling XCTestStarterKit XCTestCase+AssertExpressionThrowsError.swift
[6/6] Compiling XCTestStarterKit XCTestCase+AwaitCompletionOfPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTestStarterKit/Extensions/XCTestCase/XCTestCase+AwaitCompletionOfPublisher.swift:36: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
10 | extension XCTestCase {
11 |
12 | public func awaitCompletion<PublisherType: Publisher>(
| `- note: add '@MainActor' to make instance method 'awaitCompletion(of:timeout:)' part of global actor 'MainActor'
13 | of publisher: PublisherType,
14 | timeout: TimeInterval = 10
:
34 | // expectation has been fulfilled, or until the given timeout
35 | // interval has elapsed:
36 | 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
37 |
38 |
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/Sources/XCTestStarterKit/Extensions/XCTestCase/XCTestCase+AwaitCompletionOfPublisher.swift:36:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
34 | // expectation has been fulfilled, or until the given timeout
35 | // interval has elapsed:
36 | 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
37 |
38 |
Build complete! (12.25s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "XCTestStarterKit",
"name" : "XCTestStarterKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "XCTestStarterKit",
"targets" : [
"XCTestStarterKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "XCTestStarterKitTests",
"module_type" : "SwiftTarget",
"name" : "XCTestStarterKitTests",
"path" : "Tests/XCTestStarterKit",
"sources" : [
"Cases/Extensions/XCTestCase/XCTestCase_AssertErrorWasThrownTests.swift",
"Cases/Extensions/XCTestCase/XCTestCase_AssertExpressionThrowsErrorTests.swift",
"Cases/Extensions/XCTestCase/XCTestCase_AssertResultCompletesWithErrorTests.swift"
],
"target_dependencies" : [
"XCTestStarterKit"
],
"type" : "test"
},
{
"c99name" : "XCTestStarterKit",
"module_type" : "SwiftTarget",
"name" : "XCTestStarterKit",
"path" : "Sources/XCTestStarterKit",
"product_memberships" : [
"XCTestStarterKit"
],
"sources" : [
"Extensions/XCTestCase/XCTestCase+AssertExpressionThrowsError.swift",
"Extensions/XCTestCase/XCTestCase+AssertResultCompletesWithError.swift",
"Extensions/XCTestCase/XCTestCase+AwaitCompletionOfPublisher.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.