Build Information
Successful build of AsyncCompatibilityKit 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/edonv/AsyncCompatibilityKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/AsyncCompatibilityKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 00e00a6 Moved files into subfolder, left manifest alone
Cloned https://github.com/edonv/AsyncCompatibilityKit.git
Revision (git rev-parse @):
00e00a630d95da8f96a1d92b77e9165b4f027e9c
SUCCESS checkout https://github.com/edonv/AsyncCompatibilityKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/edonv/AsyncCompatibilityKit.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/8] Compiling AsyncCompatibilityKit Publisher+firstValue.swift
[4/8] Compiling AsyncCompatibilityKit Future+Async.swift
[5/8] Compiling AsyncCompatibilityKit URLSession+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/URLSession+Async.swift:44:17: warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | }
43 | }) {
44 | onCancel()
| |- warning: capture of 'onCancel' with non-sendable type '() -> Void?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
[6/8] Compiling AsyncCompatibilityKit Publisher+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Publisher+Async.swift:22:17: warning: capture of 'onTermination' with non-sendable type '() -> ()?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |
21 | continuation.onTermination = { @Sendable _ in
22 | onTermination()
| |- warning: capture of 'onTermination' with non-sendable type '() -> ()?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Publisher+Async.swift:54:17: warning: capture of 'onTermination' with non-sendable type '() -> ()?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 |
53 | continuation.onTermination = { @Sendable _ in
54 | onTermination()
| |- warning: capture of 'onTermination' with non-sendable type '() -> ()?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 |
[7/8] Emitting module AsyncCompatibilityKit
[8/8] Compiling AsyncCompatibilityKit View+Async.swift
Build complete! (30.69s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncCompatibilityKit",
"name" : "AsyncCompatibilityKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "AsyncCompatibilityKit",
"targets" : [
"AsyncCompatibilityKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncCompatibilityKitTests",
"module_type" : "SwiftTarget",
"name" : "AsyncCompatibilityKitTests",
"path" : "Tests",
"sources" : [
"PublisherTests.swift",
"URLSessionTests.swift",
"ViewTests.swift"
],
"target_dependencies" : [
"AsyncCompatibilityKit"
],
"type" : "test"
},
{
"c99name" : "AsyncCompatibilityKit",
"module_type" : "SwiftTarget",
"name" : "AsyncCompatibilityKit",
"path" : "Sources/AsyncCompatibilityKit",
"product_memberships" : [
"AsyncCompatibilityKit"
],
"sources" : [
"Future+Async.swift",
"Publisher+Async.swift",
"Publisher+firstValue.swift",
"URLSession+Async.swift",
"View+Async.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.