Build Information
Failed to build Futura.swift, reference master (1dd68c), with Swift 6.1 for Android on 27 May 2025 06:24:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thedavidharris/Futura.git
Reference: master
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/thedavidharris/Futura
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1dd68ce Add documentation
Cloned https://github.com/thedavidharris/Futura.git
Revision (git rev-parse @):
1dd68cee8588d15c77dff40e699ee411bc5e1e1e
SUCCESS checkout https://github.com/thedavidharris/Futura.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/thedavidharris/Futura.git
https://github.com/thedavidharris/Futura.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Futura.swift",
"name" : "Futura.swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Futura",
"targets" : [
"Futura"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FuturaTests",
"module_type" : "SwiftTarget",
"name" : "FuturaTests",
"path" : "Tests",
"sources" : [
"FutureTests+Always.swift",
"FutureTests+Collection.swift",
"FutureTests+Do.swift",
"FutureTests+Init.swift",
"FutureTests+Map.swift",
"FutureTests+Race.swift",
"FutureTests+Recover.swift",
"FutureTests+Retry.swift",
"FutureTests+Time.swift",
"FutureTests+Validate.swift",
"FutureTests+Variadic.swift",
"FutureTests+Wrap.swift",
"TestHelpers.swift"
],
"target_dependencies" : [
"Futura"
],
"type" : "test"
},
{
"c99name" : "Futura",
"module_type" : "SwiftTarget",
"name" : "Futura",
"path" : "Sources",
"product_memberships" : [
"Futura"
],
"sources" : [
"Callback.swift",
"Collection+Future.swift",
"Either.swift",
"Future+Always.swift",
"Future+Do.swift",
"Future+Map.swift",
"Future+Race.swift",
"Future+Recover.swift",
"Future+Retry.swift",
"Future+Time.swift",
"Future+Validate.swift",
"Future+Variadic.swift",
"Future+Wrap.swift",
"Future.swift",
"FutureError.swift",
"Promise+Void.swift",
"Promise.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] Compiling Futura Future+Map.swift
[4/18] Compiling Futura Future+Race.swift
[5/20] Compiling Futura Future+Recover.swift
/host/spi-builder-workspace/Sources/Future+Retry.swift:21:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | /// - Returns: existing Future object
20 | @discardableResult
21 | public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 |
23 | var attemptsLeft = attempts
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
[6/20] Compiling Futura Future+Retry.swift
/host/spi-builder-workspace/Sources/Future+Retry.swift:21:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | /// - Returns: existing Future object
20 | @discardableResult
21 | public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 |
23 | var attemptsLeft = attempts
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
[7/20] Compiling Futura Future+Variadic.swift
/host/spi-builder-workspace/Sources/Future+Variadic.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// - Parameter futures: an array of futures of the same type
15 | /// - Returns: a single promise combining the resolved values of `futures`
16 | public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return Promise<[Value]>{ (fullfill, reject) in
18 | if futures.isEmpty {
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:37:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | /// - Parameter futures: an array of futures of the same type
36 | /// - Returns: a single future combining the resolved values of `futures`
37 | public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return all(futures)
39 | }
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:32: error: value of type '[Future<Value>]' has no member 'containsOnly'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type '[Future<Value>]' has no member 'containsOnly'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:67: error: cannot infer contextual base in reference to member 'resolved'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
[8/20] Compiling Futura Future+Wrap.swift
/host/spi-builder-workspace/Sources/Future+Variadic.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// - Parameter futures: an array of futures of the same type
15 | /// - Returns: a single promise combining the resolved values of `futures`
16 | public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return Promise<[Value]>{ (fullfill, reject) in
18 | if futures.isEmpty {
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:37:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | /// - Parameter futures: an array of futures of the same type
36 | /// - Returns: a single future combining the resolved values of `futures`
37 | public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return all(futures)
39 | }
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:32: error: value of type '[Future<Value>]' has no member 'containsOnly'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type '[Future<Value>]' has no member 'containsOnly'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:67: error: cannot infer contextual base in reference to member 'resolved'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
[9/20] Compiling Futura Promise+Void.swift
/host/spi-builder-workspace/Sources/Promise.swift:32:21: warning: capture of 'work' with non-sendable type '(@escaping (Value) -> (), @escaping (any Error) -> ()) throws -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | queue.async {
31 | do {
32 | try work(self.resolve, self.reject)
| |- warning: capture of 'work' with non-sendable type '(@escaping (Value) -> (), @escaping (any Error) -> ()) throws -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | } catch let error {
34 | self.reject(error: error)
/host/spi-builder-workspace/Sources/Promise.swift:32:26: warning: capture of 'self' with non-sendable type 'Promise<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A representation of a Promise with completion callbacks
12 | public class Promise<Value> {
| `- note: generic class 'Promise' does not conform to the 'Sendable' protocol
13 |
14 | /// Underlying, immutable Future
:
30 | queue.async {
31 | do {
32 | try work(self.resolve, self.reject)
| `- warning: capture of 'self' with non-sendable type 'Promise<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | } catch let error {
34 | self.reject(error: error)
[10/20] Compiling Futura Promise.swift
/host/spi-builder-workspace/Sources/Promise.swift:32:21: warning: capture of 'work' with non-sendable type '(@escaping (Value) -> (), @escaping (any Error) -> ()) throws -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
30 | queue.async {
31 | do {
32 | try work(self.resolve, self.reject)
| |- warning: capture of 'work' with non-sendable type '(@escaping (Value) -> (), @escaping (any Error) -> ()) throws -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 | } catch let error {
34 | self.reject(error: error)
/host/spi-builder-workspace/Sources/Promise.swift:32:26: warning: capture of 'self' with non-sendable type 'Promise<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// A representation of a Promise with completion callbacks
12 | public class Promise<Value> {
| `- note: generic class 'Promise' does not conform to the 'Sendable' protocol
13 |
14 | /// Underlying, immutable Future
:
30 | queue.async {
31 | do {
32 | try work(self.resolve, self.reject)
| `- warning: capture of 'self' with non-sendable type 'Promise<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | } catch let error {
34 | self.reject(error: error)
[11/20] Compiling Futura Future+Time.swift
/host/spi-builder-workspace/Sources/Future+Time.swift:21:21: warning: capture of 'fulfill' with non-sendable type '(Void) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | return Promise<Void> { (fulfill, reject) in
20 | DispatchQueue.global().asyncAfter(deadline: .now() + timeInterval, execute: {
21 | fulfill(())
| |- warning: capture of 'fulfill' with non-sendable type '(Void) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | })
23 | }.futureResult.flatMap { _ in self }
/host/spi-builder-workspace/Sources/Future+Time.swift:35:17: warning: capture of 'reject' with non-sendable type '(any Error) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | return Promise<Value> { (fulfill, reject) in
34 | DispatchQueue.global().asyncAfter(deadline: .now() + timeInterval, execute: {
35 | reject(FutureError.timeout)
| |- warning: capture of 'reject' with non-sendable type '(any Error) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 | })
37 |
[12/20] Compiling Futura Future+Validate.swift
/host/spi-builder-workspace/Sources/Future+Time.swift:21:21: warning: capture of 'fulfill' with non-sendable type '(Void) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | return Promise<Void> { (fulfill, reject) in
20 | DispatchQueue.global().asyncAfter(deadline: .now() + timeInterval, execute: {
21 | fulfill(())
| |- warning: capture of 'fulfill' with non-sendable type '(Void) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | })
23 | }.futureResult.flatMap { _ in self }
/host/spi-builder-workspace/Sources/Future+Time.swift:35:17: warning: capture of 'reject' with non-sendable type '(any Error) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 | return Promise<Value> { (fulfill, reject) in
34 | DispatchQueue.global().asyncAfter(deadline: .now() + timeInterval, execute: {
35 | reject(FutureError.timeout)
| |- warning: capture of 'reject' with non-sendable type '(any Error) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
36 | })
37 |
[13/20] Compiling Futura Future.swift
/host/spi-builder-workspace/Sources/Future.swift:86:16: error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
84 | /// Convenience accessor for the associated value of the future
85 | public var value: Value? {
86 | return try? result?.get()
| `- error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
87 | }
88 |
/host/spi-builder-workspace/Sources/Future.swift:155:50: warning: capture of 'onFulfilled' with non-sendable type '((Value) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | func addCallback(on queue: DispatchQueue, onFulfilled: ((Value) -> ())? = nil, onRejected: ((Error) -> ())? = nil) {
154 | lockQueue.async {
155 | let callback = Callback(onFulfilled: onFulfilled,
| |- warning: capture of 'onFulfilled' with non-sendable type '((Value) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | onRejected: onRejected,
157 | queue: queue)
/host/spi-builder-workspace/Sources/Future.swift:156:49: warning: capture of 'onRejected' with non-sendable type '((any Error) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 | lockQueue.async {
155 | let callback = Callback(onFulfilled: onFulfilled,
156 | onRejected: onRejected,
| |- warning: capture of 'onRejected' with non-sendable type '((any Error) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 | queue: queue)
158 | self.callbacks.append(callback)
/host/spi-builder-workspace/Sources/Future.swift:158:13: warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
46 |
47 | /// Generic value type
:
156 | onRejected: onRejected,
157 | queue: queue)
158 | self.callbacks.append(callback)
| `- warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
159 | }
160 | fireCompletionCallbacks()
/host/spi-builder-workspace/Sources/Future.swift:166:20: warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
46 |
47 | /// Generic value type
:
164 | private func fireCompletionCallbacks() {
165 | lockQueue.async {
166 | switch self.state {
| `- warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
167 | case .resolved, .rejected:
168 | self.callbacks.forEach { callback in
/host/spi-builder-workspace/Sources/Future.swift:169:21: warning: capture of 'self' with non-sendable type 'Future<Value>' in an isolated closure; this is an error in the Swift 6 language mode
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
46 |
47 | /// Generic value type
:
167 | case .resolved, .rejected:
168 | self.callbacks.forEach { callback in
169 | self._result.map(callback.executeCallback)
| `- warning: capture of 'self' with non-sendable type 'Future<Value>' in an isolated closure; this is an error in the Swift 6 language mode
170 | }
171 | self.callbacks.removeAll()
[14/20] Compiling Futura FutureError.swift
/host/spi-builder-workspace/Sources/Future.swift:86:16: error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
84 | /// Convenience accessor for the associated value of the future
85 | public var value: Value? {
86 | return try? result?.get()
| `- error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
87 | }
88 |
/host/spi-builder-workspace/Sources/Future.swift:155:50: warning: capture of 'onFulfilled' with non-sendable type '((Value) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
153 | func addCallback(on queue: DispatchQueue, onFulfilled: ((Value) -> ())? = nil, onRejected: ((Error) -> ())? = nil) {
154 | lockQueue.async {
155 | let callback = Callback(onFulfilled: onFulfilled,
| |- warning: capture of 'onFulfilled' with non-sendable type '((Value) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | onRejected: onRejected,
157 | queue: queue)
/host/spi-builder-workspace/Sources/Future.swift:156:49: warning: capture of 'onRejected' with non-sendable type '((any Error) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 | lockQueue.async {
155 | let callback = Callback(onFulfilled: onFulfilled,
156 | onRejected: onRejected,
| |- warning: capture of 'onRejected' with non-sendable type '((any Error) -> ())?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 | queue: queue)
158 | self.callbacks.append(callback)
/host/spi-builder-workspace/Sources/Future.swift:158:13: warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
46 |
47 | /// Generic value type
:
156 | onRejected: onRejected,
157 | queue: queue)
158 | self.callbacks.append(callback)
| `- warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
159 | }
160 | fireCompletionCallbacks()
/host/spi-builder-workspace/Sources/Future.swift:166:20: warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
46 |
47 | /// Generic value type
:
164 | private func fireCompletionCallbacks() {
165 | lockQueue.async {
166 | switch self.state {
| `- warning: capture of 'self' with non-sendable type 'Future<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
167 | case .resolved, .rejected:
168 | self.callbacks.forEach { callback in
/host/spi-builder-workspace/Sources/Future.swift:169:21: warning: capture of 'self' with non-sendable type 'Future<Value>' in an isolated closure; this is an error in the Swift 6 language mode
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: generic class 'Future' does not conform to the 'Sendable' protocol
46 |
47 | /// Generic value type
:
167 | case .resolved, .rejected:
168 | self.callbacks.forEach { callback in
169 | self._result.map(callback.executeCallback)
| `- warning: capture of 'self' with non-sendable type 'Future<Value>' in an isolated closure; this is an error in the Swift 6 language mode
170 | }
171 | self.callbacks.removeAll()
[15/20] Compiling Futura Future+Always.swift
[16/20] Compiling Futura Future+Do.swift
[17/20] Emitting module Futura
/host/spi-builder-workspace/Sources/Future+Retry.swift:21:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | /// - Returns: existing Future object
20 | @discardableResult
21 | public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 |
23 | var attemptsLeft = attempts
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// - Parameter futures: an array of futures of the same type
15 | /// - Returns: a single promise combining the resolved values of `futures`
16 | public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return Promise<[Value]>{ (fullfill, reject) in
18 | if futures.isEmpty {
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:37:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | /// - Parameter futures: an array of futures of the same type
36 | /// - Returns: a single future combining the resolved values of `futures`
37 | public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return all(futures)
39 | }
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
[18/20] Compiling Futura Callback.swift
/host/spi-builder-workspace/Sources/Callback.swift:30:17: warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic struct 'Callback' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
28 | case .success(let value):
29 | queue.async {
30 | self.onFulfilled?(value)
| `- warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | case .failure(let error):
/host/spi-builder-workspace/Sources/Callback.swift:30:35: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
28 | case .success(let value):
29 | queue.async {
30 | self.onFulfilled?(value)
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | case .failure(let error):
/host/spi-builder-workspace/Sources/Callback.swift:34:17: warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic struct 'Callback' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
32 | case .failure(let error):
33 | queue.async {
34 | self.onRejected?(error)
| `- warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
35 | }
36 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type 'Self' has no member 'containsOnly'
41 | fullfill(self.compactMap { $0.value })
42 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
41 | fullfill(self.compactMap { $0.value })
42 | }
[19/20] Compiling Futura Collection+Future.swift
/host/spi-builder-workspace/Sources/Callback.swift:30:17: warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic struct 'Callback' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
28 | case .success(let value):
29 | queue.async {
30 | self.onFulfilled?(value)
| `- warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | case .failure(let error):
/host/spi-builder-workspace/Sources/Callback.swift:30:35: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
28 | case .success(let value):
29 | queue.async {
30 | self.onFulfilled?(value)
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | case .failure(let error):
/host/spi-builder-workspace/Sources/Callback.swift:34:17: warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic struct 'Callback' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
32 | case .failure(let error):
33 | queue.async {
34 | self.onRejected?(error)
| `- warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
35 | }
36 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type 'Self' has no member 'containsOnly'
41 | fullfill(self.compactMap { $0.value })
42 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
41 | fullfill(self.compactMap { $0.value })
42 | }
[20/20] Compiling Futura Either.swift
/host/spi-builder-workspace/Sources/Callback.swift:30:17: warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic struct 'Callback' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
28 | case .success(let value):
29 | queue.async {
30 | self.onFulfilled?(value)
| `- warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | case .failure(let error):
/host/spi-builder-workspace/Sources/Callback.swift:30:35: warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
28 | case .success(let value):
29 | queue.async {
30 | self.onFulfilled?(value)
| `- warning: capture of 'value' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | }
32 | case .failure(let error):
/host/spi-builder-workspace/Sources/Callback.swift:34:17: warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
10 |
11 | /// Object representing a piece of work to be executed upon completion of a Future
12 | struct Callback<Value> {
| `- note: consider making generic struct 'Callback' conform to the 'Sendable' protocol
13 |
14 | /// Work to execute on successful completion
:
32 | case .failure(let error):
33 | queue.async {
34 | self.onRejected?(error)
| `- warning: capture of 'self' with non-sendable type 'Callback<Value>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
35 | }
36 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type 'Self' has no member 'containsOnly'
41 | fullfill(self.compactMap { $0.value })
42 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
41 | fullfill(self.compactMap { $0.value })
42 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Emitting module Futura
/host/spi-builder-workspace/Sources/Future+Retry.swift:21:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | /// - Returns: existing Future object
20 | @discardableResult
21 | public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 |
23 | var attemptsLeft = attempts
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// - Parameter futures: an array of futures of the same type
15 | /// - Returns: a single promise combining the resolved values of `futures`
16 | public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return Promise<[Value]>{ (fullfill, reject) in
18 | if futures.isEmpty {
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:37:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | /// - Parameter futures: an array of futures of the same type
36 | /// - Returns: a single future combining the resolved values of `futures`
37 | public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return all(futures)
39 | }
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
[3/19] Compiling Futura Future+Recover.swift
/host/spi-builder-workspace/Sources/Future+Retry.swift:21:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | /// - Returns: existing Future object
20 | @discardableResult
21 | public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 |
23 | var attemptsLeft = attempts
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
[4/19] Compiling Futura Future+Retry.swift
/host/spi-builder-workspace/Sources/Future+Retry.swift:21:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 | /// - Returns: existing Future object
20 | @discardableResult
21 | public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 |
23 | var attemptsLeft = attempts
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
[5/19] Compiling Futura Future.swift
/host/spi-builder-workspace/Sources/Future.swift:86:16: error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
84 | /// Convenience accessor for the associated value of the future
85 | public var value: Value? {
86 | return try? result?.get()
| `- error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
87 | }
88 |
[6/19] Compiling Futura FutureError.swift
/host/spi-builder-workspace/Sources/Future.swift:86:16: error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
84 | /// Convenience accessor for the associated value of the future
85 | public var value: Value? {
86 | return try? result?.get()
| `- error: value of optional type 'Value??' not unwrapped; did you mean to use 'try!' or chain with '?'?
87 | }
88 |
[7/19] Compiling Futura Future+Time.swift
[8/19] Compiling Futura Future+Validate.swift
[9/19] Compiling Futura Future+Always.swift
[10/19] Compiling Futura Future+Do.swift
[11/19] Compiling Futura Future+Map.swift
[12/19] Compiling Futura Future+Race.swift
[13/19] Compiling Futura Future+Variadic.swift
/host/spi-builder-workspace/Sources/Future+Variadic.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// - Parameter futures: an array of futures of the same type
15 | /// - Returns: a single promise combining the resolved values of `futures`
16 | public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return Promise<[Value]>{ (fullfill, reject) in
18 | if futures.isEmpty {
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:37:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | /// - Parameter futures: an array of futures of the same type
36 | /// - Returns: a single future combining the resolved values of `futures`
37 | public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return all(futures)
39 | }
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:32: error: value of type '[Future<Value>]' has no member 'containsOnly'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type '[Future<Value>]' has no member 'containsOnly'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:67: error: cannot infer contextual base in reference to member 'resolved'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
[14/19] Compiling Futura Future+Wrap.swift
/host/spi-builder-workspace/Sources/Future+Variadic.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 | /// - Parameter futures: an array of futures of the same type
15 | /// - Returns: a single promise combining the resolved values of `futures`
16 | public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 | return Promise<[Value]>{ (fullfill, reject) in
18 | if futures.isEmpty {
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:37:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 | /// - Parameter futures: an array of futures of the same type
36 | /// - Returns: a single future combining the resolved values of `futures`
37 | public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
| `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | return all(futures)
39 | }
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
43 |
44 | /// Generic class for a Future
45 | public class Future<Value>: FutureType {
| `- note: 'Value' previously declared here
46 |
47 | /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:32: error: value of type '[Future<Value>]' has no member 'containsOnly'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type '[Future<Value>]' has no member 'containsOnly'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:67: error: cannot infer contextual base in reference to member 'resolved'
21 | futures.forEach({ (future) in
22 | future.then({ _ in
23 | if futures.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
24 | fullfill(futures.compactMap({ $0.value }))
25 | }
[15/19] Compiling Futura Callback.swift
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type 'Self' has no member 'containsOnly'
41 | fullfill(self.compactMap { $0.value })
42 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
41 | fullfill(self.compactMap { $0.value })
42 | }
[16/19] Compiling Futura Collection+Future.swift
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type 'Self' has no member 'containsOnly'
41 | fullfill(self.compactMap { $0.value })
42 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
41 | fullfill(self.compactMap { $0.value })
42 | }
[17/19] Compiling Futura Either.swift
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: value of type 'Self' has no member 'containsOnly'
41 | fullfill(self.compactMap { $0.value })
42 | }
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
38 | for future in self {
39 | future.then(on: queue) { _ in
40 | if self.containsOnly(where: { $0.state == .resolved }) {
| `- error: cannot infer contextual base in reference to member 'resolved'
41 | fullfill(self.compactMap { $0.value })
42 | }
[18/19] Compiling Futura Promise+Void.swift
[19/19] Compiling Futura Promise.swift
BUILD FAILURE 6.1 android