Build Information
Successful build of AsyncPlus, reference main (ab486f
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 18:03:56 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/AsyncPlus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 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": "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.70s)
Creating working copy for https://github.com/richardpiazza/AsyncPlus.git
Working copy of https://github.com/richardpiazza/AsyncPlus.git resolved at main (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] Emitting module AsyncPlus
[4/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 | }
[5/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 |
[6/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 | }
[7/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 | }
[8/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 | }
[9/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 |
Build complete! (9.13s)
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/main
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.82s)
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.18s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/asyncplus/main
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.52s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.69s)
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.49s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
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
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
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit Mixin+Equals.swift
[7/53] Compiling SymbolKit Mixin+Hash.swift
[8/53] Compiling SymbolKit Mixin.swift
[9/53] Compiling SymbolKit LineList.swift
[10/53] Compiling SymbolKit Position.swift
[11/57] Compiling Snippets SnippetParser.swift
[12/57] Compiling Snippets Snippet.swift
[13/57] Emitting module Snippets
[14/57] Compiling SymbolKit DeclarationFragments.swift
[15/57] Compiling SymbolKit Fragment.swift
[16/57] Compiling SymbolKit FragmentKind.swift
[17/57] Compiling SymbolKit FunctionParameter.swift
[18/57] Compiling SymbolKit FunctionSignature.swift
[19/57] Compiling SymbolKit Names.swift
[20/57] Compiling SymbolKit SPI.swift
[21/57] Compiling SymbolKit Snippet.swift
[22/57] Compiling SymbolKit Extension.swift
[23/57] Compiling SymbolKit Identifier.swift
[24/57] Compiling SymbolKit KindIdentifier.swift
[25/57] Compiling SymbolKit Location.swift
[26/57] Compiling SymbolKit Mutability.swift
[27/57] Emitting module SymbolKit
[28/57] Compiling SymbolKit SemanticVersion.swift
[29/57] Compiling SymbolKit AccessControl.swift
[30/57] Compiling SymbolKit Availability.swift
[31/57] Compiling SymbolKit AvailabilityItem.swift
[32/57] Compiling SymbolKit Domain.swift
[33/57] Compiling SymbolKit GenericConstraint.swift
[34/57] Compiling SymbolKit GenericParameter.swift
[35/57] Compiling SymbolKit Generics.swift
[36/57] Compiling SymbolKit Namespace.swift
[37/57] Compiling SymbolKit SourceRange.swift
[38/57] Compiling SymbolKit Metadata.swift
[39/57] Compiling SymbolKit Module.swift
[40/57] Compiling SymbolKit OperatingSystem.swift
[41/57] Compiling SymbolKit Platform.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.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 URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.58s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/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 |
[3/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 | }
[4/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 | }
[5/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 | }
[6/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 | }
[7/8] Emitting module AsyncPlus
[8/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 |
Build of target: 'AsyncPlus' complete! (0.66s)
270
3 /Users/admin/builder/spi-builder-workspace/.docs/richardpiazza/asyncplus/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/richardpiazza/asyncplus/main
File count: 270
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-richardpiazza-asyncplus-main-5139259e.zip to s3://spi-docs-inbox/prod-richardpiazza-asyncplus-main-5139259e.zip
Copying... [11%]
Copying... [22%]
Copying... [33%]
Copying... [44%]
Copying... [55%]
Copying... [66%]
Copying... [77%]
Copying... [88%]
Copying... [99%]
Copying... [100%]
Done.