The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prelude 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/pointfreeco/swift-prelude.git
Reference: 0.1.2
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/pointfreeco/swift-prelude
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 5f0b128 move add/mult precedence to 6 and 7 (#9)
Cloned https://github.com/pointfreeco/swift-prelude.git
Revision (git rev-parse @):
5f0b128bf620e162d574219d3d45b272f19c8423
SUCCESS checkout https://github.com/pointfreeco/swift-prelude.git at 0.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pointfreeco/swift-prelude.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/17] Compiling Prelude Array.swift
[4/17] Compiling Prelude Choice.swift
[5/18] Compiling Prelude Unit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/18] Emitting module Prelude
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:33:83: error: 'SubSequence' is not a member type of type 'S'
public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
                                               ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                       ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
                                              ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                      ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                  ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
[7/18] Compiling Prelude KeyPath.swift
[8/18] Compiling Prelude Monoid.swift
[9/18] Compiling Prelude Either.swift
[10/18] Compiling Prelude Function.swift
[11/18] Compiling Prelude Operators.swift
[12/18] Compiling Prelude Optional.swift
[13/18] Compiling Prelude PrecedenceGroups.swift
[14/18] Compiling Prelude Semigroup.swift
[15/18] Compiling Prelude Strong.swift
[16/18] Compiling Prelude Tuple.swift
[17/18] Compiling Prelude Sequence.swift
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:33:83: error: 'SubSequence' is not a member type of type 'S'
public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
                                               ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                       ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
                                              ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                      ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                  ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:15:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    xs.flatMap(f)
       ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:15:8: note: use 'compactMap(_:)' instead
    xs.flatMap(f)
       ^~~~~~~
       compactMap
[18/18] Compiling Prelude String.swift
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:33:83: error: 'SubSequence' is not a member type of type 'S'
public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
                                               ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                       ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
                                              ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                      ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                  ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:15:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    xs.flatMap(f)
       ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:15:8: note: use 'compactMap(_:)' instead
    xs.flatMap(f)
       ^~~~~~~
       compactMap
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Compiling Prelude String.swift
[3/4] Emitting module Prelude
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:33:83: error: 'SubSequence' is not a member type of type 'S'
public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
                                               ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                       ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
                                              ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                      ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                  ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
[4/4] Compiling Prelude Sequence.swift
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:33:83: error: 'SubSequence' is not a member type of type 'S'
public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
                                               ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                       ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
                                              ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                      ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
                                                                                  ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
                                                    ~ ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:15:8: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    xs.flatMap(f)
       ^
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:15:8: note: use 'compactMap(_:)' instead
    xs.flatMap(f)
       ^~~~~~~
       compactMap
[5/5] Compiling Prelude Array.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1