Build Information
Failed to build Prelude, reference 0.1.2 (5f0b12
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 04:14:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: 6.2
Building package at path: $PWD
https://github.com/pointfreeco/swift-prelude.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/17] Compiling Prelude Operators.swift
[4/17] Compiling Prelude Optional.swift
[5/17] Compiling Prelude PrecedenceGroups.swift
[6/17] Compiling Prelude Semigroup.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/18] Compiling Prelude Either.swift
[8/18] Compiling Prelude Function.swift
[9/18] Compiling Prelude KeyPath.swift
[10/18] Compiling Prelude Monoid.swift
[11/18] Compiling Prelude Array.swift
[12/18] Compiling Prelude Choice.swift
[13/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)
[14/18] Compiling Prelude Unit.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'
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 [#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 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 [#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>
BUILD FAILURE 6.2 linux