Build Information
Successful build of AsyncPlus, reference 0.3.2 (ab486f
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 18:04:01 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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/AsyncPlus.git
Reference: 0.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/AsyncPlus
* tag 0.3.2 -> FETCH_HEAD
HEAD is now at ab486f6 Single no-subscription callback (#6)
Cloned https://github.com/richardpiazza/AsyncPlus.git
Revision (git rev-parse @):
ab486f6744539f8814296cc85a7cc317f165dfc0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/richardpiazza/AsyncPlus.git at 0.3.2
========================================
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": "asyncplus",
"name": "AsyncPlus",
"url": "https://github.com/richardpiazza/AsyncPlus.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncPlus",
"dependencies": [
]
}
]
}
Fetching https://github.com/richardpiazza/AsyncPlus.git
[1/124] Fetching asyncplus
Fetched https://github.com/richardpiazza/AsyncPlus.git from cache (0.68s)
Creating working copy for https://github.com/richardpiazza/AsyncPlus.git
Working copy of https://github.com/richardpiazza/AsyncPlus.git resolved at 0.3.2 (ab486f6)
warning: '.resolve-product-dependencies': dependency 'asyncplus' 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/richardpiazza/AsyncPlus.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/9] Compiling AsyncPlus CurrentValueAsyncSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncSubject.swift:52:35: warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
50 |
51 | defer {
52 | sequence.continuation.yield(value)
| |- warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'self.value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
53 | }
54 | #else
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncSubject.swift:83:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | for (_, continuation) in subscriptions {
83 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
84 | }
85 | }
[4/9] Compiling AsyncPlus CurrentValueAsyncThrowingSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:49:35: warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | defer {
49 | sequence.continuation.yield(value)
| |- warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'self.value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
50 | }
51 | #else
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:80:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
78 |
79 | for (_, continuation) in subscriptions {
80 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
81 | }
82 | }
[5/9] Compiling AsyncPlus PassthroughAsyncSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncSubject.swift:68:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
66 |
67 | for (_, continuation) in subscriptions {
68 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
69 | }
70 | }
[6/9] Emitting module AsyncPlus
[7/9] Compiling AsyncPlus PassthroughAsyncThrowingSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncThrowingSequence.swift:22:22: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 | public func yield(_ element: Element) {
22 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 |
[8/9] Compiling AsyncPlus PassthroughAsyncSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncSequence.swift:22:22: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 | public func yield(_ element: Element) {
22 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 |
[9/9] Compiling AsyncPlus PassthroughAsyncThrowingSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncThrowingSubject.swift:65:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
63 |
64 | for (_, continuation) in subscriptions {
65 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
66 | }
67 | }
Build complete! (9.26s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncPlus",
"name" : "AsyncPlus",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "AsyncPlus",
"targets" : [
"AsyncPlus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncPlusTests",
"module_type" : "SwiftTarget",
"name" : "AsyncPlusTests",
"path" : "Tests/AsyncPlusTests",
"sources" : [
"CurrentValueSubjectTests.swift",
"PassthroughSequenceTests.swift",
"PassthroughSubjectTests.swift"
],
"target_dependencies" : [
"AsyncPlus"
],
"type" : "test"
},
{
"c99name" : "AsyncPlus",
"module_type" : "SwiftTarget",
"name" : "AsyncPlus",
"path" : "Sources/AsyncPlus",
"product_memberships" : [
"AsyncPlus"
],
"sources" : [
"CurrentValueAsyncSubject.swift",
"CurrentValueAsyncThrowingSubject.swift",
"PassthroughAsyncSequence.swift",
"PassthroughAsyncSubject.swift",
"PassthroughAsyncThrowingSequence.swift",
"PassthroughAsyncThrowingSubject.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/richardpiazza/asyncplus/0.3.2
Repository: richardpiazza/AsyncPlus
Swift version used: 6.0
Target: AsyncPlus
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'AsyncPlus'...
Finished extracting symbol information for 'AsyncPlus'. (2.80s)
Building documentation for 'AsyncPlus'...
warning: Parameter 'onNoSubscription' not found in initializer declaration
--> Sources/AsyncPlus/CurrentValueAsyncSubject.swift:25:13-25:29
23 | /// - parameters:
24 | /// - value: The initial `Output` that will stored.
25 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Replace 'onNoSubscription' with 'onNoSubscriptions'
26 | public init(_ value: Output, onNoSubscriptions: (() -> Void)? = nil) {
27 | self.value = value
warning: Parameter 'onNoSubscriptions' is missing documentation
--> Sources/AsyncPlus/CurrentValueAsyncSubject.swift:25:101-25:101
23 | /// - parameters:
24 | /// - value: The initial `Output` that will stored.
25 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Document 'onNoSubscriptions' parameter
26 | public init(_ value: Output, onNoSubscriptions: (() -> Void)? = nil) {
27 | self.value = value
warning: Parameter 'onNoSubscription' not found in initializer declaration
--> Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:22:13-22:29
20 | /// - parameters:
21 | /// - value: The initial `Output` that will stored.
22 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Replace 'onNoSubscription' with 'onNoSubscriptions'
23 | public init(_ value: Output, onNoSubscriptions: (() -> Void)? = nil) {
24 | self.value = value
warning: Parameter 'onNoSubscriptions' is missing documentation
--> Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:22:101-22:101
20 | /// - parameters:
21 | /// - value: The initial `Output` that will stored.
22 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Document 'onNoSubscriptions' parameter
23 | public init(_ value: Output, onNoSubscriptions: (() -> Void)? = nil) {
24 | self.value = value
warning: Parameter 'onNoSubscription' not found in initializer declaration
--> Sources/AsyncPlus/PassthroughAsyncSubject.swift:21:13-21:29
19 | ///
20 | /// - parameters:
21 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Replace 'onNoSubscription' with 'onNoSubscriptions'
22 | public init(onNoSubscriptions: (() -> Void)? = nil) {
23 | self.onNoSubscriptions = onNoSubscriptions
warning: Parameter 'onNoSubscriptions' is missing documentation
--> Sources/AsyncPlus/PassthroughAsyncSubject.swift:21:101-21:101
19 | ///
20 | /// - parameters:
21 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Document 'onNoSubscriptions' parameter
22 | public init(onNoSubscriptions: (() -> Void)? = nil) {
23 | self.onNoSubscriptions = onNoSubscriptions
warning: Parameter 'onNoSubscription' not found in initializer declaration
--> Sources/AsyncPlus/PassthroughAsyncThrowingSubject.swift:18:13-18:29
16 | ///
17 | /// - parameters:
18 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Replace 'onNoSubscription' with 'onNoSubscriptions'
19 | public init(onNoSubscriptions: (() -> Void)? = nil) {
20 | self.onNoSubscriptions = onNoSubscriptions
warning: Parameter 'onNoSubscriptions' is missing documentation
--> Sources/AsyncPlus/PassthroughAsyncThrowingSubject.swift:18:101-18:101
16 | ///
17 | /// - parameters:
18 + /// - onNoSubscription: Function executed any time the number of subscribers reaches zero (0).
| ╰─suggestion: Document 'onNoSubscriptions' parameter
19 | public init(onNoSubscriptions: (() -> Void)? = nil) {
20 | self.onNoSubscriptions = onNoSubscriptionsFinished building documentation for 'AsyncPlus' (0.16s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/asyncplus/0.3.2
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.62s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.70s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets Snippet.swift
[8/57] Compiling Snippets SnippetParser.swift
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit Relationship.swift
[11/57] Compiling SymbolKit RelationshipKind.swift
[12/57] Compiling SymbolKit SourceOrigin.swift
[13/57] Compiling SymbolKit GenericConstraints.swift
[14/57] Compiling SymbolKit Swift.swift
[15/57] Compiling SymbolKit Symbol.swift
[16/57] Compiling SymbolKit SymbolKind.swift
[17/57] Compiling SymbolKit SymbolGraph.swift
[18/57] Compiling SymbolKit GraphCollector.swift
[19/57] Compiling SymbolKit DeclarationFragments.swift
[20/57] Compiling SymbolKit Fragment.swift
[21/57] Compiling SymbolKit FragmentKind.swift
[22/57] Compiling SymbolKit FunctionParameter.swift
[23/57] Compiling SymbolKit FunctionSignature.swift
[24/57] Compiling SymbolKit Mixin+Equals.swift
[25/57] Compiling SymbolKit Mixin+Hash.swift
[26/57] Compiling SymbolKit Mixin.swift
[27/57] Compiling SymbolKit LineList.swift
[28/57] Compiling SymbolKit Position.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit GenericConstraint.swift
[35/57] Compiling SymbolKit GenericParameter.swift
[36/57] Compiling SymbolKit Generics.swift
[37/57] Compiling SymbolKit Namespace.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Compiling SymbolKit SemanticVersion.swift
[43/57] Compiling SymbolKit AccessControl.swift
[44/57] Compiling SymbolKit Availability.swift
[45/57] Compiling SymbolKit AvailabilityItem.swift
[46/57] Compiling SymbolKit Domain.swift
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.64s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/8] Compiling AsyncPlus PassthroughAsyncThrowingSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncThrowingSequence.swift:22:22: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 | public func yield(_ element: Element) {
22 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 |
[3/8] Compiling AsyncPlus PassthroughAsyncThrowingSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncThrowingSubject.swift:65:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
63 |
64 | for (_, continuation) in subscriptions {
65 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
66 | }
67 | }
[4/8] Compiling AsyncPlus PassthroughAsyncSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncSubject.swift:68:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
66 |
67 | for (_, continuation) in subscriptions {
68 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
69 | }
70 | }
[5/8] Compiling AsyncPlus PassthroughAsyncSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/PassthroughAsyncSequence.swift:22:22: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 | public func yield(_ element: Element) {
22 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
23 | }
24 |
[6/8] Compiling AsyncPlus CurrentValueAsyncThrowingSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:49:35: warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
47 |
48 | defer {
49 | sequence.continuation.yield(value)
| |- warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'self.value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
50 | }
51 | #else
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncThrowingSubject.swift:80:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
78 |
79 | for (_, continuation) in subscriptions {
80 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
81 | }
82 | }
[7/8] Compiling AsyncPlus CurrentValueAsyncSubject.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncSubject.swift:52:35: warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
50 |
51 | defer {
52 | sequence.continuation.yield(value)
| |- warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'self.value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
53 | }
54 | #else
/Users/admin/builder/spi-builder-workspace/Sources/AsyncPlus/CurrentValueAsyncSubject.swift:83:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
81 |
82 | for (_, continuation) in subscriptions {
83 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'self'-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later 'self'-isolated uses
84 | }
85 | }
[8/8] Emitting module AsyncPlus
Build of target: 'AsyncPlus' complete! (0.67s)
270
3 /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/asyncplus/0.3.2
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/richardpiazza/asyncplus/0.3.2
File count: 270
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-asyncplus-0.3.2-15e86371.zip to s3://spi-docs-inbox/prod-richardpiazza-asyncplus-0.3.2-15e86371.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [55%]
Copying... [66%]
Copying... [77%]
Copying... [88%]
Copying... [98%]
Copying... [100%]
Done.