Build Information
Failed to build PovioKit, reference 5.1.1 (ad42b2
), with Swift 6.2 (beta) for Linux on 17 Jun 2025 13:10:14 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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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.2
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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/Alamofire/Alamofire
[1/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire from cache (3.96s)
Computing version for https://github.com/Alamofire/Alamofire
Computed https://github.com/Alamofire/Alamofire at 5.10.2 (4.41s)
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
[8/10] Copying PrivacyInfo.xcprivacy
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/90] Emitting module Alamofire
[12/95] 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/95] 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/95] 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/95] 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/98] 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/98] 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/98] 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/98] 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/98] 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/98] 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/98] 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/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 {
[24/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 {
[25/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 {
[31/98] Compiling PovioKitCore Result+PovioKit.swift
[32/98] Compiling PovioKitCore String+PovioKit.swift
[33/98] Compiling PovioKitCore URL+PovioKit.swift
[34/98] Compiling PovioKitCore MKAnnotationView+PovioKit.swift
[36/98] Compiling PovioKitPromise Sequence.swift
[37/99] Compiling PovioKitCore AppInfo.swift
/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 {
[38/99] Compiling PovioKitCore NSView+PovioKit.swift
/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/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 {
[41/99] Compiling PovioKitCore NSWindow+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/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 {
[43/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>
[44/99] Compiling PovioKitAsync AsyncThrottleSequence.swift
/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()
/host/spi-builder-workspace/Sources/Async/AsyncThrottleSequence.swift:129:34: warning: capture of non-Sendable type 'BaseSequence.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | clock: clock
128 | )
129 | let result = try await baseIterator.next()
| `- warning: capture of non-Sendable type 'BaseSequence.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | try Task.checkCancellation()
131 | return result
[45/99] Emitting module PovioKitAsync
[46/99] Emitting module PovioKitPromise
[49/99] Compiling PovioKitCore Data+PovioKit.swift
/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>
[50/99] Compiling PovioKitCore Date+PovioKit.swift
/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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/100] 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 {
[54/100] 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 {
[55/100] 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 {
[56/100] 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 {
[57/100] 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 {
[58/100] 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 {
[59/100] 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 {
/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 {
[83/100] Compiling PovioKitPromise Race.swift
[84/100] 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()
[87/100] Compiling Alamofire EventMonitor.swift
[88/100] Compiling Alamofire MultipartFormData.swift
[89/100] Compiling Alamofire MultipartUpload.swift
[90/100] Compiling Alamofire NetworkReachabilityManager.swift
[91/100] Compiling Alamofire RedirectHandler.swift
[92/100] Compiling Alamofire RequestCompression.swift
[93/100] Compiling Alamofire RequestInterceptor.swift
[94/100] Compiling Alamofire ResponseSerialization.swift
[95/100] Compiling Alamofire RetryPolicy.swift
[96/100] Compiling Alamofire ServerTrustEvaluation.swift
[97/100] Compiling Alamofire URLEncodedFormEncoder.swift
[98/100] Compiling Alamofire Validation.swift
[99/100] Compiling Alamofire resource_bundle_accessor.swift
[100/101] Compiling PovioKitPromise Wrap.swift
BUILD FAILURE 6.2 linux