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.0 for Linux on 6 Sep 2025 06:52:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/povio/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/povio/PovioKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 8ae4ae6 Chore/Remove image source (#354)
Cloned https://github.com/povio/PovioKit.git
Revision (git rev-parse @):
8ae4ae6390ebb1c563bab3df6ffb00b296407b5a
SUCCESS checkout https://github.com/povio/PovioKit.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/povio/PovioKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Alamofire/Alamofire
[1/30258] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (2.66s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (0.64s)
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
[7/10] Copying PrivacyInfo.xcprivacy
[8/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/90] Emitting module PovioKitAsync
[12/90] 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 {
[13/90] 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 {
[14/90] 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 {
[15/90] 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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
[21/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 {
[22/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 {
[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 {
[26/93] Compiling PovioKitCore Result+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 {
[27/93] Compiling PovioKitCore String+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 {
[28/93] Compiling PovioKitCore URL+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 {
[29/93] Compiling PovioKitCore MKAnnotationView+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 {
[30/93] Emitting module PovioKitPromise
[31/94] Compiling PovioKitPromise Sequence.swift
[37/94] 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 {
[38/94] 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 {
[39/94] 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 {
[40/94] 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 {
[41/94] 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 {
[42/94] 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 {
[43/94] 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 {
[44/94] 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 {
[45/99] Compiling PovioKitPromise Race.swift
[46/99] 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 {
[47/99] 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 {
[48/99] 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 {
[49/99] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/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 {
[51/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:5:21: note: 'init(coder:)' declared here
 3 |     public let _code: Int
 4 |     public init(domain: String, code: Int, userInfo dict: [String : Any]? = nil)
 5 |     required public init?(coder aDecoder: NSCoder)
   |                     `- note: 'init(coder:)' declared here
 6 |     public static var supportsSecureCoding: Bool { get }
 7 |     open func encode(with aCoder: NSCoder)
/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:5:21: note: 'init(coder:)' declared here
 3 |     public let _code: Int
 4 |     public init(domain: String, code: Int, userInfo dict: [String : Any]? = nil)
 5 |     required public init?(coder aDecoder: NSCoder)
   |                     `- note: 'init(coder:)' declared here
 6 |     public static var supportsSecureCoding: Bool { get }
 7 |     open func encode(with aCoder: NSCoder)
/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:5:21: note: 'init(coder:)' declared here
 3 |     public let _code: Int
 4 |     public init(domain: String, code: Int, userInfo dict: [String : Any]? = nil)
 5 |     required public init?(coder aDecoder: NSCoder)
   |                     `- note: 'init(coder:)' declared here
 6 |     public static var supportsSecureCoding: Bool { get }
 7 |     open func encode(with aCoder: NSCoder)
/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:5:21: note: 'init(coder:)' declared here
 3 |     public let _code: Int
 4 |     public init(domain: String, code: Int, userInfo dict: [String : Any]? = nil)
 5 |     required public init?(coder aDecoder: NSCoder)
   |                     `- note: 'init(coder:)' declared here
 6 |     public static var supportsSecureCoding: Bool { get }
 7 |     open func encode(with aCoder: NSCoder)
/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()
/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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 91 |           seal.reject(with: error, on: dispatchQueue)
 92 |         }
/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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 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
 91 |           seal.reject(with: error, on: dispatchQueue)
 92 |         }
[56/99] Compiling PovioKitAsync AsyncThrottleSequence.swift
BUILD FAILURE 6.0 linux