The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PovioKit, reference develop (8ae4ae), with Swift 6.2 (beta) for Android on 17 Jun 2025 13:10:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/poviolabs/PovioKit.git
Reference: develop
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/poviolabs/PovioKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 8ae4ae6 Chore/Remove image source (#354)
Cloned https://github.com/poviolabs/PovioKit.git
Revision (git rev-parse @):
8ae4ae6390ebb1c563bab3df6ffb00b296407b5a
SUCCESS checkout https://github.com/poviolabs/PovioKit.git at develop
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/poviolabs/PovioKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/Alamofire/Alamofire
[1/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (4.93s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (5.74s)
Creating working copy for https://github.com/Alamofire/Alamofire
Working copy of https://github.com/Alamofire/Alamofire resolved at 5.10.2
Building for debugging...
[0/10] Write sources
[4/10] Copying PrivacyInfo.xcprivacy
[4/10] Write sources
[9/10] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/90] Emitting module PovioKitAsync
[12/90] Compiling PovioKitCore View+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[13/90] Compiling PovioKitCore CGSize+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[14/90] Compiling PovioKitCore UIColor+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[15/90] Compiling PovioKitCore UIDevice+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[16/90] Compiling PovioKitCore UIEdgeInsets+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[17/90] Compiling PovioKitCore UIImage+Kingfisher.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[18/90] Compiling PovioKitCore UIImage+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[19/93] Compiling PovioKitCore MKCircle+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[20/93] Compiling PovioKitCore MKMapView+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[21/93] Compiling PovioKitCore MKPolygon+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[22/93] Compiling PovioKitCore SKStoreReviewController+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[23/93] Compiling PovioKitCore UIResponder+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[24/93] Compiling PovioKitCore UIWindow+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[25/93] Compiling PovioKitCore Logger.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[28/93] Compiling PovioKitCore AppInfo.swift
[29/93] Compiling PovioKitCore NSView+PovioKit.swift
[30/93] Compiling PovioKitCore NSWindow+PovioKit.swift
[31/98] Compiling PovioKitCore DispatchTimeInterval+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[32/98] Compiling PovioKitCore Double+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[33/98] Compiling PovioKitCore Encodable+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[34/98] Compiling PovioKitCore Optional+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[35/98] Compiling PovioKitPromise Either.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[36/98] Compiling PovioKitPromise Future.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[37/98] Compiling PovioKitCore DateFormatter+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[38/98] Compiling PovioKitCore DecodableDictionary+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[39/98] Compiling PovioKitPromise After.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[40/98] Compiling PovioKitPromise All.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[41/98] Compiling PovioKitPromise Any.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[42/98] Compiling PovioKitPromise ConcurrentDispatch.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[43/98] Compiling PovioKitPromise Race.swift
[44/98] Compiling PovioKitPromise Sequence.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/99] Emitting module PovioKitCore
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[49/99] Compiling PovioKitCore Collection+PovioKit.swift
/host/spi-builder-workspace/Sources/Core/Extensions/MapKit/MKAnnotationView+PovioKit.swift:9:8: error: no such module 'MapKit.MKAnnotationView'
 7 | //
 8 |
 9 | import MapKit.MKAnnotationView
   |        `- error: no such module 'MapKit.MKAnnotationView'
10 |
11 | public extension MKAnnotationView {
[50/99] Compiling PovioKitPromise Poll.swift
/host/spi-builder-workspace/Sources/PromiseKit/Poll.swift:133:92: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
131 |             }
132 |             retry -= 1
133 |             pollingDispatchQueue.asyncAfter(deadline: .now() + checkAfter(value), execute: polling)
    |                                                                                            `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
134 |           case .success(let value):
135 |             seal.resolve(with: value, on: resolveDispatchQueue)
/host/spi-builder-workspace/Sources/PromiseKit/Poll.swift:128:19: warning: reference to captured var 'retry' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
126 |           switch $0 {
127 |           case .success(let value) where predicate(value):
128 |             guard retry > 0 else {
    |                   `- warning: reference to captured var 'retry' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
129 |               seal.reject(with: NSError(domain: "com.promise.poll", code: 999, userInfo: ["message": "Reached a maximum number of retries"]))
130 |               return
/host/spi-builder-workspace/Sources/PromiseKit/Poll.swift:132:13: warning: mutation of captured var 'retry' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
130 |               return
131 |             }
132 |             retry -= 1
    |             `- warning: mutation of captured var 'retry' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
133 |             pollingDispatchQueue.asyncAfter(deadline: .now() + checkAfter(value), execute: polling)
134 |           case .success(let value):
/host/spi-builder-workspace/Sources/PromiseKit/Poll.swift:122:10: warning: concurrently-executed local function 'polling()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
120 |     let barrier = DispatchQueue(label: "barrier", attributes: .concurrent)
121 |     var retry = retry
122 |     func polling() {
    |          `- warning: concurrently-executed local function 'polling()' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
123 |       let promise = request()
124 |       barrier.async(flags: .barrier) {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/PromiseKit/Any.swift:31:17: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |       promise.finally { result in
 30 |         barrier.async(flags: .barrier) {
 31 |           guard promises.allSatisfy({ $0.isResolved }) else { return }
    |                 `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |           if promises.contains(where: { $0.isFulfilled }) {
 33 |             seal.resolve(with: promises.map { $0.value }, on: dispatchQueue)
/host/spi-builder-workspace/Sources/PromiseKit/Any.swift:20:3: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 18 | public func any<T, C: Collection>(
 19 |   on dispatchQueue: DispatchQueue? = .main,
 20 |   promises: C
    |   `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 21 | ) -> Promise<[T?]> where C.Element == Promise<T> {
 22 |   guard !promises.isEmpty else {
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:63:35: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 61 |     func observer(_ result: Result<T, Error>, arrayIndex: Int) {
 62 |       barrier.async(flags: .barrier) {
 63 |         let currentSegmentIndex = activePromises[arrayIndex].segmentIndex
    |                                   `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 64 |         let alreadyRetriedCount = activePromises[arrayIndex].retryCount
 65 |
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:64:35: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 62 |       barrier.async(flags: .barrier) {
 63 |         let currentSegmentIndex = activePromises[arrayIndex].segmentIndex
 64 |         let alreadyRetriedCount = activePromises[arrayIndex].retryCount
    |                                   `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 65 |
 66 |         switch result {
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:68:36: warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 66 |         switch result {
 67 |         case .success:
 68 |           guard let promise = next(segmentIndex) else {
    |                                    `- warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |             if activePromises.allSatisfy({ $0.promise.isFulfilled }) { // TODO: - Should we optimise by keeping a counter of how many promises have succeeded thus far?
 70 |               seal.resolve(on: dispatchQueue)
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:69:16: warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 67 |         case .success:
 68 |           guard let promise = next(segmentIndex) else {
 69 |             if activePromises.allSatisfy({ $0.promise.isFulfilled }) { // TODO: - Should we optimise by keeping a counter of how many promises have succeeded thus far?
    |                `- warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 70 |               seal.resolve(on: dispatchQueue)
 71 |             }
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:61:10: warning: concurrently-executed local function 'observer(_:arrayIndex:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func observer(_ result: Result<T, Error>, arrayIndex: Int) {
    |          `- warning: concurrently-executed local function 'observer(_:arrayIndex:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 62 |       barrier.async(flags: .barrier) {
 63 |         let currentSegmentIndex = activePromises[arrayIndex].segmentIndex
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:75:11: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 73 |           }
 74 |           promise.finally { observer($0, arrayIndex: arrayIndex) }
 75 |           activePromises[arrayIndex] = (
    |           `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 76 |             promise: promise,
 77 |             retryCount: 0,
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:78:27: warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 76 |             promise: promise,
 77 |             retryCount: 0,
 78 |             segmentIndex: segmentIndex
    |                           `- warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 79 |           )
 80 |           segmentIndex += 1
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:80:11: warning: mutation of captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 78 |             segmentIndex: segmentIndex
 79 |           )
 80 |           segmentIndex += 1
    |           `- warning: mutation of captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 81 |         case .failure where alreadyRetriedCount < retryCount:
 82 |           let promise = next(currentSegmentIndex)!
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:84:11: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 82 |           let promise = next(currentSegmentIndex)!
 83 |           promise.finally { observer($0, arrayIndex: arrayIndex) }
 84 |           activePromises[arrayIndex] = (
    |           `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 85 |             promise: promise,
 86 |             retryCount: alreadyRetriedCount + 1,
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:90:11: warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 88 |           )
 89 |         case .failure(let error):
 90 |           activePromises.forEach { $0.promise.reject(with: error) }
    |           `- warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 91 |           seal.reject(with: error, on: dispatchQueue)
 92 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
/host/spi-builder-workspace/Sources/PromiseKit/Any.swift:31:17: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |       promise.finally { result in
 30 |         barrier.async(flags: .barrier) {
 31 |           guard promises.allSatisfy({ $0.isResolved }) else { return }
    |                 `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |           if promises.contains(where: { $0.isFulfilled }) {
 33 |             seal.resolve(with: promises.map { $0.value }, on: dispatchQueue)
/host/spi-builder-workspace/Sources/PromiseKit/Any.swift:20:3: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 18 | public func any<T, C: Collection>(
 19 |   on dispatchQueue: DispatchQueue? = .main,
 20 |   promises: C
    |   `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 21 | ) -> Promise<[T?]> where C.Element == Promise<T> {
 22 |   guard !promises.isEmpty else {
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:63:35: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 61 |     func observer(_ result: Result<T, Error>, arrayIndex: Int) {
 62 |       barrier.async(flags: .barrier) {
 63 |         let currentSegmentIndex = activePromises[arrayIndex].segmentIndex
    |                                   `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 64 |         let alreadyRetriedCount = activePromises[arrayIndex].retryCount
 65 |
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:64:35: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 62 |       barrier.async(flags: .barrier) {
 63 |         let currentSegmentIndex = activePromises[arrayIndex].segmentIndex
 64 |         let alreadyRetriedCount = activePromises[arrayIndex].retryCount
    |                                   `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 65 |
 66 |         switch result {
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:68:36: warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 66 |         switch result {
 67 |         case .success:
 68 |           guard let promise = next(segmentIndex) else {
    |                                    `- warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 69 |             if activePromises.allSatisfy({ $0.promise.isFulfilled }) { // TODO: - Should we optimise by keeping a counter of how many promises have succeeded thus far?
 70 |               seal.resolve(on: dispatchQueue)
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:69:16: warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 67 |         case .success:
 68 |           guard let promise = next(segmentIndex) else {
 69 |             if activePromises.allSatisfy({ $0.promise.isFulfilled }) { // TODO: - Should we optimise by keeping a counter of how many promises have succeeded thus far?
    |                `- warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 70 |               seal.resolve(on: dispatchQueue)
 71 |             }
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:61:10: warning: concurrently-executed local function 'observer(_:arrayIndex:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 59 |     }
 60 |
 61 |     func observer(_ result: Result<T, Error>, arrayIndex: Int) {
    |          `- warning: concurrently-executed local function 'observer(_:arrayIndex:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
 62 |       barrier.async(flags: .barrier) {
 63 |         let currentSegmentIndex = activePromises[arrayIndex].segmentIndex
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:75:11: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 73 |           }
 74 |           promise.finally { observer($0, arrayIndex: arrayIndex) }
 75 |           activePromises[arrayIndex] = (
    |           `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 76 |             promise: promise,
 77 |             retryCount: 0,
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:78:27: warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 76 |             promise: promise,
 77 |             retryCount: 0,
 78 |             segmentIndex: segmentIndex
    |                           `- warning: reference to captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 79 |           )
 80 |           segmentIndex += 1
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:80:11: warning: mutation of captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 78 |             segmentIndex: segmentIndex
 79 |           )
 80 |           segmentIndex += 1
    |           `- warning: mutation of captured var 'segmentIndex' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 81 |         case .failure where alreadyRetriedCount < retryCount:
 82 |           let promise = next(currentSegmentIndex)!
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:84:11: warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 82 |           let promise = next(currentSegmentIndex)!
 83 |           promise.finally { observer($0, arrayIndex: arrayIndex) }
 84 |           activePromises[arrayIndex] = (
    |           `- warning: mutation of captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 85 |             promise: promise,
 86 |             retryCount: alreadyRetriedCount + 1,
/host/spi-builder-workspace/Sources/PromiseKit/ConcurrentDispatch.swift:90:11: warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 88 |           )
 89 |         case .failure(let error):
 90 |           activePromises.forEach { $0.promise.reject(with: error) }
    |           `- warning: reference to captured var 'activePromises' in concurrently-executing code; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
 91 |           seal.reject(with: error, on: dispatchQueue)
 92 |         }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[53/99] Compiling PovioKitPromise Promise.swift
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:733:21: error: missing argument for parameter 'coder' in call
 731 |         return firstValue
 732 |       }
 733 |       throw NSError()
     |                     `- error: missing argument for parameter 'coder' in call
 734 |     }
 735 |   }
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:733:13: error: thrown expression type 'NSError?' does not conform to 'Error'
 731 |         return firstValue
 732 |       }
 733 |       throw NSError()
     |             `- error: thrown expression type 'NSError?' does not conform to 'Error'
 734 |     }
 735 |   }
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:773:21: error: missing argument for parameter 'coder' in call
 771 |         return lastValue
 772 |       }
 773 |       throw NSError()
     |                     `- error: missing argument for parameter 'coder' in call
 774 |     }
 775 |   }
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:773:13: error: thrown expression type 'NSError?' does not conform to 'Error'
 771 |         return lastValue
 772 |       }
 773 |       throw NSError()
     |             `- error: thrown expression type 'NSError?' does not conform to 'Error'
 774 |     }
 775 |   }
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:787:21: error: missing argument for parameter 'coder' in call
 785 |         return min
 786 |       }
 787 |       throw NSError()
     |                     `- error: missing argument for parameter 'coder' in call
 788 |     }
 789 |   }
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:787:13: error: thrown expression type 'NSError?' does not conform to 'Error'
 785 |         return min
 786 |       }
 787 |       throw NSError()
     |             `- error: thrown expression type 'NSError?' does not conform to 'Error'
 788 |     }
 789 |   }
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:799:21: error: missing argument for parameter 'coder' in call
 797 |         return min
 798 |       }
 799 |       throw NSError()
     |                     `- error: missing argument for parameter 'coder' in call
 800 |     }
 801 |   }
