This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-google-drive-client with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/swift-google-drive-client.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/darrarski/swift-google-drive-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3ca4874 Merge pull request #23 from darrarski/fix/example-app-preview-client-get-about
Cloned https://github.com/darrarski/swift-google-drive-client.git
Revision (git rev-parse @):
3ca48747bbc4d82fcf68a978c42a6f225d92ea03
SUCCESS checkout https://github.com/darrarski/swift-google-drive-client.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/darrarski/swift-google-drive-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/24] Emitting module GoogleDriveClient
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84: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
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             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
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
_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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:85:15: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 83 |           return AsyncStream {
 84 |             if iterator == nil {
 85 |               iterator = isSignedIn.makeAsyncIterator()
    |               `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 86 |             }
 87 |             return await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:87:26: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
 87 |             return await iterator?.next()
    |                          `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 88 |           }
 89 |         }()
[4/26] Compiling GoogleDriveClient UpdateFileData.swift
[5/26] Compiling GoogleDriveClient User.swift
[6/26] Compiling GoogleDriveClient StorageQuota.swift
[7/26] Compiling GoogleDriveClient UUIDGenerator.swift
[8/26] Compiling GoogleDriveClient HTTPClient.swift
[9/26] Compiling GoogleDriveClient Keychain.swift
[10/26] Compiling GoogleDriveClient GetFile.swift
[11/26] Compiling GoogleDriveClient GetFileData.swift
[12/26] Compiling GoogleDriveClient DeleteFile.swift
[13/26] Compiling GoogleDriveClient File.swift
[14/26] Compiling GoogleDriveClient Credentials.swift
[15/26] Compiling GoogleDriveClient CurrentValueAsyncSequence.swift
[16/26] Compiling GoogleDriveClient DateGenerator.swift
[17/26] Compiling GoogleDriveClient Coding.swift
[18/26] Compiling GoogleDriveClient Config.swift
[19/26] Compiling GoogleDriveClient CreateFile.swift
[20/26] Compiling GoogleDriveClient About.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84: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
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             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
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
_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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:85:15: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 83 |           return AsyncStream {
 84 |             if iterator == nil {
 85 |               iterator = isSignedIn.makeAsyncIterator()
    |               `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 86 |             }
 87 |             return await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:87:26: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
 87 |             return await iterator?.next()
    |                          `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 88 |           }
 89 |         }()
[21/26] Compiling GoogleDriveClient Auth.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84: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
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             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
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
_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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:85:15: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 83 |           return AsyncStream {
 84 |             if iterator == nil {
 85 |               iterator = isSignedIn.makeAsyncIterator()
    |               `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 86 |             }
 87 |             return await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:87:26: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
 87 |             return await iterator?.next()
    |                          `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 88 |           }
 89 |         }()
[22/26] Compiling GoogleDriveClient Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84: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
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             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
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
_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 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:84:16: warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 82 |           var iterator: AsyncStream<Bool>.Iterator?
 83 |           return AsyncStream {
 84 |             if iterator == nil {
    |                `- warning: reference to captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:85:15: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 83 |           return AsyncStream {
 84 |             if iterator == nil {
 85 |               iterator = isSignedIn.makeAsyncIterator()
    |               `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 86 |             }
 87 |             return await iterator?.next()
/Users/admin/builder/spi-builder-workspace/Sources/GoogleDriveClient/Auth.swift:87:26: warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 85 |               iterator = isSignedIn.makeAsyncIterator()
 86 |             }
 87 |             return await iterator?.next()
    |                          `- warning: mutation of captured var 'iterator' in concurrently-executing code; this is an error in the Swift 6 language mode
 88 |           }
 89 |         }()
[23/26] Compiling GoogleDriveClient ListFiles.swift
[24/26] Compiling GoogleDriveClient OpenURL.swift
[25/26] Compiling GoogleDriveClient FilesList.swift
[26/26] Compiling GoogleDriveClient GetAbout.swift
Build complete! (43.34s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-google-drive-client",
  "name" : "swift-google-drive-client",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "GoogleDriveClient",
      "targets" : [
        "GoogleDriveClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoogleDriveClientTests",
      "module_type" : "SwiftTarget",
      "name" : "GoogleDriveClientTests",
      "path" : "Tests/GoogleDriveClientTests",
      "sources" : [
        "ActorIsolated.swift",
        "AuthTests.swift",
        "CreateFileTests.swift",
        "DeleteFileTests.swift",
        "GetAboutTests.swift",
        "GetFileDataTests.swift",
        "GetFileTests.swift",
        "ListFilesTests.swift",
        "TestHelpers.swift",
        "UpdateFileDataTests.swift"
      ],
      "target_dependencies" : [
        "GoogleDriveClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoogleDriveClient",
      "module_type" : "SwiftTarget",
      "name" : "GoogleDriveClient",
      "path" : "Sources/GoogleDriveClient",
      "product_memberships" : [
        "GoogleDriveClient"
      ],
      "sources" : [
        "About.swift",
        "Auth.swift",
        "Client.swift",
        "Coding.swift",
        "Config.swift",
        "CreateFile.swift",
        "Credentials.swift",
        "CurrentValueAsyncSequence.swift",
        "DateGenerator.swift",
        "DeleteFile.swift",
        "File.swift",
        "FilesList.swift",
        "GetAbout.swift",
        "GetFile.swift",
        "GetFileData.swift",
        "HTTPClient.swift",
        "Keychain.swift",
        "ListFiles.swift",
        "OpenURL.swift",
        "StorageQuota.swift",
        "UUIDGenerator.swift",
        "UpdateFileData.swift",
        "User.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.