Build Information
Successful build of SwiftAsyncSerialQueue, reference main (5df628
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 06:29:39 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/dannys42/SwiftAsyncSerialQueue.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dannys42/SwiftAsyncSerialQueue
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5df6284 WeakBox: improved readability
Cloned https://github.com/dannys42/SwiftAsyncSerialQueue.git
Revision (git rev-parse @):
5df6284596c6873e1160a788ea523ef53919a243
SUCCESS checkout https://github.com/dannys42/SwiftAsyncSerialQueue.git at main
========================================
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": "swiftasyncserialqueue",
"name": "SwiftAsyncSerialQueue",
"url": "https://github.com/dannys42/SwiftAsyncSerialQueue.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAsyncSerialQueue",
"dependencies": [
]
}
]
}
Fetching https://github.com/dannys42/SwiftAsyncSerialQueue.git
[1/142] Fetching swiftasyncserialqueue
Fetched https://github.com/dannys42/SwiftAsyncSerialQueue.git from cache (0.66s)
Creating working copy for https://github.com/dannys42/SwiftAsyncSerialQueue.git
Working copy of https://github.com/dannys42/SwiftAsyncSerialQueue.git resolved at main (5df6284)
warning: '.resolve-product-dependencies': dependency 'swiftasyncserialqueue' 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/dannys42/SwiftAsyncSerialQueue.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 AsyncSerialQueue AsyncSerialQueue.swift
[4/6] Compiling AsyncSerialQueue Executor.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSerialQueue/Internal/Executor.swift:27:55: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 | self.taskStream = taskStream
26 |
27 | self.task = Task.detached(priority: priority) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 | for await closure in taskStream {
29 | await closure()
:
34 | }
35 |
36 | await completion()
| `- note: closure captures 'completion' which is accessible to code in the current task
37 | }
38 | }
[5/6] Compiling AsyncSerialQueue SimpleLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSerialQueue/Internal/SimpleLock.swift:25:18: warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 |
21 | @propertyWrapper
22 | struct SimpleLock<Value>: SimpleLockInterface {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
23 | var wrappedValue: Value {
24 | get {
25 | self.withLock({ $0 })
| `- warning: type 'Value' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 | }
27 | set {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSerialQueue/Internal/SimpleLock.swift:28:34: warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 |
21 | @propertyWrapper
22 | struct SimpleLock<Value>: SimpleLockInterface {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
23 | var wrappedValue: Value {
24 | get {
:
26 | }
27 | set {
28 | self.withLock({ $0 = newValue })
| `- warning: capture of 'newValue' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncSerialQueue/Internal/SimpleLock.swift:73:28: warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
66 |
67 | @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, visionOS 1.0, *)
68 | final class SimpleUnfairLock<V>: @unchecked Sendable, SimpleLockInterface {
| `- note: consider making generic parameter 'V' conform to the 'Sendable' protocol
69 |
70 | private var unfairLock: OSAllocatedUnfairLock<V>
71 |
72 | init(initialState: V) {
73 | self.unfairLock = .init(initialState: initialState)
| `- warning: type 'V' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
74 | }
75 |
[6/6] Emitting module AsyncSerialQueue
Build complete! (8.06s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftAsyncSerialQueue",
"name" : "SwiftAsyncSerialQueue",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "AsyncSerialQueue",
"targets" : [
"AsyncSerialQueue"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncSerialQueueTests",
"module_type" : "SwiftTarget",
"name" : "AsyncSerialQueueTests",
"path" : "Tests/AsyncSerialQueueTests",
"sources" : [
"ExecutorRetainCycleTests.swift",
"ReentrancyTests.swift",
"RetainCycleTests.swift",
"SwiftAsyncSerialQueueTests.swift",
"TestConfiguration.swift",
"Utilities/ArrayExtension.swift",
"Utilities/DispatchGroupExtension.swift",
"Utilities/ThreadSafeCounter.swift",
"Utilities/ThreadSafeIntArray.swift",
"Utilities/WeakBox.swift"
],
"target_dependencies" : [
"AsyncSerialQueue"
],
"type" : "test"
},
{
"c99name" : "AsyncSerialQueue",
"module_type" : "SwiftTarget",
"name" : "AsyncSerialQueue",
"path" : "Sources/AsyncSerialQueue",
"product_memberships" : [
"AsyncSerialQueue"
],
"sources" : [
"AsyncSerialQueue.swift",
"Internal/Executor.swift",
"Internal/SimpleLock.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.