Foundation.NSError.init:2:17: note: 'init(coder:)' declared here
1 | class NSError {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:799:13: error: thrown expression type 'NSError?' does not conform to 'Error'
 797 |         return min
 798 |       }
 799 |       throw NSError()
     |             `- error: thrown expression type 'NSError?' does not conform to 'Error'
 800 |     }
 801 |   }
/host/spi-builder-workspace/Sources/PromiseKit/Promise.swift:901:28: warning: passing non-sendable parameter 'work' to function expecting a '@Sendable' closure
 896 | extension Optional where Wrapped == DispatchQueue {
 897 |   @inline(__always)
 898 |   func async(execute work: @escaping () -> Void) {
     |                      `- note: parameter 'work' is implicitly non-sendable
 899 |     switch self {
 900 |     case let queue?:
 901 |       queue.async(execute: work)
     |                            `- warning: passing non-sendable parameter 'work' to function expecting a '@Sendable' closure
 902 |     case nil:
 903 |       work()
[56/99] Emitting module PovioKitPromise
/host/spi-builder-workspace/Sources/PromiseKit/All.swift:33:16: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 31 |         case .success:
 32 |           barrier.async(flags: .barrier) {
 33 |             if promises.allSatisfy({ $0.isFulfilled }) {
    |                `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 34 |               seal.resolve(with: promises.compactMap { $0.value }, on: dispatchQueue)
 35 |             }
