Build Information
Failed to build CombinePrintout, reference master (721fd7
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 03:02:51 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineCommunity/CombinePrintout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CombineCommunity/CombinePrintout
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 721fd79 readme update
Cloned https://github.com/CombineCommunity/CombinePrintout.git
Revision (git rev-parse @):
721fd799f083c57ca59f8658d874c854b2f97348
SUCCESS checkout https://github.com/CombineCommunity/CombinePrintout.git at master
========================================
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": "combineprintout",
"name": "CombinePrintout",
"url": "https://github.com/CombineCommunity/CombinePrintout.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CombinePrintout",
"dependencies": [
]
}
]
}
Fetching https://github.com/CombineCommunity/CombinePrintout.git
[1/30] Fetching combineprintout
Fetched https://github.com/CombineCommunity/CombinePrintout.git from cache (0.63s)
Creating working copy for https://github.com/CombineCommunity/CombinePrintout.git
Working copy of https://github.com/CombineCommunity/CombinePrintout.git resolved at master (721fd79)
warning: '.resolve-product-dependencies': dependency 'combineprintout' 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/CombineCommunity/CombinePrintout.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CombinePrintout
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:4:16: error: 'AnyCancellable' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | class PrintCancellable: Cancellable {
| `- note: add @available attribute to enclosing class
4 | let wrapped: AnyCancellable
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
5 | let id: String
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:7:19: error: 'AnyCancellable' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | class PrintCancellable: Cancellable {
| `- note: add @available attribute to enclosing class
4 | let wrapped: AnyCancellable
5 | let id: String
6 |
7 | init(_ wrapped: AnyCancellable, id: String? = nil) {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
8 | self.wrapped = wrapped
9 | self.id = id ?? ""
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:27:54: error: 'AnyCancellable' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension Cancellable {
| `- note: add @available attribute to enclosing extension
24 |
25 | /// A debugging `Cancellable` wrapper that prints out `Cancellable` life cycle events.
26 | /// - Parameter id: An optional identifier to print along the output.
27 | public func printCancellable(id: String? = nil) -> AnyCancellable {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | return AnyCancellable(PrintCancellable(AnyCancellable(self), id: id))
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:23:11: error: 'Cancellable' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension Cancellable {
| | `- error: 'Cancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 |
25 | /// A debugging `Cancellable` wrapper that prints out `Cancellable` life cycle events.
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:36:45: error: 'AnyCancellable' is only available in macOS 10.15 or newer
30 | }
31 |
32 | extension Publisher {
| `- note: add @available attribute to enclosing extension
33 |
34 | /// A debugging sink that prints all received events.
35 | /// - Parameter id: An optional identifier to print along the output.
36 | public func printSink(id: String = "") -> AnyCancellable {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
37 | return sink(receiveCompletion: { Swift.print("Sink: \($0) \(id)") },
38 | receiveValue: { Swift.print("Sink: output(\($0)) \(id)") })
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:32:11: error: 'Publisher' is only available in macOS 10.15 or newer
30 | }
31 |
32 | extension Publisher {
| | `- error: 'Publisher' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
33 |
34 | /// A debugging sink that prints all received events.
[4/4] Compiling CombinePrintout CombinePrintout.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:4:16: error: 'AnyCancellable' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | class PrintCancellable: Cancellable {
| `- note: add @available attribute to enclosing class
4 | let wrapped: AnyCancellable
| `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
5 | let id: String
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:7:19: error: 'AnyCancellable' is only available in macOS 10.15 or newer
1 | import Combine
2 |
3 | class PrintCancellable: Cancellable {
| `- note: add @available attribute to enclosing class
4 | let wrapped: AnyCancellable
5 | let id: String
6 |
7 | init(_ wrapped: AnyCancellable, id: String? = nil) {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
8 | self.wrapped = wrapped
9 | self.id = id ?? ""
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:27:54: error: 'AnyCancellable' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension Cancellable {
| `- note: add @available attribute to enclosing extension
24 |
25 | /// A debugging `Cancellable` wrapper that prints out `Cancellable` life cycle events.
26 | /// - Parameter id: An optional identifier to print along the output.
27 | public func printCancellable(id: String? = nil) -> AnyCancellable {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
28 | return AnyCancellable(PrintCancellable(AnyCancellable(self), id: id))
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:23:11: error: 'Cancellable' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension Cancellable {
| | `- error: 'Cancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 |
25 | /// A debugging `Cancellable` wrapper that prints out `Cancellable` life cycle events.
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:36:45: error: 'AnyCancellable' is only available in macOS 10.15 or newer
30 | }
31 |
32 | extension Publisher {
| `- note: add @available attribute to enclosing extension
33 |
34 | /// A debugging sink that prints all received events.
35 | /// - Parameter id: An optional identifier to print along the output.
36 | public func printSink(id: String = "") -> AnyCancellable {
| | `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
37 | return sink(receiveCompletion: { Swift.print("Sink: \($0) \(id)") },
38 | receiveValue: { Swift.print("Sink: output(\($0)) \(id)") })
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:32:11: error: 'Publisher' is only available in macOS 10.15 or newer
30 | }
31 |
32 | extension Publisher {
| | `- error: 'Publisher' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
33 |
34 | /// A debugging sink that prints all received events.
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:28:12: error: 'AnyCancellable' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension Cancellable {
| `- note: add @available attribute to enclosing extension
24 |
25 | /// A debugging `Cancellable` wrapper that prints out `Cancellable` life cycle events.
26 | /// - Parameter id: An optional identifier to print along the output.
27 | public func printCancellable(id: String? = nil) -> AnyCancellable {
| `- note: add @available attribute to enclosing instance method
28 | return AnyCancellable(PrintCancellable(AnyCancellable(self), id: id))
| |- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:28:44: error: 'AnyCancellable' is only available in macOS 10.15 or newer
21 | }
22 |
23 | extension Cancellable {
| `- note: add @available attribute to enclosing extension
24 |
25 | /// A debugging `Cancellable` wrapper that prints out `Cancellable` life cycle events.
26 | /// - Parameter id: An optional identifier to print along the output.
27 | public func printCancellable(id: String? = nil) -> AnyCancellable {
| `- note: add @available attribute to enclosing instance method
28 | return AnyCancellable(PrintCancellable(AnyCancellable(self), id: id))
| |- error: 'AnyCancellable' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombinePrintout/CombinePrintout.swift:37:12: error: 'sink(receiveCompletion:receiveValue:)' is only available in macOS 10.15 or newer
30 | }
31 |
32 | extension Publisher {
| `- note: add @available attribute to enclosing extension
33 |
34 | /// A debugging sink that prints all received events.
35 | /// - Parameter id: An optional identifier to print along the output.
36 | public func printSink(id: String = "") -> AnyCancellable {
| `- note: add @available attribute to enclosing instance method
37 | return sink(receiveCompletion: { Swift.print("Sink: \($0) \(id)") },
| |- error: 'sink(receiveCompletion:receiveValue:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
38 | receiveValue: { Swift.print("Sink: output(\($0)) \(id)") })
39 | }
BUILD FAILURE 6.0 macosSpm