The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Prelude, reference 0.1.2 (5f0b12), with Swift 6.1 for Android on 28 May 2025 02:18:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/pointfreeco/swift-prelude.git
https://github.com/pointfreeco/swift-prelude.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Prelude",
  "name" : "Prelude",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Prelude",
      "targets" : [
        "Prelude"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PreludeTests",
      "module_type" : "SwiftTarget",
      "name" : "PreludeTests",
      "path" : "Tests/PreludeTests",
      "sources" : [
        "ArrayTests.swift",
        "ChoiceTests.swift",
        "EitherTests.swift",
        "FunctionTests.swift",
        "KeyPathTests.swift",
        "MonoidTests.swift",
        "OptionalTests.swift",
        "SemigroupTests.swift",
        "SequenceTests.swift",
        "StringTests.swift",
        "StrongTests.swift",
        "TupleTests.swift",
        "UnitTests.swift"
      ],
      "target_dependencies" : [
        "Prelude"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Prelude",
      "module_type" : "SwiftTarget",
      "name" : "Prelude",
      "path" : "Sources/Prelude",
      "product_memberships" : [
        "Prelude"
      ],
      "sources" : [
        "Array.swift",
        "Choice.swift",
        "Either.swift",
        "Function.swift",
        "KeyPath.swift",
        "Monoid.swift",
        "Operators.swift",
        "Optional.swift",
        "PrecedenceGroups.swift",
        "Semigroup.swift",
        "Sequence.swift",
        "String.swift",
        "Strong.swift",
        "Tuple.swift",
        "Unit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Prelude Strong.swift
[4/17] Compiling Prelude Tuple.swift
[5/18] Compiling Prelude Unit.swift
/host/spi-builder-workspace/Sources/Prelude/Unit.swift:3:12: warning: let 'unit' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Unit {}
  |               `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
2 |
3 | public let unit = Unit()
  |            |- warning: let 'unit' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
  |            |- note: add '@MainActor' to make let 'unit' part of global actor 'MainActor'
  |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
[6/18] Compiling Prelude Operators.swift
[7/18] Compiling Prelude Optional.swift
[8/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'
 31 | }
 32 |
 33 | public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                   `- error: 'SubSequence' is not a member type of type 'S'
 34 |   return { xs in
 35 |     xs.drop(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
 37 | }
 38 |
 39 | public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                  `- error: 'SubSequence' is not a member type of type 'S'
 40 |   return xs.dropFirst()
 41 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
 41 | }
 42 |
 43 | public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                          `- error: 'SubSequence' is not a member type of type 'S'
 44 |   return { xs in
 45 |     xs.dropFirst(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
 47 | }
 48 |
 49 | public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                 `- error: 'SubSequence' is not a member type of type 'S'
 50 |   return xs.dropLast()
 51 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
 51 | }
 52 |
 53 | public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                         `- error: 'SubSequence' is not a member type of type 'S'
 54 |   return { xs in
 55 |     xs.dropLast(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
 81 | }
 82 |
 83 | public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
 84 |   return { xs in
 85 |     xs.prefix(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
 87 | }
 88 |
 89 | public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                     `- error: 'SubSequence' is not a member type of type 'S'
 90 |   return { xs in
 91 |     xs.prefix(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
101 | }
102 |
103 | public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
104 |   return { xs in
105 |     xs.suffix(n)
/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
 13 | public func mapOptional<S: Sequence, A>(_ f: @escaping (S.Element) -> A?) -> (S) -> [A] {
 14 |   return { xs in
 15 |     xs.flatMap(f)
    |        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |        `- note: use 'compactMap(_:)' instead
 16 |   }
 17 | }
[9/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'
 31 | }
 32 |
 33 | public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                   `- error: 'SubSequence' is not a member type of type 'S'
 34 |   return { xs in
 35 |     xs.drop(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
 37 | }
 38 |
 39 | public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                  `- error: 'SubSequence' is not a member type of type 'S'
 40 |   return xs.dropFirst()
 41 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
 41 | }
 42 |
 43 | public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                          `- error: 'SubSequence' is not a member type of type 'S'
 44 |   return { xs in
 45 |     xs.dropFirst(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
 47 | }
 48 |
 49 | public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                 `- error: 'SubSequence' is not a member type of type 'S'
 50 |   return xs.dropLast()
 51 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
 51 | }
 52 |
 53 | public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                         `- error: 'SubSequence' is not a member type of type 'S'
 54 |   return { xs in
 55 |     xs.dropLast(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
 81 | }
 82 |
 83 | public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
 84 |   return { xs in
 85 |     xs.prefix(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
 87 | }
 88 |
 89 | public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                     `- error: 'SubSequence' is not a member type of type 'S'
 90 |   return { xs in
 91 |     xs.prefix(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
101 | }
102 |
103 | public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
104 |   return { xs in
105 |     xs.suffix(n)
/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
 13 | public func mapOptional<S: Sequence, A>(_ f: @escaping (S.Element) -> A?) -> (S) -> [A] {
 14 |   return { xs in
 15 |     xs.flatMap(f)
    |        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |        `- note: use 'compactMap(_:)' instead
 16 |   }
 17 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/18] Compiling Prelude Array.swift
[11/18] Compiling Prelude Choice.swift
[12/18] Compiling Prelude Either.swift
[13/18] Compiling Prelude Function.swift
[14/18] Compiling Prelude KeyPath.swift
[15/18] Compiling Prelude Monoid.swift
[16/18] Emitting module Prelude
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:33:83: error: 'SubSequence' is not a member type of type 'S'
 31 | }
 32 |
 33 | public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                   `- error: 'SubSequence' is not a member type of type 'S'
 34 |   return { xs in
 35 |     xs.drop(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
 37 | }
 38 |
 39 | public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                  `- error: 'SubSequence' is not a member type of type 'S'
 40 |   return xs.dropFirst()
 41 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
 41 | }
 42 |
 43 | public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                          `- error: 'SubSequence' is not a member type of type 'S'
 44 |   return { xs in
 45 |     xs.dropFirst(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
 47 | }
 48 |
 49 | public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                 `- error: 'SubSequence' is not a member type of type 'S'
 50 |   return xs.dropLast()
 51 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
 51 | }
 52 |
 53 | public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                         `- error: 'SubSequence' is not a member type of type 'S'
 54 |   return { xs in
 55 |     xs.dropLast(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
 81 | }
 82 |
 83 | public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
 84 |   return { xs in
 85 |     xs.prefix(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
 87 | }
 88 |
 89 | public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                     `- error: 'SubSequence' is not a member type of type 'S'
 90 |   return { xs in
 91 |     xs.prefix(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
101 | }
102 |
103 | public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
104 |   return { xs in
105 |     xs.suffix(n)
/host/spi-builder-workspace/Sources/Prelude/Unit.swift:3:12: warning: let 'unit' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Unit {}
  |               `- note: consider making struct 'Unit' conform to the 'Sendable' protocol
2 |
3 | public let unit = Unit()
  |            |- warning: let 'unit' is not concurrency-safe because non-'Sendable' type 'Unit' may have shared mutable state; this is an error in the Swift 6 language mode
  |            |- note: add '@MainActor' to make let 'unit' part of global actor 'MainActor'
  |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
[17/18] Compiling Prelude PrecedenceGroups.swift
[18/18] Compiling Prelude Semigroup.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/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'
 31 | }
 32 |
 33 | public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                   `- error: 'SubSequence' is not a member type of type 'S'
 34 |   return { xs in
 35 |     xs.drop(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
 37 | }
 38 |
 39 | public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                  `- error: 'SubSequence' is not a member type of type 'S'
 40 |   return xs.dropFirst()
 41 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
 41 | }
 42 |
 43 | public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                          `- error: 'SubSequence' is not a member type of type 'S'
 44 |   return { xs in
 45 |     xs.dropFirst(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
 47 | }
 48 |
 49 | public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                 `- error: 'SubSequence' is not a member type of type 'S'
 50 |   return xs.dropLast()
 51 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
 51 | }
 52 |
 53 | public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                         `- error: 'SubSequence' is not a member type of type 'S'
 54 |   return { xs in
 55 |     xs.dropLast(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
 81 | }
 82 |
 83 | public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
 84 |   return { xs in
 85 |     xs.prefix(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
 87 | }
 88 |
 89 | public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                     `- error: 'SubSequence' is not a member type of type 'S'
 90 |   return { xs in
 91 |     xs.prefix(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
101 | }
102 |
103 | public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
104 |   return { xs in
105 |     xs.suffix(n)
/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
 13 | public func mapOptional<S: Sequence, A>(_ f: @escaping (S.Element) -> A?) -> (S) -> [A] {
 14 |   return { xs in
 15 |     xs.flatMap(f)
    |        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |        `- note: use 'compactMap(_:)' instead
 16 |   }
 17 | }
[3/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'
 31 | }
 32 |
 33 | public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                   `- error: 'SubSequence' is not a member type of type 'S'
 34 |   return { xs in
 35 |     xs.drop(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
 37 | }
 38 |
 39 | public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                  `- error: 'SubSequence' is not a member type of type 'S'
 40 |   return xs.dropFirst()
 41 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
 41 | }
 42 |
 43 | public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                          `- error: 'SubSequence' is not a member type of type 'S'
 44 |   return { xs in
 45 |     xs.dropFirst(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
 47 | }
 48 |
 49 | public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                 `- error: 'SubSequence' is not a member type of type 'S'
 50 |   return xs.dropLast()
 51 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
 51 | }
 52 |
 53 | public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                         `- error: 'SubSequence' is not a member type of type 'S'
 54 |   return { xs in
 55 |     xs.dropLast(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
 81 | }
 82 |
 83 | public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
 84 |   return { xs in
 85 |     xs.prefix(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
 87 | }
 88 |
 89 | public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                     `- error: 'SubSequence' is not a member type of type 'S'
 90 |   return { xs in
 91 |     xs.prefix(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
101 | }
102 |
103 | public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
104 |   return { xs in
105 |     xs.suffix(n)
/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
 13 | public func mapOptional<S: Sequence, A>(_ f: @escaping (S.Element) -> A?) -> (S) -> [A] {
 14 |   return { xs in
 15 |     xs.flatMap(f)
    |        |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
    |        `- note: use 'compactMap(_:)' instead
 16 |   }
 17 | }
[4/16] Compiling Prelude Strong.swift
[5/16] Compiling Prelude Tuple.swift
[6/17] Compiling Prelude PrecedenceGroups.swift
[7/17] Compiling Prelude Semigroup.swift
[8/17] Compiling Prelude Either.swift
[9/17] Compiling Prelude Function.swift
[10/17] Compiling Prelude Operators.swift
[11/17] Compiling Prelude Optional.swift
[12/17] Compiling Prelude KeyPath.swift
[13/17] Compiling Prelude Monoid.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/17] Compiling Prelude Array.swift
[15/17] Compiling Prelude Choice.swift
[16/17] Emitting module Prelude
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:33:83: error: 'SubSequence' is not a member type of type 'S'
 31 | }
 32 |
 33 | public func drop<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                   `- error: 'SubSequence' is not a member type of type 'S'
 34 |   return { xs in
 35 |     xs.drop(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:39:50: error: 'SubSequence' is not a member type of type 'S'
 37 | }
 38 |
 39 | public func dropFirst<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                  `- error: 'SubSequence' is not a member type of type 'S'
 40 |   return xs.dropFirst()
 41 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:43:58: error: 'SubSequence' is not a member type of type 'S'
 41 | }
 42 |
 43 | public func dropFirst<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                          `- error: 'SubSequence' is not a member type of type 'S'
 44 |   return { xs in
 45 |     xs.dropFirst(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:49:49: error: 'SubSequence' is not a member type of type 'S'
 47 | }
 48 |
 49 | public func dropLast<S: Sequence>(_ xs: S) -> S.SubSequence {
    |                                                 `- error: 'SubSequence' is not a member type of type 'S'
 50 |   return xs.dropLast()
 51 | }
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:53:57: error: 'SubSequence' is not a member type of type 'S'
 51 | }
 52 |
 53 | public func dropLast<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                         `- error: 'SubSequence' is not a member type of type 'S'
 54 |   return { xs in
 55 |     xs.dropLast(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:83:55: error: 'SubSequence' is not a member type of type 'S'
 81 | }
 82 |
 83 | public func prefix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
 84 |   return { xs in
 85 |     xs.prefix(n)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:89:85: error: 'SubSequence' is not a member type of type 'S'
 87 | }
 88 |
 89 | public func prefix<S: Sequence>(while p: @escaping (S.Element) -> Bool) -> (S) -> S.SubSequence {
    |                                                                                     `- error: 'SubSequence' is not a member type of type 'S'
 90 |   return { xs in
 91 |     xs.prefix(while: p)
/host/spi-builder-workspace/Sources/Prelude/Sequence.swift:103:55: error: 'SubSequence' is not a member type of type 'S'
101 | }
102 |
103 | public func suffix<S: Sequence>(_ n: Int) -> (S) -> S.SubSequence {
    |                                                       `- error: 'SubSequence' is not a member type of type 'S'
104 |   return { xs in
105 |     xs.suffix(n)
[17/17] Compiling Prelude Unit.swift
BUILD FAILURE 6.1 android