The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CombinePrintout, reference 0.2.0 (721fd7), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 12:33:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineCommunity/CombinePrintout.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CombineCommunity/CombinePrintout
 * tag               0.2.0      -> FETCH_HEAD
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 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/CombineCommunity/CombinePrintout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.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.2 macosSpm