Build Information
Successful build of swift-dropbox-client, reference v0.8.1 (b7871d
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 09:05:23 UTC.
Swift 6 data race errors: 4
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/darrarski/swift-dropbox-client.git
Reference: v0.8.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrarski/swift-dropbox-client
* tag v0.8.1 -> FETCH_HEAD
HEAD is now at b7871de Merge pull request #10 from darrarski/fix/metadata-model
Cloned https://github.com/darrarski/swift-dropbox-client.git
Revision (git rev-parse @):
b7871defa289f636baedc61b4b45af9c13888ea4
SUCCESS checkout https://github.com/darrarski/swift-dropbox-client.git at v0.8.1
========================================
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": "swift-dropbox-client",
"name": "swift-dropbox-client",
"url": "https://github.com/darrarski/swift-dropbox-client.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-dropbox-client",
"dependencies": [
]
}
]
}
Fetching https://github.com/darrarski/swift-dropbox-client.git
[1/296] Fetching swift-dropbox-client
Fetched https://github.com/darrarski/swift-dropbox-client.git from cache (0.73s)
Creating working copy for https://github.com/darrarski/swift-dropbox-client.git
Working copy of https://github.com/darrarski/swift-dropbox-client.git resolved at v0.8.1 (b7871de)
warning: '.resolve-product-dependencies': dependency 'swift-dropbox-client' 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/darrarski/swift-dropbox-client.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/21] Compiling DropboxClient ListFolder.swift
[4/21] Compiling DropboxClient Metadata.swift
[5/22] Compiling DropboxClient DeleteFile.swift
[6/22] Compiling DropboxClient DownloadFile.swift
[7/22] Compiling DropboxClient Client.swift
[8/22] Compiling DropboxClient Coding.swift
[9/22] Emitting module DropboxClient
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:81:16: warning: capture of 'iterator' with non-sendable type 'AsyncStream<Bool>.Iterator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | var iterator: AsyncStream<Bool>.Iterator?
80 | return AsyncStream {
81 | if iterator == nil {
| `- warning: capture of 'iterator' with non-sendable type 'AsyncStream<Bool>.Iterator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
_Concurrency.AsyncStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension AsyncStream : AsyncSequence {
3 | public struct Iterator : AsyncIteratorProtocol {
| `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
4 | public mutating func next() async -> Element?
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:81:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | var iterator: AsyncStream<Bool>.Iterator?
80 | return AsyncStream {
81 | if iterator == nil {
| `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:82:15: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
80 | return AsyncStream {
81 | if iterator == nil {
82 | iterator = isSignedIn.makeAsyncIterator()
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
83 | }
84 | return await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:84:26: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
84 | return await iterator?.next()
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
85 | }
86 | }()
[10/22] Compiling DropboxClient HTTPClient.swift
[11/22] Compiling DropboxClient Keychain.swift
[12/22] Compiling DropboxClient Config.swift
[13/22] Compiling DropboxClient Credentials.swift
[14/22] Compiling DropboxClient UploadFile.swift
[15/22] Compiling DropboxClient FileMetadata.swift
[16/22] Compiling DropboxClient GetMetadata.swift
[17/22] Compiling DropboxClient CurrentValueAsyncSequence.swift
[18/22] Compiling DropboxClient DateGenerator.swift
[19/22] Compiling DropboxClient ActorIsolated.swift
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:81:16: warning: capture of 'iterator' with non-sendable type 'AsyncStream<Bool>.Iterator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | var iterator: AsyncStream<Bool>.Iterator?
80 | return AsyncStream {
81 | if iterator == nil {
| `- warning: capture of 'iterator' with non-sendable type 'AsyncStream<Bool>.Iterator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
_Concurrency.AsyncStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension AsyncStream : AsyncSequence {
3 | public struct Iterator : AsyncIteratorProtocol {
| `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
4 | public mutating func next() async -> Element?
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:81:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | var iterator: AsyncStream<Bool>.Iterator?
80 | return AsyncStream {
81 | if iterator == nil {
| `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:82:15: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
80 | return AsyncStream {
81 | if iterator == nil {
82 | iterator = isSignedIn.makeAsyncIterator()
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
83 | }
84 | return await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:84:26: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
84 | return await iterator?.next()
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
85 | }
86 | }()
[20/22] Compiling DropboxClient Auth.swift
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:81:16: warning: capture of 'iterator' with non-sendable type 'AsyncStream<Bool>.Iterator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
79 | var iterator: AsyncStream<Bool>.Iterator?
80 | return AsyncStream {
81 | if iterator == nil {
| `- warning: capture of 'iterator' with non-sendable type 'AsyncStream<Bool>.Iterator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
_Concurrency.AsyncStream:3:19: note: struct 'Iterator' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | extension AsyncStream : AsyncSequence {
3 | public struct Iterator : AsyncIteratorProtocol {
| `- note: struct 'Iterator' does not conform to the 'Sendable' protocol
4 | public mutating func next() async -> Element?
5 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:81:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
79 | var iterator: AsyncStream<Bool>.Iterator?
80 | return AsyncStream {
81 | if iterator == nil {
| `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:82:15: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
80 | return AsyncStream {
81 | if iterator == nil {
82 | iterator = isSignedIn.makeAsyncIterator()
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
83 | }
84 | return await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/DropboxClient/Auth.swift:84:26: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
82 | iterator = isSignedIn.makeAsyncIterator()
83 | }
84 | return await iterator?.next()
| `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
85 | }
86 | }()
[21/22] Compiling DropboxClient OpenURL.swift
[22/22] Compiling DropboxClient PKCEUtils.swift
Build complete! (22.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-dropbox-client",
"name" : "swift-dropbox-client",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DropboxClient",
"targets" : [
"DropboxClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DropboxClientTests",
"module_type" : "SwiftTarget",
"name" : "DropboxClientTests",
"path" : "Tests/DropboxClientTests",
"sources" : [
"AuthTests.swift",
"DeleteFileTests.swift",
"DownloadFileTests.swift",
"GetMetadataTests.swift",
"ListFolderTests.swift",
"TestHelpers.swift",
"UploadFileTests.swift"
],
"target_dependencies" : [
"DropboxClient"
],
"type" : "test"
},
{
"c99name" : "DropboxClient",
"module_type" : "SwiftTarget",
"name" : "DropboxClient",
"path" : "Sources/DropboxClient",
"product_memberships" : [
"DropboxClient"
],
"sources" : [
"ActorIsolated.swift",
"Auth.swift",
"Client.swift",
"Coding.swift",
"Config.swift",
"Credentials.swift",
"CurrentValueAsyncSequence.swift",
"DateGenerator.swift",
"DeleteFile.swift",
"DownloadFile.swift",
"FileMetadata.swift",
"GetMetadata.swift",
"HTTPClient.swift",
"Keychain.swift",
"ListFolder.swift",
"Metadata.swift",
"OpenURL.swift",
"PKCEUtils.swift",
"UploadFile.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.