Build Information
Successful build of AsyncCompatibilityKit, reference 0.1.4 (00e00a
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 18:49:03 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 -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/AsyncCompatibilityKit.git
Reference: 0.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/AsyncCompatibilityKit
* tag 0.1.4 -> FETCH_HEAD
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 0.1.4
========================================
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": "asynccompatibilitykit",
"name": "AsyncCompatibilityKit",
"url": "https://github.com/edonv/AsyncCompatibilityKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncCompatibilityKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/edonv/AsyncCompatibilityKit.git
[1/91] Fetching asynccompatibilitykit
Fetched https://github.com/edonv/AsyncCompatibilityKit.git from cache (0.70s)
Creating working copy for https://github.com/edonv/AsyncCompatibilityKit.git
Working copy of https://github.com/edonv/AsyncCompatibilityKit.git resolved at 0.1.4 (00e00a6)
warning: '.resolve-product-dependencies': dependency 'asynccompatibilitykit' 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/edonv/AsyncCompatibilityKit.git
{
"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"
}
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 -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--7754E27361AE5C74.txt
[3/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 | }
[4/8] Compiling AsyncCompatibilityKit View+Async.swift
[5/8] Compiling AsyncCompatibilityKit Publisher+firstValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Publisher+firstValue.swift:22:23: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 | cancellable = self.first().sink { value in
22 | c.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | onTermination()
24 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Publisher+firstValue.swift:50:23: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
48 | onTermination()
49 | }, receiveValue: { value in
50 | c.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
51 | })
52 | }
[6/8] Compiling AsyncCompatibilityKit Future+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Future+Async.swift:39:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
37 |
38 | }, receiveValue: { value in
39 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
40 | }
41 | )
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Future+Async.swift:62:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
60 | onTermination()
61 | }, receiveValue: { value in
62 | continuation.resume(returning: value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
63 | }
64 | )
[7/8] Emitting module AsyncCompatibilityKit
[8/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 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Publisher+Async.swift:34:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
32 | }
33 | }, receiveValue: { value in
34 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
35 | }
36 | )
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCompatibilityKit/Publisher+Async.swift:61:34: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
59 | continuation.finish()
60 | }, receiveValue: { value in
61 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
62 | }
63 | )
Build complete! (10.81s)
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.