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 AwaitKit, reference master (4b725f), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 04:57:11 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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannickl/AwaitKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yannickl/AwaitKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4b725f4 Support Swift 5.5 / Xcode 13 (#57)
Submodule path 'Carthage/Checkouts/PromiseKit': checked out '2fdb8c64a85e2081388532dbc61eb348a0793b1c'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/AVFoundation': checked out '01d017f16af7eba44e2449b82be4edf622a51911'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Accounts': checked out 'd88db0c2879121092d8c0c6e66b7a2b6850d2566'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/AddressBook': checked out '3007c291833a5d8da161f517e2b6ae1f913b707c'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Alamofire': checked out '15a5ab2c243b73d875040897c56fa4f3f339808f'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/AssetsLibrary': checked out '89c257567c9b348bac420989c41cfba3b7866100'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Bolts': checked out '9c152ff6bc181b6b7c0717064fa5f7b092a61d29'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/CloudKit': checked out 'a7f5f069477173bec1764744c67ca480e4dd024d'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/CoreBluetooth': checked out '8e0bc957996daad5c49f8809839f8699883ed364'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/CoreLocation': checked out 'dd61fa106a62c848217dc7ca0d36736bf37d7b81'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/EventKit': checked out '66656636dbd680142c7a7ba6b52288eb5b006509'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Foundation': checked out '0a59b0d89f469979aecacdf9046df14f99d1cc6b'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/HealthKit': checked out 'd77186d5024a6e6233371325aadd19ff33ab8def'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/HomeKit': checked out 'f5202f792209d659f62d6dccdb7adcb6dbb67343'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/MapKit': checked out 'd9bbe29f45cf02e1aa2230fd4a7d1e0faa1f7700'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/MessagesUI': checked out '5f4e4cb68dc371863b81ae27f82614161688ee89'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/OMGHTTPURLRQ': checked out '5ec40a68f168255dcc339b9620e2dcf62079ae6b'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Photos': checked out '91bcb703d3663ce0064853362f95c14efbacd598'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/QuartzCore': checked out '7874df265f7e7333d72ea9245021b38efb0e22cd'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/Social': checked out '22c63c97972c887f5274815e7cf7d6c61264a8b4'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/StoreKit': checked out 'b9bcc9bf9a17869c2648c1d713e316dcce75be40'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/SystemConfiguration': checked out '93a0f1f746325be62de519f029422173f09e5bc3'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/UIKit': checked out '98810ca1d49877e81fc54f40afd8bad2df080397'
Submodule path 'Carthage/Checkouts/PromiseKit/Extensions/WatchConnectivity': checked out '80f20fdec347e4f0ead1dc366432b012ef3ae1bc'
Submodule 'Carthage/Checkouts/PromiseKit' (https://github.com/mxcl/PromiseKit.git) registered for path 'Carthage/Checkouts/PromiseKit'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit'...
Submodule 'Extensions/AVFoundation' (https://github.com/PromiseKit/AVFoundation) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/AVFoundation'
Submodule 'Extensions/Accounts' (https://github.com/PromiseKit/Accounts.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Accounts'
Submodule 'Extensions/AddressBook' (https://github.com/PromiseKit/AddressBook.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/AddressBook'
Submodule 'Extensions/Alamofire' (https://github.com/PromiseKit/Alamofire) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Alamofire'
Submodule 'Extensions/AssetsLibrary' (https://github.com/PromiseKit/AssetsLibrary.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/AssetsLibrary'
Submodule 'Extensions/Bolts' (https://github.com/PromiseKit/Bolts.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Bolts'
Submodule 'Extensions/CloudKit' (https://github.com/PromiseKit/CloudKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/CloudKit'
Submodule 'Extensions/CoreBluetooth' (https://github.com/PromiseKit/CoreBluetooth.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/CoreBluetooth'
Submodule 'Extensions/CoreLocation' (https://github.com/PromiseKit/CoreLocation.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/CoreLocation'
Submodule 'Extensions/EventKit' (https://github.com/PromiseKit/EventKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/EventKit'
Submodule 'Extensions/Foundation' (https://github.com/PromiseKit/Foundation.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Foundation'
Submodule 'Extensions/HealthKit' (https://github.com/PromiseKit/PMKHealthKit) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/HealthKit'
Submodule 'Extensions/HomeKit' (https://github.com/PromiseKit/HomeKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/HomeKit'
Submodule 'Extensions/MapKit' (https://github.com/PromiseKit/MapKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/MapKit'
Submodule 'Extensions/MessagesUI' (https://github.com/PromiseKit/MessagesUI.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/MessagesUI'
Submodule 'Extensions/OMGHTTPURLRQ' (https://github.com/PromiseKit/OMGHTTPURLRQ) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/OMGHTTPURLRQ'
Submodule 'Extensions/Photos' (https://github.com/PromiseKit/Photos.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Photos'
Submodule 'Extensions/QuartzCore' (https://github.com/PromiseKit/QuartzCore.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/QuartzCore'
Submodule 'Extensions/Social' (https://github.com/PromiseKit/Social.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/Social'
Submodule 'Extensions/StoreKit' (https://github.com/PromiseKit/StoreKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/StoreKit'
Submodule 'Extensions/SystemConfiguration' (https://github.com/PromiseKit/SystemConfiguration) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/SystemConfiguration'
Submodule 'Extensions/UIKit' (https://github.com/PromiseKit/UIKit.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/UIKit'
Submodule 'Extensions/WatchConnectivity' (https://github.com/PromiseKit/WatchConnectivity.git) registered for path 'Carthage/Checkouts/PromiseKit/Extensions/WatchConnectivity'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/AVFoundation'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Accounts'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/AddressBook'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Alamofire'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/AssetsLibrary'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Bolts'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/CloudKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/CoreBluetooth'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/CoreLocation'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/EventKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Foundation'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/HealthKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/HomeKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/MapKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/MessagesUI'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/OMGHTTPURLRQ'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Photos'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/QuartzCore'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/Social'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/StoreKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/SystemConfiguration'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/UIKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/PromiseKit/Extensions/WatchConnectivity'...
Cloned https://github.com/yannickl/AwaitKit.git
Revision (git rev-parse @):
4b725f40dd189f40c0962cba792f06a2073bd977
SUCCESS checkout https://github.com/yannickl/AwaitKit.git at master
Fetching https://github.com/mxcl/PromiseKit.git
[1/17137] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (4.79s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.10.0 (2.32s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.10.0
========================================
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": "awaitkit",
      "name": "AwaitKit",
      "url": "https://github.com/yannickl/AwaitKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AwaitKit",
      "dependencies": [
        {
          "identity": "promisekit",
          "name": "PromiseKit",
          "url": "https://github.com/mxcl/PromiseKit.git",
          "version": "6.22.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PromiseKit",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/yannickl/AwaitKit.git
[1/1153] Fetching awaitkit
Fetched https://github.com/yannickl/AwaitKit.git from cache (0.87s)
Fetching https://github.com/mxcl/PromiseKit.git from cache
Fetched https://github.com/mxcl/PromiseKit.git from cache (0.57s)
Computing version for https://github.com/mxcl/PromiseKit.git
Computed https://github.com/mxcl/PromiseKit.git at 6.22.1 (0.59s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 6.22.1
Creating working copy for https://github.com/yannickl/AwaitKit.git
Working copy of https://github.com/yannickl/AwaitKit.git resolved at master (4b725f4)
warning: '.resolve-product-dependencies': dependency 'awaitkit' is not used by any target
Found 1 product dependencies
  - PromiseKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/yannickl/AwaitKit.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 -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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/18] Compiling PromiseKit firstly.swift
[5/19] Compiling PromiseKit hang.swift
[6/19] Compiling PromiseKit race.swift
[7/19] Compiling PromiseKit Box.swift
[8/19] Compiling PromiseKit Catchable.swift
[9/19] Compiling PromiseKit Resolver.swift
[10/19] Compiling PromiseKit Thenable.swift
[11/19] Compiling PromiseKit after.swift
[12/19] Compiling PromiseKit LogEvent.swift
[13/19] Compiling PromiseKit Promise.swift
[14/19] Compiling PromiseKit Configuration.swift
[15/19] Compiling PromiseKit CustomStringConvertible.swift
[16/19] Compiling PromiseKit Error.swift
[17/19] Compiling PromiseKit Guarantee.swift
[18/19] Emitting module PromiseKit
[19/19] Compiling PromiseKit when.swift
[20/24] Compiling AwaitKit DispatchQueue+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/AwaitKit/DispatchQueue+Async.swift:39:42: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
36 |    - Returns: A new promise that is resolved when the provided closure returned.
37 |    */
38 |   public final func async<T>(_ body: @escaping () throws -> T) -> Promise<T> {
   |                                `- note: parameter 'body' is implicitly non-sendable
39 |     return base.async(.promise, execute: body)
   |                                          `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
40 |   }
41 |
[21/24] Compiling AwaitKit DispatchQueue+Await.swift
/Users/admin/builder/spi-builder-workspace/Sources/AwaitKit/DispatchQueue+Await.swift:42:54: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 39 |    */
 40 |   @discardableResult
 41 |   public final func await<T>(_ body: @escaping () throws -> T) throws -> T {
    |                                `- note: parameter 'body' is implicitly non-sendable
 42 |     let promise = self.base.async(.promise, execute: body)
    |                                                      `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 43 |
 44 |     return try `await`(promise)
[22/24] Compiling AwaitKit AwaitKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/AwaitKit/AwaitKit.swift:43:47: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
40 |  - returns: A new promise that is resolved when the provided closure returned.
41 |  */
42 | public func async<T>(_ body: @escaping () throws -> T) -> Promise<T> {
   |                        `- note: parameter 'body' is implicitly non-sendable
43 |   return Queue.async.async(.promise, execute: body)
   |                                               `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
44 | }
45 |
[23/24] Emitting module AwaitKit
[24/24] Compiling AwaitKit AwaitKitExtension.swift
Build complete! (12.36s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.10.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit.git"
    }
  ],
  "manifest_display_name" : "AwaitKit",
  "name" : "AwaitKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AwaitKit",
      "targets" : [
        "AwaitKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AwaitKitTests",
      "module_type" : "SwiftTarget",
      "name" : "AwaitKitTests",
      "path" : "Tests/AwaitKitTests",
      "sources" : [
        "AwaitKitAsyncTests.swift",
        "AwaitKitAwaitTests.swift",
        "AwaitKitTests.swift"
      ],
      "target_dependencies" : [
        "AwaitKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AwaitKit",
      "module_type" : "SwiftTarget",
      "name" : "AwaitKit",
      "path" : "Sources/AwaitKit",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "product_memberships" : [
        "AwaitKit"
      ],
      "sources" : [
        "AwaitKit.swift",
        "AwaitKitExtension.swift",
        "DispatchQueue+Async.swift",
        "DispatchQueue+Await.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.