The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thedavidharris/Futura.git
Reference: master
Cloned https://github.com/thedavidharris/Futura.git into spi-builder-workspace
SUCCESS checkout https://github.com/thedavidharris/Futura.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/16] 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 {
                    ^
[2/18] 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 {
                    ^
[3/18] 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 {
                    ^
[4/18] Compiling Futura Promise+Void.swift
[5/18] Compiling Futura Promise.swift
[6/18] Compiling Futura Future+Time.swift
[7/18] Compiling Futura Future+Validate.swift
[8/18] Compiling Futura Future+Map.swift
[9/18] Compiling Futura Future+Race.swift
[10/18] Compiling Futura Future+Always.swift
[11/18] Compiling Futura Future+Do.swift
[12/18] 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!
[13/18] 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!
[14/18] 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 }) {
                                                                 ~^~~~~~~~
[15/18] 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 }) {
                                                                 ~^~~~~~~~
[16/18] 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 }) {
                                                              ~^~~~~~~~
[17/18] 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 }) {
                                                              ~^~~~~~~~
[18/18] 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 }) {
                                                              ~^~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1