This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CombinePrintout with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CombineCommunity/CombinePrintout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.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
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.