Build Information
Successful build of AsyncValue, reference main (c04bdc
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 04:55:21 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BrentMifsud/AsyncValue.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BrentMifsud/AsyncValue
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c04bdc3 Update README to reflect latest api changes (#9)
Cloned https://github.com/BrentMifsud/AsyncValue.git
Revision (git rev-parse @):
c04bdc325ad7f48dd2eb43bdb401c6cfaa5019e3
SUCCESS checkout https://github.com/BrentMifsud/AsyncValue.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": "asyncvalue",
"name": "AsyncValue",
"url": "https://github.com/BrentMifsud/AsyncValue.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncValue",
"dependencies": [
]
}
]
}
Fetching https://github.com/BrentMifsud/AsyncValue.git
[1/221] Fetching asyncvalue
Fetched https://github.com/BrentMifsud/AsyncValue.git from cache (0.62s)
Creating working copy for https://github.com/BrentMifsud/AsyncValue.git
Working copy of https://github.com/BrentMifsud/AsyncValue.git resolved at main (c04bdc3)
warning: '.resolve-product-dependencies': dependency 'asyncvalue' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/BrentMifsud/AsyncValue.git
https://github.com/BrentMifsud/AsyncValue.git
{
"dependencies" : [
],
"manifest_display_name" : "AsyncValue",
"name" : "AsyncValue",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "AsyncValue",
"targets" : [
"AsyncValue"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncValueTests",
"module_type" : "SwiftTarget",
"name" : "AsyncValueTests",
"path" : "Tests/AsyncValueTests",
"sources" : [
"AsyncValueTests.swift"
],
"target_dependencies" : [
"AsyncValue"
],
"type" : "test"
},
{
"c99name" : "AsyncValue",
"module_type" : "SwiftTarget",
"name" : "AsyncValue",
"path" : "Sources/AsyncValue",
"product_memberships" : [
"AsyncValue"
],
"sources" : [
"AsyncValue.swift",
"ContinuationStorage.swift",
"View+AsyncValue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/6] Compiling AsyncValue AsyncValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/AsyncValue.swift:103:17: warning: capture of 'self' with non-sendable type 'AsyncValue<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 | /// ```
76 | @propertyWrapper
77 | public struct AsyncValue<Value: Equatable> {
| `- note: consider making generic struct 'AsyncValue' conform to the 'Sendable' protocol
78 | public enum YieldBehavior {
79 | case newValues
:
101 |
102 | continuation.onTermination = { @Sendable _ in
103 | storage.removeContinuation(for: uuid)
| `- warning: capture of 'self' with non-sendable type 'AsyncValue<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/AsyncValue.swift:99:30: warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
97 |
98 | if behavior == .allValues {
99 | continuation.yield(wrappedValue)
| |- warning: sending 'self.wrappedValue' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self.wrappedValue' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 | }
101 |
[4/6] Compiling AsyncValue View+AsyncValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/View+AsyncValue.swift:54:21: warning: non-sendable result type 'Sequence.Element?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
52 | task {
53 | do {
54 | for try await value in sequence {
| `- warning: non-sendable result type 'Sequence.Element?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
55 | await handler(value)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/View+AsyncValue.swift:69:25: warning: non-sendable result type 'Sequence.Element?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
67 | task = Task {
68 | do {
69 | for try await value in sequence {
| `- warning: non-sendable result type 'Sequence.Element?' cannot be sent from nonisolated context in call to instance method 'next()'; this is an error in the Swift 6 language mode
70 | await handler(value)
71 | }
[5/6] Emitting module AsyncValue
[6/6] Compiling AsyncValue ContinuationStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncValue/ContinuationStorage.swift:29:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
27 | func yield(_ value: Value) {
28 | for (_, continuation) in continuations {
29 | 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
30 | }
31 | }
Build complete! (8.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncValue",
"name" : "AsyncValue",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "AsyncValue",
"targets" : [
"AsyncValue"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncValueTests",
"module_type" : "SwiftTarget",
"name" : "AsyncValueTests",
"path" : "Tests/AsyncValueTests",
"sources" : [
"AsyncValueTests.swift"
],
"target_dependencies" : [
"AsyncValue"
],
"type" : "test"
},
{
"c99name" : "AsyncValue",
"module_type" : "SwiftTarget",
"name" : "AsyncValue",
"path" : "Sources/AsyncValue",
"product_memberships" : [
"AsyncValue"
],
"sources" : [
"AsyncValue.swift",
"ContinuationStorage.swift",
"View+AsyncValue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.