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

Failed to build PovioKit, reference 5.1.1 (ad42b2), with Swift 6.0 for Linux on 30 Apr 2025 10:33:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/poviolabs/PovioKit.git
Reference: 5.1.1
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
 * tag               5.1.1      -> FETCH_HEAD
HEAD is now at ad42b26 Release/5.1.1 (#353)
Cloned https://github.com/poviolabs/PovioKit.git
Revision (git rev-parse @):
ad42b2651ae20a00eef2e0a3746c6661c5e5e4ed
SUCCESS checkout https://github.com/poviolabs/PovioKit.git at 5.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/poviolabs/PovioKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Alamofire/Alamofire
[1/30137] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (4.74s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (1.34s)
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
[0/10] Copying PrivacyInfo.xcprivacy
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/90] Emitting module Alamofire
[12/95] Compiling Alamofire CachedResponseHandler.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/95] Compiling Alamofire Alamofire.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/95] Compiling Alamofire AFError.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/95] Compiling Alamofire DataRequest.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/98] 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 {
[17/98] 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 {
[18/98] 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 {
[19/98] Compiling Alamofire Protected.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/98] Compiling Alamofire Request.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/98] Compiling Alamofire RequestTaskMap.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/98] Compiling Alamofire Response.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/98] Compiling Alamofire URLRequest+Alamofire.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/98] Compiling Alamofire URLSessionConfiguration+Alamofire.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/98] Compiling Alamofire AlamofireExtended.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/98] Compiling Alamofire AuthenticationInterceptor.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/98] Emitting module PovioKitPromise
[28/98] Compiling Alamofire HTTPMethod.swift
[29/98] Compiling Alamofire Notifications.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/98] 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 {
[31/99] Compiling Alamofire ParameterEncoder.swift
[32/99] Compiling Alamofire ParameterEncoding.swift
[33/99] Compiling PovioKitPromise Race.swift
[34/99] Compiling Alamofire DataStreamRequest.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/99] Compiling Alamofire DownloadRequest.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/99] Compiling Alamofire HTTPHeaders.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/99] Compiling Alamofire WebSocketRequest.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/99] Compiling Alamofire DispatchQueue+Alamofire.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/99] Compiling Alamofire OperationQueue+Alamofire.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/99] Compiling Alamofire Result+Alamofire.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/99] Compiling Alamofire Session.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/99] Compiling Alamofire SessionDelegate.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/99] Compiling Alamofire URLConvertible+URLRequestConvertible.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/99] Compiling Alamofire UploadRequest.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 {
/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 {
/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 |         }
[51/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
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
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
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
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) {
[52/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()
[53/99] Compiling PovioKitPromise Sequence.swift
[54/99] Emitting module PovioKitAsync
[55/99] Compiling PovioKitAsync AsyncThrottleSequence.swift
BUILD FAILURE 6.0 linux