/host/spi-builder-workspace/Sources/PromiseKit/All.swift:20:3: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 18 | public func all<T, C: Collection>(
 19 |   on dispatchQueue: DispatchQueue? = .main,
 20 |   promises: C
    |   `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 21 | ) -> Promise<[T]> where C.Element == Promise<T> {
 22 |   guard !promises.isEmpty else {
/host/spi-builder-workspace/Sources/PromiseKit/All.swift:33:16: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 31 |         case .success:
 32 |           barrier.async(flags: .barrier) {
 33 |             if promises.allSatisfy({ $0.isFulfilled }) {
    |                `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 34 |               seal.resolve(with: promises.compactMap { $0.value }, on: dispatchQueue)
 35 |             }
/host/spi-builder-workspace/Sources/PromiseKit/All.swift:20:3: warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 18 | public func all<T, C: Collection>(
 19 |   on dispatchQueue: DispatchQueue? = .main,
 20 |   promises: C
    |   `- warning: capture of non-sendable type 'C.Type' in an isolated closure; this is an error in the Swift 6 language mode
 21 | ) -> Promise<[T]> where C.Element == Promise<T> {
 22 |   guard !promises.isEmpty else {
/host/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:126:20: warning: capture of non-sendable type 'BaseSequence.Type' in an isolated closure; this is an error in the Swift 6 language mode
124 |         let task = Task {
125 |           try await Task.sleep(
126 |             until: clock.now.advanced(by: delayBetweenTasks),
    |                    `- warning: capture of non-sendable type 'BaseSequence.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 |             clock: clock
128 |           )
/host/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:120:17: warning: capture of non-sendable type 'BaseSequence.Type' in an isolated closure; this is an error in the Swift 6 language mode
118 |     /// - Throws: An error if the underlying `AsyncSequence` throws an error.
119 |     /// - Returns: The next element in the sequence, or `nil` if there are no more elements.
120 |     public func next() async throws -> Element? {
    |                 `- warning: capture of non-sendable type 'BaseSequence.Type' in an isolated closure; this is an error in the Swift 6 language mode
121 |       let task = lock.withLock {
122 |         taskInExecution?.cancel()
BUILD FAILURE 6.2 android