The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Futura.swift, reference master (1dd68c), with Swift 6.3 for Linux on 10 Apr 2026 07:45:21 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/thedavidharris/Futura.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/18] 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
[4/20] Compiling Futura Promise+Void.swift
[5/20] Compiling Futura Promise.swift
[6/20] Compiling Futura Future+Time.swift
[7/20] Compiling Futura Future+Validate.swift
[8/20] Compiling Futura Future.swift
/host/spi-builder-workspace/Sources/Future.swift:86:29: error: cannot convert return expression of type 'Value??' to return type 'Value?'
 84 |     /// Convenience accessor for the associated value of the future
 85 |     public var value: Value? {
 86 |         return try? result?.get()
    |                             |- error: cannot convert return expression of type 'Value??' to return type 'Value?'
    |                             `- note: arguments to generic parameter 'Wrapped' ('Value?' and 'Value') are expected to be equal
 87 |     }
 88 |
[9/20] Compiling Futura FutureError.swift
/host/spi-builder-workspace/Sources/Future.swift:86:29: error: cannot convert return expression of type 'Value??' to return type 'Value?'
 84 |     /// Convenience accessor for the associated value of the future
 85 |     public var value: Value? {
 86 |         return try? result?.get()
    |                             |- error: cannot convert return expression of type 'Value??' to return type 'Value?'
    |                             `- note: arguments to generic parameter 'Wrapped' ('Value?' and 'Value') are expected to be equal
 87 |     }
 88 |
[10/20] 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 |                     }
[11/20] 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 |                     }
[12/20] 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 |                     }
[13/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 |                     }
[14/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 |                     }
[15/20] Compiling Futura Future+Always.swift
[16/20] Compiling Futura Future+Do.swift
[17/20] Compiling Futura Future+Map.swift
[18/20] Compiling Futura Future+Race.swift
[19/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
[20/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
BUILD FAILURE 6.3 linux