Build Information
Failed to build FuturaAsync with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/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/kaqu/futuraasync.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/kaqu/futuraasync
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 52a7f9c Result -> Either change
Cloned https://github.com/kaqu/futuraasync.git
Revision (git rev-parse @):
52a7f9c39634d26b53bacc4099786e4001df42cc
SUCCESS checkout https://github.com/kaqu/futuraasync.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/kaqu/futuraasync.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kaqu/FuturaFunc.git
[1/90] Fetching futurafunc
Fetched https://github.com/kaqu/FuturaFunc.git from cache (0.41s)
Creating working copy for https://github.com/kaqu/FuturaFunc.git
Working copy of https://github.com/kaqu/FuturaFunc.git resolved at master (aae2984)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling FuturaFunc Filter.swift
[5/14] Compiling FuturaFunc Flip.swift
[6/15] Compiling FuturaFunc PrecedenceGroups.swift
[7/15] Compiling FuturaFunc xxx.swift
[8/15] Emitting module FuturaFunc
[9/15] Compiling FuturaFunc Application.swift
[10/15] Compiling FuturaFunc Composition.swift
[11/15] Compiling FuturaFunc Lens.swift
[12/15] Compiling FuturaFunc Operators.swift
[13/15] Compiling FuturaFunc Map.swift
[14/15] Compiling FuturaFunc Curry.swift
[15/15] Compiling FuturaFunc Either.swift
[17/28] Compiling FuturaAsync Worker.swift
[18/29] Compiling FuturaAsync Future+Join.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Future.swift:16:28: error: cannot find 'expectation' in scope
guard case .none = expectation else { return }
^~~~~~~~~~~
[19/29] Compiling FuturaAsync Future.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Future.swift:16:28: error: cannot find 'expectation' in scope
guard case .none = expectation else { return }
^~~~~~~~~~~
[20/29] Compiling FuturaAsync EitherFuture.swift
[21/29] Compiling FuturaAsync FailableFuture.swift
[22/29] Emitting module FuturaAsync
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:7:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public convenience init<T>(using worker: Worker = asyncWorker, withRetriesCount retryCount: UInt = 0, performing task: @escaping () throws -> (T)) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func fulfill<T>(with value: T) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:23:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func `break`<T>(with error: Error = PromiseError.cancelled) where Value == Either<T, Error> {
^~~~~~~
[23/29] Compiling FuturaAsync Catchable.swift
[24/29] Compiling FuturaAsync Delayed.swift
[25/29] Compiling FuturaAsync Schedule.swift
[26/29] Compiling FuturaAsync ExecutionContext.swift
[27/29] Compiling FuturaAsync Promise.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:7:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public convenience init<T>(using worker: Worker = asyncWorker, withRetriesCount retryCount: UInt = 0, performing task: @escaping () throws -> (T)) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func fulfill<T>(with value: T) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:23:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func `break`<T>(with error: Error = PromiseError.cancelled) where Value == Either<T, Error> {
^~~~~~~
[28/29] Compiling FuturaAsync DispatchQueueWorker.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:7:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public convenience init<T>(using worker: Worker = asyncWorker, withRetriesCount retryCount: UInt = 0, performing task: @escaping () throws -> (T)) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func fulfill<T>(with value: T) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:23:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func `break`<T>(with error: Error = PromiseError.cancelled) where Value == Either<T, Error> {
^~~~~~~
[29/29] Compiling FuturaAsync Lock.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling FuturaAsync Future+Join.swift
[3/4] Compiling FuturaAsync Future.swift
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Future.swift:16:28: error: cannot find 'expectation' in scope
guard case .none = expectation else { return }
^~~~~~~~~~~
[4/4] Emitting module FuturaAsync
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:7:5: warning: 'public' modifier is redundant for initializer declared in a public extension
public convenience init<T>(using worker: Worker = asyncWorker, withRetriesCount retryCount: UInt = 0, performing task: @escaping () throws -> (T)) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:19:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func fulfill<T>(with value: T) where Value == Either<T, Error> {
^~~~~~~
/host/spi-builder-workspace/Sources/FuturaAsync/Future/Promise.swift:23:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func `break`<T>(with error: Error = PromiseError.cancelled) where Value == Either<T, Error> {
^~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux