Build Information
Failed to build Prelude, reference 0.1.2 (5f0b12
), with Swift 6.0 for Linux on 28 Nov 2024 06:54:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.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.0
Building package at path: $PWD
https://github.com/pointfreeco/swift-prelude.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/17] Compiling Prelude Array.swift
[4/17] Compiling Prelude Choice.swift
[5/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)
/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: annotate 'unit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
[6/18] Compiling Prelude Strong.swift
[7/18] Compiling Prelude Tuple.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 | }
[10/18] Compiling Prelude PrecedenceGroups.swift
[11/18] Compiling Prelude Semigroup.swift
[12/18] Compiling Prelude Operators.swift
[13/18] Compiling Prelude Optional.swift
[14/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: annotate 'unit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
[15/18] Compiling Prelude Either.swift
[16/18] Compiling Prelude Function.swift
[17/18] Compiling Prelude KeyPath.swift
[18/18] Compiling Prelude Monoid.swift
BUILD FAILURE 6.0 linux