The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Futura.swift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/thedavidharris/Futura.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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 Swift 6
    public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
                      ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/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 Swift 6
    public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/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 Swift 6
    public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
[4/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 Swift 6
    public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
                      ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
[5/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 Swift 6
    public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
                      ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
[6/20] Compiling Futura Callback.swift
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                       ~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                                                              ~^~~~~~~~
[7/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'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                       ~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                                                              ~^~~~~~~~
[8/20] Compiling Futura Either.swift
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                       ~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                                                              ~^~~~~~~~
[9/20] Compiling Futura Promise+Void.swift
[10/20] Compiling Futura Promise.swift
[11/20] Compiling Futura Future+Time.swift
[12/20] Compiling Futura Future+Validate.swift
[13/20] Compiling Futura Future+Always.swift
[14/20] Compiling Futura Future+Do.swift
[15/20] Compiling Futura Future+Map.swift
[16/20] Compiling Futura Future+Race.swift
[17/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 Swift 6
    public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/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 Swift 6
    public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:32: error: value of type '[Future<Value>]' has no member 'containsOnly'
                    if futures.containsOnly(where: { $0.state == .resolved }) {
                       ~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:67: error: cannot infer contextual base in reference to member 'resolved'
                    if futures.containsOnly(where: { $0.state == .resolved }) {
                                                                 ~^~~~~~~~
[18/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 Swift 6
    public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/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 Swift 6
    public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:32: error: value of type '[Future<Value>]' has no member 'containsOnly'
                    if futures.containsOnly(where: { $0.state == .resolved }) {
                       ~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:67: error: cannot infer contextual base in reference to member 'resolved'
                    if futures.containsOnly(where: { $0.state == .resolved }) {
                                                                 ~^~~~~~~~
[19/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 '?'?
        return try? result?.get()
               ^~~~
               try!
[20/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 '?'?
        return try? result?.get()
               ^~~~
               try!
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling Futura FutureError.swift
[3/10] Compiling Futura Future+Wrap.swift
[4/10] 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 '?'?
        return try? result?.get()
               ^~~~
               try!
[5/12] Compiling Futura Either.swift
[6/12] Compiling Futura Callback.swift
[7/12] 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 Swift 6
    public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
                      ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/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 Swift 6
    public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/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 Swift 6
    public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
[8/12] Compiling Futura Collection+Future.swift
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:29: error: value of type 'Self' has no member 'containsOnly'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                       ~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Collection+Future.swift:40:64: error: cannot infer contextual base in reference to member 'resolved'
                    if self.containsOnly(where: { $0.state == .resolved }) {
                                                              ~^~~~~~~~
[9/12] 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 Swift 6
    public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/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 Swift 6
    public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
                           ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:32: error: value of type '[Future<Value>]' has no member 'containsOnly'
                    if futures.containsOnly(where: { $0.state == .resolved }) {
                       ~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Future+Variadic.swift:23:67: error: cannot infer contextual base in reference to member 'resolved'
                    if futures.containsOnly(where: { $0.state == .resolved }) {
                                                                 ~^~~~~~~~
[10/17] Compiling Futura Future+Race.swift
[11/18] Compiling Futura Future+Validate.swift
[12/18] Compiling Futura Future+Time.swift
[13/19] Compiling Futura Future+Always.swift
[14/19] Compiling Futura Future+Recover.swift
[15/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 Swift 6
    public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
                      ^
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
public class Future<Value>: FutureType {
                    ^
[16/19] Compiling Futura Future+Map.swift
[17/19] Compiling Futura Future+Do.swift
[18/19] Compiling Futura Promise+Void.swift
[19/19] Compiling Futura Promise.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1