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.1 for Linux on 30 Apr 2025 08:33:30 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mxcl/PromiseKit.git
Reference: 8.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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 '/host/spi-builder-workspace/Extensions/AVFoundation'...
Cloning into '/host/spi-builder-workspace/Extensions/Accounts'...
Cloning into '/host/spi-builder-workspace/Extensions/AddressBook'...
Cloning into '/host/spi-builder-workspace/Extensions/Alamofire'...
Cloning into '/host/spi-builder-workspace/Extensions/AssetsLibrary'...
Cloning into '/host/spi-builder-workspace/Extensions/Bolts'...
Cloning into '/host/spi-builder-workspace/Extensions/CloudKit'...
Cloning into '/host/spi-builder-workspace/Extensions/CoreBluetooth'...
Cloning into '/host/spi-builder-workspace/Extensions/CoreLocation'...
Cloning into '/host/spi-builder-workspace/Extensions/EventKit'...
Cloning into '/host/spi-builder-workspace/Extensions/Foundation'...
Cloning into '/host/spi-builder-workspace/Extensions/HealthKit'...
Cloning into '/host/spi-builder-workspace/Extensions/HomeKit'...
Cloning into '/host/spi-builder-workspace/Extensions/MapKit'...
Cloning into '/host/spi-builder-workspace/Extensions/MessagesUI'...
Cloning into '/host/spi-builder-workspace/Extensions/OMGHTTPURLRQ'...
Cloning into '/host/spi-builder-workspace/Extensions/Photos'...
Cloning into '/host/spi-builder-workspace/Extensions/QuartzCore'...
Cloning into '/host/spi-builder-workspace/Extensions/Social'...
Cloning into '/host/spi-builder-workspace/Extensions/StoreKit'...
Cloning into '/host/spi-builder-workspace/Extensions/SystemConfiguration'...
Cloning into '/host/spi-builder-workspace/Extensions/UIKit'...
Cloning into '/host/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
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mxcl/PromiseKit.git
https://github.com/mxcl/PromiseKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PromiseKit",
  "name" : "PromiseKit",
  "path" : "/host/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" : "/host/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 ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/20] Emitting module PromiseKit
/host/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: add '@MainActor' to make var 'conf' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/host/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`
/host/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 |     /**
[5/22] Compiling PromiseKit after.swift
/host/spi-builder-workspace/Sources/after.swift:15:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 | #else
17 |     q.asyncAfter(deadline: when, execute: seal)
/host/spi-builder-workspace/Sources/after.swift:33:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | #else
35 |     q.asyncAfter(deadline: when, execute: seal)
[6/22] Compiling PromiseKit firstly.swift
/host/spi-builder-workspace/Sources/after.swift:15:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
16 | #else
17 |     q.asyncAfter(deadline: when, execute: seal)
/host/spi-builder-workspace/Sources/after.swift:33:36: warning: capture of 'seal' with non-sendable type '(Void) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
34 | #else
35 |     q.asyncAfter(deadline: when, execute: seal)
[7/22] Compiling PromiseKit Async.swift
/host/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)
/host/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 |         }
/host/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 |         }
/host/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)
[8/22] Compiling PromiseKit Box.swift
/host/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)
/host/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 |         }
/host/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 |         }
/host/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)
[9/22] Compiling PromiseKit Catchable.swift
/host/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)
/host/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 |         }
/host/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 |         }
/host/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)
[10/22] Compiling PromiseKit Combine.swift
/host/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: add '@MainActor' to make var 'conf' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[11/22] Compiling PromiseKit Configuration.swift
/host/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: add '@MainActor' to make var 'conf' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[12/22] Compiling PromiseKit CustomStringConvertible.swift
/host/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: add '@MainActor' to make var 'conf' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
[13/22] Compiling PromiseKit when.swift
[14/22] Compiling PromiseKit resource_bundle_accessor.swift
[15/22] Compiling PromiseKit Resolver.swift
[16/22] Compiling PromiseKit Thenable.swift
[17/22] Compiling PromiseKit hang.swift
[18/22] Compiling PromiseKit race.swift
[19/22] Compiling PromiseKit Error.swift
/host/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`
/host/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 |     /**
/host/spi-builder-workspace/Sources/Guarantee.swift:374:13: warning: capture of 'rg' with non-sendable type 'Guarantee<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  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; this is an error in the Swift 6 language mode
375 |         }
376 |         return rg
/host/spi-builder-workspace/Sources/Guarantee.swift:374:25: warning: capture of 'body' with non-sendable type '() -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
375 |         }
376 |         return rg
[20/22] Compiling PromiseKit Guarantee.swift
/host/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`
/host/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 |     /**
/host/spi-builder-workspace/Sources/Guarantee.swift:374:13: warning: capture of 'rg' with non-sendable type 'Guarantee<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  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; this is an error in the Swift 6 language mode
375 |         }
376 |         return rg
/host/spi-builder-workspace/Sources/Guarantee.swift:374:25: warning: capture of 'body' with non-sendable type '() -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
375 |         }
376 |         return rg
[21/22] Compiling PromiseKit LogEvent.swift
/host/spi-builder-workspace/Sources/Promise.swift:167:17: warning: capture of 'promise' with non-sendable type 'Promise<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  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; this is an error in the Swift 6 language mode
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
/host/spi-builder-workspace/Sources/Promise.swift:167:49: warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                                                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
[22/22] Compiling PromiseKit Promise.swift
/host/spi-builder-workspace/Sources/Promise.swift:167:17: warning: capture of 'promise' with non-sendable type 'Promise<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  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; this is an error in the Swift 6 language mode
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
/host/spi-builder-workspace/Sources/Promise.swift:167:49: warning: capture of 'body' with non-sendable type '() throws -> T' in a '@Sendable' closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
    |                                                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
168 |             } catch {
169 |                 promise.box.seal(.rejected(error))
Build complete! (7.70s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PromiseKit",
  "name" : "PromiseKit",
  "path" : "/host/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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.