Build Information
Failed to build Prelude, reference 0.1.2 (5f0b12
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 06:59:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
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 /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",
"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",
"dependencies": [
]
}
]
}
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3294] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.96s)
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.0
Building package at path: $PWD
https://github.com/pointfreeco/swift-prelude.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/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
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/18] Compiling Prelude Unit.swift
/Users/admin/builder/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 |
[5/18] Compiling Prelude Tuple.swift
[6/18] Compiling Prelude Strong.swift
[7/18] Compiling Prelude String.swift
[8/18] Compiling Prelude Operators.swift
[9/18] Compiling Prelude Optional.swift
[10/18] Compiling Prelude Either.swift
[11/18] Compiling Prelude Function.swift
[12/18] Compiling Prelude PrecedenceGroups.swift
[13/18] Compiling Prelude Semigroup.swift
[14/18] Compiling Prelude KeyPath.swift
[15/18] Compiling Prelude Monoid.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/18] Compiling Prelude Array.swift
[17/18] Compiling Prelude Choice.swift
[18/18] 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)
/Users/admin/builder/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 |
BUILD FAILURE 6.0 macosSpm