The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prelude 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/pointfreeco/swift-prelude.git
Reference: 0.1.2
Cloned https://github.com/pointfreeco/swift-prelude.git into spi-builder-workspace
SUCCESS checkout https://github.com/pointfreeco/swift-prelude.git at 0.1.2
========================================
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...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/15] Compiling Prelude Array.swift
[2/15] Compiling Prelude Choice.swift
[3/15] 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/16] Compiling Prelude Unit.swift
[5/16] Compiling Prelude Either.swift
[6/16] Compiling Prelude Function.swift
[7/16] Compiling Prelude KeyPath.swift
[8/16] Compiling Prelude Monoid.swift
[9/16] Compiling Prelude Strong.swift
[10/16] Compiling Prelude Tuple.swift
[11/16] 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
[12/16] 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
[13/16] Compiling Prelude PrecedenceGroups.swift
[14/16] Compiling Prelude Semigroup.swift
[15/16] Compiling Prelude Operators.swift
[16/16] Compiling Prelude Optional.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1