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 PromiseKit, reference 8.2.0 (2bc443), with Swift 6.0 for macOS (SPM) on 17 Jan 2025 02:23:05 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/PromiseKit.git
Reference: 8.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mxcl/PromiseKit
 * tag               8.2.0      -> FETCH_HEAD
HEAD is now at 2bc4439 v8.2.0
Submodule path 'Extensions/AVFoundation': checked out '911b257783efc0aa705481d556c8ecdfcdc055a9'
Submodule path 'Extensions/Accounts': checked out '6c01f5719ff08bbbf81d42b7e20c5188cab4a81d'
Submodule path 'Extensions/AddressBook': checked out 'c694fa0628a96951c6e2db113dc4eb6dd4e47ebc'
Submodule path 'Extensions/Alamofire': checked out 'a41a97d3d3aa6efb575d0f42f3b8aeec5a756ead'
Submodule path 'Extensions/AssetsLibrary': checked out 'e4317d5279db7ecfc5bc565e1dd88fcabc02c352'
Submodule path 'Extensions/Bolts': checked out 'fbc9941219c9bbdfe6d664ca6b8d10b5e2f8fb70'
Submodule path 'Extensions/CloudKit': checked out '9586f3c06c4934e776c2b96c128f332a168c2c91'
Submodule path 'Extensions/CoreBluetooth': checked out '8e0bc957996daad5c49f8809839f8699883ed364'
Submodule path 'Extensions/CoreLocation': checked out 'c4ea4dba6e0516986b3cb1d93c86f6991ce46861'
Submodule path 'Extensions/EventKit': checked out '1f90d67538047087428d82550976c2e43aba0961'
Submodule path 'Extensions/Foundation': checked out '1a276e598dac59489ed904887e0740fa75e571e0'
Submodule path 'Extensions/HealthKit': checked out 'b185822cb1fcf5297347498b783b4e21b2e55282'
Submodule path 'Extensions/HomeKit': checked out '668abe78a52a23bd276c8924dba91592ac0ca45a'
Submodule path 'Extensions/MapKit': checked out 'd1d4ebdd6ceac78d734e2ae27e8ab429906d6929'
Submodule path 'Extensions/MessagesUI': checked out '2a93ce737502e13a3eaedc444b9ecb5abb28ec79'
Submodule path 'Extensions/OMGHTTPURLRQ': checked out '5ec40a68f168255dcc339b9620e2dcf62079ae6b'
Submodule path 'Extensions/Photos': checked out '48f801454b01c69a1553873cb1d95e90ae2ec4cc'
Submodule path 'Extensions/QuartzCore': checked out 'b22f187b6b3f82f102aa309b256bf24570a73d1f'
Submodule path 'Extensions/Social': checked out '378912a47a206183b931d2008e0f396e9fc390e8'
Submodule path 'Extensions/StoreKit': checked out 'e26f6a55921ea671855093754686991b08ef97cc'
Submodule path 'Extensions/SystemConfiguration': checked out '6b009f906fc489346a73759b5668b263a320c51c'
Submodule path 'Extensions/UIKit': checked out 'baf104ba29ff94d9d41e90e8ec557a56b87fecd4'
Submodule path 'Extensions/WatchConnectivity': checked out 'b5b3fca958a7296f71313b6c172584bc91d6da8b'
Submodule 'Extensions/AVFoundation' (https://github.com/PromiseKit/AVFoundation) registered for path 'Extensions/AVFoundation'
Submodule 'Extensions/Accounts' (https://github.com/PromiseKit/Accounts.git) registered for path 'Extensions/Accounts'
Submodule 'Extensions/AddressBook' (https://github.com/PromiseKit/AddressBook.git) registered for path 'Extensions/AddressBook'
Submodule 'Extensions/Alamofire' (https://github.com/PromiseKit/Alamofire) registered for path 'Extensions/Alamofire'
Submodule 'Extensions/AssetsLibrary' (https://github.com/PromiseKit/AssetsLibrary.git) registered for path 'Extensions/AssetsLibrary'
Submodule 'Extensions/Bolts' (https://github.com/PromiseKit/Bolts.git) registered for path 'Extensions/Bolts'
Submodule 'Extensions/CloudKit' (https://github.com/PromiseKit/CloudKit.git) registered for path 'Extensions/CloudKit'
Submodule 'Extensions/CoreBluetooth' (https://github.com/PromiseKit/CoreBluetooth.git) registered for path 'Extensions/CoreBluetooth'
Submodule 'Extensions/CoreLocation' (https://github.com/PromiseKit/CoreLocation.git) registered for path 'Extensions/CoreLocation'
Submodule 'Extensions/EventKit' (https://github.com/PromiseKit/EventKit.git) registered for path 'Extensions/EventKit'
Submodule 'Extensions/Foundation' (https://github.com/PromiseKit/Foundation.git) registered for path 'Extensions/Foundation'
Submodule 'Extensions/HealthKit' (https://github.com/PromiseKit/PMKHealthKit) registered for path 'Extensions/HealthKit'
Submodule 'Extensions/HomeKit' (https://github.com/PromiseKit/HomeKit.git) registered for path 'Extensions/HomeKit'
Submodule 'Extensions/MapKit' (https://github.com/PromiseKit/MapKit.git) registered for path 'Extensions/MapKit'
Submodule 'Extensions/MessagesUI' (https://github.com/PromiseKit/MessagesUI.git) registered for path 'Extensions/MessagesUI'
Submodule 'Extensions/OMGHTTPURLRQ' (https://github.com/PromiseKit/OMGHTTPURLRQ) registered for path 'Extensions/OMGHTTPURLRQ'
Submodule 'Extensions/Photos' (https://github.com/PromiseKit/Photos.git) registered for path 'Extensions/Photos'
Submodule 'Extensions/QuartzCore' (https://github.com/PromiseKit/QuartzCore.git) registered for path 'Extensions/QuartzCore'
Submodule 'Extensions/Social' (https://github.com/PromiseKit/Social.git) registered for path 'Extensions/Social'
Submodule 'Extensions/StoreKit' (https://github.com/PromiseKit/StoreKit.git) registered for path 'Extensions/StoreKit'
Submodule 'Extensions/SystemConfiguration' (https://github.com/PromiseKit/SystemConfiguration) registered for path 'Extensions/SystemConfiguration'
Submodule 'Extensions/UIKit' (https://github.com/PromiseKit/UIKit.git) registered for path 'Extensions/UIKit'
Submodule 'Extensions/WatchConnectivity' (https://github.com/PromiseKit/WatchConnectivity.git) registered for path 'Extensions/WatchConnectivity'
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/AVFoundation'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/Accounts'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/AddressBook'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/Alamofire'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/AssetsLibrary'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/Bolts'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/CloudKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/CoreBluetooth'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/CoreLocation'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/EventKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/Foundation'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/HealthKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/HomeKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/MapKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/MessagesUI'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/OMGHTTPURLRQ'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/Photos'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/QuartzCore'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/Social'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/StoreKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/SystemConfiguration'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/UIKit'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Extensions/WatchConnectivity'...
Cloned https://github.com/mxcl/PromiseKit.git
Revision (git rev-parse @):
2bc44395edb4f8391902a9ff7c220471882a4d07
SUCCESS checkout https://github.com/mxcl/PromiseKit.git at 8.2.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": "promisekit",
      "name": "PromiseKit",
      "url": "https://github.com/mxcl/PromiseKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PromiseKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mxcl/PromiseKit.git
[1/17187] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit.git from cache (1.78s)
Creating working copy for https://github.com/mxcl/PromiseKit.git
Working copy of https://github.com/mxcl/PromiseKit.git resolved at 8.2.0 (2bc4439)
warning: '.resolve-product-dependencies': dependency 'promisekit' 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/mxcl/PromiseKit.git
https://github.com/mxcl/PromiseKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PromiseKit",
  "name" : "PromiseKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "PromiseKit",
      "targets" : [
        "PromiseKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PromiseKit",
      "module_type" : "SwiftTarget",
      "name" : "PromiseKit",
      "path" : "Sources",
      "product_memberships" : [
        "PromiseKit"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Async.swift",
        "Box.swift",
        "Catchable.swift",
        "Combine.swift",
        "Configuration.swift",
        "CustomStringConvertible.swift",
        "Error.swift",
        "Guarantee.swift",
        "LogEvent.swift",
        "Promise.swift",
        "Resolver.swift",
        "Thenable.swift",
        "after.swift",
        "firstly.swift",
        "hang.swift",
        "race.swift",
        "when.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CorePromise",
      "module_type" : "SwiftTarget",
      "name" : "CorePromise",
      "path" : "Tests/CorePromise",
      "sources" : [
        "AfterTests.swift",
        "AsyncTests.swift",
        "CancellableErrorTests.swift",
        "CatchableTests.swift",
        "CombineTests.swift",
        "DefaultDispatchQueueTests.swift",
        "ErrorTests.swift",
        "GuaranteeTests.swift",
        "HangTests.swift",
        "LoggingTests.swift",
        "PromiseTests.swift",
        "RaceTests.swift",
        "RegressionTests.swift",
        "ResolverTests.swift",
        "StressTests.swift",
        "ThenableTests.swift",
        "Utilities.swift",
        "WhenConcurrentTests.swift",
        "WhenResolvedTests.swift",
        "WhenTests.swift",
        "XCTestManifests.swift",
        "ZalgoTests.swift"
      ],
      "target_dependencies" : [
        "PromiseKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APlus",
      "module_type" : "SwiftTarget",
      "name" : "APlus",
      "path" : "Tests/A+",
      "sources" : [
        "0.0.0.swift",
        "2.1.2.swift",
        "2.1.3.swift",
        "2.2.2.swift",
        "2.2.3.swift",
        "2.2.4.swift",
        "2.2.6.swift",
        "2.2.7.swift",
        "2.3.1.swift",
        "2.3.2.swift",
        "2.3.4.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PromiseKit"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-5BDAB9E9C0126B9D.txt
[4/21] Compiling PromiseKit when.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[5/21] Compiling PromiseKit Resolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[6/21] Compiling PromiseKit Thenable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[7/22] Compiling PromiseKit hang.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[8/22] Compiling PromiseKit race.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[9/22] Compiling PromiseKit after.swift
/Users/admin/builder/spi-builder-workspace/Sources/after.swift:15:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
13 |     let when = DispatchTime.now() + seconds
14 | #if swift(>=4.0)
15 |     q.asyncAfter(deadline: when) { seal(()) }
   |                                    |- warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 | #else
17 |     q.asyncAfter(deadline: when, execute: seal)
/Users/admin/builder/spi-builder-workspace/Sources/after.swift:33:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
31 |     let when = DispatchTime.now() + interval
32 | #if swift(>=4.0)
33 |     q.asyncAfter(deadline: when) { seal(()) }
   |                                    |- warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | #else
35 |     q.asyncAfter(deadline: when, execute: seal)
[10/22] Compiling PromiseKit firstly.swift
/Users/admin/builder/spi-builder-workspace/Sources/after.swift:15:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
13 |     let when = DispatchTime.now() + seconds
14 | #if swift(>=4.0)
15 |     q.asyncAfter(deadline: when) { seal(()) }
   |                                    |- warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 | #else
17 |     q.asyncAfter(deadline: when, execute: seal)
/Users/admin/builder/spi-builder-workspace/Sources/after.swift:33:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
31 |     let when = DispatchTime.now() + interval
32 | #if swift(>=4.0)
33 |     q.asyncAfter(deadline: when) { seal(()) }
   |                                    |- warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a `@Sendable` closure
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | #else
35 |     q.asyncAfter(deadline: when, execute: seal)
[11/22] Compiling PromiseKit Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:24:10: warning: associated value 'flatMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 22 |     /// `nil` was returned from `flatMap`
 23 |     @available(*, deprecated, message: "See: `compactMap`")
 24 |     case flatMap(Any, Any.Type)
    |          `- warning: associated value 'flatMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 25 |
 26 |     /// `nil` was returned from `compactMap`
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:27:10: warning: associated value 'compactMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 25 |
 26 |     /// `nil` was returned from `compactMap`
 27 |     case compactMap(Any, Any.Type)
    |          `- warning: associated value 'compactMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 28 |
 29 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Guarantee.swift:374:13: warning: capture of 'rg' with non-sendable type 'Guarantee<T>' in a `@Sendable` closure
  6 |  - See: `Thenable`
  7 | */
  8 | public final class Guarantee<T>: Thenable {
    |                    `- note: generic class 'Guarantee' does not conform to the 'Sendable' protocol
  9 |     let box: PromiseKit.Box<T>
 10 |
    :
372 |         let rg = Guarantee<T>(.pending)
373 |         async(group: group, qos: qos, flags: flags) {
374 |             rg.box.seal(body())
    |             `- warning: capture of 'rg' with non-sendable type 'Guarantee<T>' in a `@Sendable` closure
375 |         }
376 |         return rg
/Users/admin/builder/spi-builder-workspace/Sources/Guarantee.swift:374:25: warning: capture of 'body' with non-sendable type '() -> T' in a `@Sendable` closure
372 |         let rg = Guarantee<T>(.pending)
373 |         async(group: group, qos: qos, flags: flags) {
374 |             rg.box.seal(body())
    |                         |- warning: capture of 'body' with non-sendable type '() -> T' in a `@Sendable` closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
375 |         }
376 |         return rg
[12/22] Compiling PromiseKit Guarantee.swift
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:24:10: warning: associated value 'flatMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 22 |     /// `nil` was returned from `flatMap`
 23 |     @available(*, deprecated, message: "See: `compactMap`")
 24 |     case flatMap(Any, Any.Type)
    |          `- warning: associated value 'flatMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 25 |
 26 |     /// `nil` was returned from `compactMap`
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:27:10: warning: associated value 'compactMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 25 |
 26 |     /// `nil` was returned from `compactMap`
 27 |     case compactMap(Any, Any.Type)
    |          `- warning: associated value 'compactMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 28 |
 29 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Guarantee.swift:374:13: warning: capture of 'rg' with non-sendable type 'Guarantee<T>' in a `@Sendable` closure
  6 |  - See: `Thenable`
  7 | */
  8 | public final class Guarantee<T>: Thenable {
    |                    `- note: generic class 'Guarantee' does not conform to the 'Sendable' protocol
  9 |     let box: PromiseKit.Box<T>
 10 |
    :
372 |         let rg = Guarantee<T>(.pending)
373 |         async(group: group, qos: qos, flags: flags) {
374 |             rg.box.seal(body())
    |             `- warning: capture of 'rg' with non-sendable type 'Guarantee<T>' in a `@Sendable` closure
375 |         }
376 |         return rg
/Users/admin/builder/spi-builder-workspace/Sources/Guarantee.swift:374:25: warning: capture of 'body' with non-sendable type '() -> T' in a `@Sendable` closure
372 |         let rg = Guarantee<T>(.pending)
373 |         async(group: group, qos: qos, flags: flags) {
374 |             rg.box.seal(body())
    |                         |- warning: capture of 'body' with non-sendable type '() -> T' in a `@Sendable` closure
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
375 |         }
376 |         return rg
[13/22] Compiling PromiseKit Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[14/22] Compiling PromiseKit CustomStringConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[15/22] Compiling PromiseKit Catchable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[16/22] Compiling PromiseKit Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[17/22] Compiling PromiseKit Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Box.swift:95:48: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 87 | extension Optional where Wrapped: DispatchQueue {
 88 |     @inline(__always)
 89 |     func async(flags: DispatchWorkItemFlags?, _ body: @escaping() -> Void) {
    |                                                 `- note: parameter 'body' is implicitly non-sendable
 90 |         switch self {
 91 |         case .none:
    :
 93 |         case .some(let q):
 94 |             if let flags = flags {
 95 |                 q.async(flags: flags, execute: body)
    |                                                `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 96 |             } else {
 97 |                 q.async(execute: body)
/Users/admin/builder/spi-builder-workspace/Sources/Box.swift:97:34: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 87 | extension Optional where Wrapped: DispatchQueue {
 88 |     @inline(__always)
 89 |     func async(flags: DispatchWorkItemFlags?, _ body: @escaping() -> Void) {
    |                                                 `- note: parameter 'body' is implicitly non-sendable
 90 |         switch self {
 91 |         case .none:
    :
 95 |                 q.async(flags: flags, execute: body)
 96 |             } else {
 97 |                 q.async(execute: body)
    |                                  `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 98 |             }
 99 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Async.swift:8:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 6 |         await withCheckedContinuation { continuation in
 7 |             done { value in
 8 |                 continuation.resume(returning: value)
   |                              |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 9 |             }
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Async.swift:19:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
17 |         try await withCheckedThrowingContinuation { continuation in
18 |             done { value in
19 |                 continuation.resume(returning: value)
   |                              |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
20 |             }.catch(policy: .allErrors) { error in
21 |                 continuation.resume(throwing: error)
[18/22] Compiling PromiseKit Box.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Box.swift:95:48: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 87 | extension Optional where Wrapped: DispatchQueue {
 88 |     @inline(__always)
 89 |     func async(flags: DispatchWorkItemFlags?, _ body: @escaping() -> Void) {
    |                                                 `- note: parameter 'body' is implicitly non-sendable
 90 |         switch self {
 91 |         case .none:
    :
 93 |         case .some(let q):
 94 |             if let flags = flags {
 95 |                 q.async(flags: flags, execute: body)
    |                                                `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 96 |             } else {
 97 |                 q.async(execute: body)
/Users/admin/builder/spi-builder-workspace/Sources/Box.swift:97:34: warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 87 | extension Optional where Wrapped: DispatchQueue {
 88 |     @inline(__always)
 89 |     func async(flags: DispatchWorkItemFlags?, _ body: @escaping() -> Void) {
    |                                                 `- note: parameter 'body' is implicitly non-sendable
 90 |         switch self {
 91 |         case .none:
    :
 95 |                 q.async(flags: flags, execute: body)
 96 |             } else {
 97 |                 q.async(execute: body)
    |                                  `- warning: passing non-sendable parameter 'body' to function expecting a @Sendable closure
 98 |             }
 99 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Async.swift:8:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 6 |         await withCheckedContinuation { continuation in
 7 |             done { value in
 8 |                 continuation.resume(returning: value)
   |                              |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 9 |             }
10 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Async.swift:19:30: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
17 |         try await withCheckedThrowingContinuation { continuation in
18 |             done { value in
19 |                 continuation.resume(returning: value)
   |                              |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
20 |             }.catch(policy: .allErrors) { error in
21 |                 continuation.resume(throwing: error)
[19/22] Emitting module PromiseKit
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:24:10: warning: associated value 'flatMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 22 |     /// `nil` was returned from `flatMap`
 23 |     @available(*, deprecated, message: "See: `compactMap`")
 24 |     case flatMap(Any, Any.Type)
    |          `- warning: associated value 'flatMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 25 |
 26 |     /// `nil` was returned from `compactMap`
/Users/admin/builder/spi-builder-workspace/Sources/Error.swift:27:10: warning: associated value 'compactMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 25 |
 26 |     /// `nil` was returned from `compactMap`
 27 |     case compactMap(Any, Any.Type)
    |          `- warning: associated value 'compactMap' of 'Sendable'-conforming enum 'PMKError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 28 |
 29 |     /**
[20/22] Compiling PromiseKit LogEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Promise.swift:167:17: warning: capture of 'promise' with non-sendable type 'Promise<T>' in a `@Sendable` closure
  6 |  - See: `Thenable`
  7 |  */
  8 | public final class Promise<T>: Thenable, CatchMixin {
    |                    `- note: generic class 'Promise' does not conform to the 'Sendable' protocol
  9 |     let box: Box<Result<T>>
 10 |
    :
165 |         async(group: group, qos: qos, flags: flags) {
166 |             do {
167 |                 promise.box.seal(.fulfilled(try body()))
    |                 `- warning: capture of 'promise' with non-sendable type 'Promise<T>' in a `@Sendable` closure
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
/Users/admin/builder/spi-builder-workspace/Sources/Promise.swift:167:49: warning: capture of 'body' with non-sendable type '() throws -> T' in a `@Sendable` closure
165 |         async(group: group, qos: qos, flags: flags) {
166 |             do {
167 |                 promise.box.seal(.fulfilled(try body()))
    |                                                 |- warning: capture of 'body' with non-sendable type '() throws -> T' in a `@Sendable` closure
    |                                                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
[21/22] Compiling PromiseKit Promise.swift
/Users/admin/builder/spi-builder-workspace/Sources/Configuration.swift:35:12: warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | /// Modify this as soon as possible in your application’s lifetime
35 | public var conf = PMKConfiguration()
   |            |- warning: var 'conf' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'conf' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: annotate 'conf' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Promise.swift:167:17: warning: capture of 'promise' with non-sendable type 'Promise<T>' in a `@Sendable` closure
  6 |  - See: `Thenable`
  7 |  */
  8 | public final class Promise<T>: Thenable, CatchMixin {
    |                    `- note: generic class 'Promise' does not conform to the 'Sendable' protocol
  9 |     let box: Box<Result<T>>
 10 |
    :
165 |         async(group: group, qos: qos, flags: flags) {
166 |             do {
167 |                 promise.box.seal(.fulfilled(try body()))
    |                 `- warning: capture of 'promise' with non-sendable type 'Promise<T>' in a `@Sendable` closure
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
/Users/admin/builder/spi-builder-workspace/Sources/Promise.swift:167:49: warning: capture of 'body' with non-sendable type '() throws -> T' in a `@Sendable` closure
165 |         async(group: group, qos: qos, flags: flags) {
166 |             do {
167 |                 promise.box.seal(.fulfilled(try body()))
    |                                                 |- warning: capture of 'body' with non-sendable type '() throws -> T' in a `@Sendable` closure
    |                                                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
[22/22] Compiling PromiseKit resource_bundle_accessor.swift
Build complete! (9.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PromiseKit",
  "name" : "PromiseKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "PromiseKit",
      "targets" : [
        "PromiseKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4",
    "4.2",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "PromiseKit",
      "module_type" : "SwiftTarget",
      "name" : "PromiseKit",
      "path" : "Sources",
      "product_memberships" : [
        "PromiseKit"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Async.swift",
        "Box.swift",
        "Catchable.swift",
        "Combine.swift",
        "Configuration.swift",
        "CustomStringConvertible.swift",
        "Error.swift",
        "Guarantee.swift",
        "LogEvent.swift",
        "Promise.swift",
        "Resolver.swift",
        "Thenable.swift",
        "after.swift",
        "firstly.swift",
        "hang.swift",
        "race.swift",
        "when.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CorePromise",
      "module_type" : "SwiftTarget",
      "name" : "CorePromise",
      "path" : "Tests/CorePromise",
      "sources" : [
        "AfterTests.swift",
        "AsyncTests.swift",
        "CancellableErrorTests.swift",
        "CatchableTests.swift",
        "CombineTests.swift",
        "DefaultDispatchQueueTests.swift",
        "ErrorTests.swift",
        "GuaranteeTests.swift",
        "HangTests.swift",
        "LoggingTests.swift",
        "PromiseTests.swift",
        "RaceTests.swift",
        "RegressionTests.swift",
        "ResolverTests.swift",
        "StressTests.swift",
        "ThenableTests.swift",
        "Utilities.swift",
        "WhenConcurrentTests.swift",
        "WhenResolvedTests.swift",
        "WhenTests.swift",
        "XCTestManifests.swift",
        "ZalgoTests.swift"
      ],
      "target_dependencies" : [
        "PromiseKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APlus",
      "module_type" : "SwiftTarget",
      "name" : "APlus",
      "path" : "Tests/A+",
      "sources" : [
        "0.0.0.swift",
        "2.1.2.swift",
        "2.1.3.swift",
        "2.2.2.swift",
        "2.2.3.swift",
        "2.2.4.swift",
        "2.2.6.swift",
        "2.2.7.swift",
        "2.3.1.swift",
        "2.3.2.swift",
        "2.3.4.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "PromiseKit"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.3"
}
Done.