The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Prelude, reference 0.1.2 (5f0b12), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 12:44:09 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swift-prelude.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-prelude",
      "name": "Prelude",
      "url": "https://github.com/pointfreeco/swift-prelude.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-prelude",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3298] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.91s)
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at 0.1.2 (5f0b128)
warning: '.resolve-product-dependencies': dependency 'swift-prelude' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/pointfreeco/swift-prelude.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/17] Compiling Prelude Tuple.swift
[4/17] Compiling Prelude String.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/17] Compiling Prelude PrecedenceGroups.swift
[6/17] Compiling Prelude Semigroup.swift
[7/17] Compiling Prelude Operators.swift
[8/17] Compiling Prelude Optional.swift
[9/17] Compiling Prelude KeyPath.swift
[10/17] Compiling Prelude Monoid.swift
[11/17] Compiling Prelude Either.swift
[12/17] Compiling Prelude Function.swift
[13/17] Compiling Prelude Array.swift
[14/17] Compiling Prelude Choice.swift
[15/17] Compiling Prelude Strong.swift
[16/17] Emitting module Prelude
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 Sequence.swift
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 [#DeprecatedDeclaration]
 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 [#DeprecatedDeclaration]
    |        `- note: use 'compactMap(_:)' instead
 16 |   }
 17 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/18] Compiling Prelude Unit.swift
BUILD FAILURE 6.3 macosSpm