The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HsExtensions.Swift, reference 1.0.6 (001201), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 23:36:52 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/horizontalsystems/HsExtensions.Swift.git
Reference: 1.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/horizontalsystems/HsExtensions.Swift
 * tag               1.0.6      -> FETCH_HEAD
HEAD is now at 0012014 Fix `DistinctPublished` property wrapper
Cloned https://github.com/horizontalsystems/HsExtensions.Swift.git
Revision (git rev-parse @):
0012014f98ae81ffb89b0d3a2e9c204559e1c278
SUCCESS checkout https://github.com/horizontalsystems/HsExtensions.Swift.git at 1.0.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/horizontalsystems/HsExtensions.Swift.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
[3/16] Compiling HsExtensions Timer.swift
[4/17] Compiling HsExtensions AnyTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:26:21: error: 'Task' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
23 |     ///   - task: The task to erase.
24 |     ///   - options: The options to configure the erased task with,
25 |     public convenience init<Success, Failure>(
   |                        `- note: add @available attribute to enclosing initializer
26 |             _ task: Task<Success, Failure>,
   |                     `- error: 'Task' is only available in macOS 10.15 or newer
27 |             options: Options = .default
28 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:37:21: error: 'Task' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
   |                     `- error: 'Task' is only available in macOS 10.15 or newer
38 |             options: Options,
39 |             assertionFailureHandler: @escaping (@autoclosure () -> String, StaticString, UInt) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:42:25: error: 'cancel()' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
38 |             options: Options,
   :
40 |     ) {
41 |         self.options = options
42 |         onCancel = task.cancel
   |                         |- error: 'cancel()' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
43 |         isCancelledBlock = { task.isCancelled }
44 |         hashValueBlock = { task.hashValue }
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:43:35: error: 'isCancelled' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
38 |             options: Options,
   :
41 |         self.options = options
42 |         onCancel = task.cancel
43 |         isCancelledBlock = { task.isCancelled }
   |                                   |- error: 'isCancelled' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
44 |         hashValueBlock = { task.hashValue }
45 |         self.assertionFailureHandler = assertionFailureHandler
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:44:33: error: 'hashValue' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
38 |             options: Options,
   :
42 |         onCancel = task.cancel
43 |         isCancelledBlock = { task.isCancelled }
44 |         hashValueBlock = { task.hashValue }
   |                                 |- error: 'hashValue' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
45 |         self.assertionFailureHandler = assertionFailureHandler
46 |     }
[5/17] Compiling HsExtensions Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:26:21: error: 'Task' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
23 |     ///   - task: The task to erase.
24 |     ///   - options: The options to configure the erased task with,
25 |     public convenience init<Success, Failure>(
   |                        `- note: add @available attribute to enclosing initializer
26 |             _ task: Task<Success, Failure>,
   |                     `- error: 'Task' is only available in macOS 10.15 or newer
27 |             options: Options = .default
28 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:37:21: error: 'Task' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
   |                     `- error: 'Task' is only available in macOS 10.15 or newer
38 |             options: Options,
39 |             assertionFailureHandler: @escaping (@autoclosure () -> String, StaticString, UInt) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:42:25: error: 'cancel()' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
38 |             options: Options,
   :
40 |     ) {
41 |         self.options = options
42 |         onCancel = task.cancel
   |                         |- error: 'cancel()' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
43 |         isCancelledBlock = { task.isCancelled }
44 |         hashValueBlock = { task.hashValue }
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:43:35: error: 'isCancelled' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
38 |             options: Options,
   :
41 |         self.options = options
42 |         onCancel = task.cancel
43 |         isCancelledBlock = { task.isCancelled }
   |                                   |- error: 'isCancelled' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
44 |         hashValueBlock = { task.hashValue }
45 |         self.assertionFailureHandler = assertionFailureHandler
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:44:33: error: 'hashValue' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
38 |             options: Options,
   :
42 |         onCancel = task.cancel
43 |         isCancelledBlock = { task.isCancelled }
44 |         hashValueBlock = { task.hashValue }
   |                                 |- error: 'hashValue' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
45 |         self.assertionFailureHandler = assertionFailureHandler
46 |     }
[6/17] Compiling HsExtensions Date.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/17] Compiling HsExtensions DateFormatter.swift
[8/17] Compiling HsExtensions BinaryConvertible.swift
[9/17] Compiling HsExtensions Data.swift
[10/17] Compiling HsExtensions Decimal.swift
[11/17] Compiling HsExtensions Directory.swift
[12/17] Compiling HsExtensions String.swift
[13/17] Emitting module HsExtensions
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:26:21: error: 'Task' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
23 |     ///   - task: The task to erase.
24 |     ///   - options: The options to configure the erased task with,
25 |     public convenience init<Success, Failure>(
   |                        `- note: add @available attribute to enclosing initializer
26 |             _ task: Task<Success, Failure>,
   |                     `- error: 'Task' is only available in macOS 10.15 or newer
27 |             options: Options = .default
28 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/AnyTask.swift:37:21: error: 'Task' is only available in macOS 10.15 or newer
 7 | ///
 8 | /// Since the task is type-erased, there is no API to retrieve the result of the task, but you can check if it is cancelled.
 9 | public final class AnyTask {
   |                    `- note: add @available attribute to enclosing class
10 |
11 |     /// Whether the task is cancelled.
   :
34 |     }
35 |
36 |     init<Success, Failure>(
   |     `- note: add @available attribute to enclosing initializer
37 |             _ task: Task<Success, Failure>,
   |                     `- error: 'Task' is only available in macOS 10.15 or newer
38 |             options: Options,
39 |             assertionFailureHandler: @escaping (@autoclosure () -> String, StaticString, UInt) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:6:27: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 3 |
 4 | @propertyWrapper
 5 | public class PostPublished<Value> {
   |              `- note: add @available attribute to enclosing generic class
 6 |     private let subject = PassthroughSubject<Value, Never>()
   |                           `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 7 |     public let projectedValue: AnyPublisher<Value, Never>
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:7:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 3 |
 4 | @propertyWrapper
 5 | public class PostPublished<Value> {
   |              `- note: add @available attribute to enclosing generic class
 6 |     private let subject = PassthroughSubject<Value, Never>()
 7 |     public let projectedValue: AnyPublisher<Value, Never>
   |                                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 8 |
 9 |     public var wrappedValue: Value {
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:23:27: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
20 |
21 | @propertyWrapper
22 | public class DistinctPublished<Value> where Value: Equatable {
   |              `- note: add @available attribute to enclosing generic class
23 |     private let subject = PassthroughSubject<Value, Never>()
   |                           `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
24 |     public let projectedValue: AnyPublisher<Value, Never>
25 |
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:24:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
20 |
21 | @propertyWrapper
22 | public class DistinctPublished<Value> where Value: Equatable {
   |              `- note: add @available attribute to enclosing generic class
23 |     private let subject = PassthroughSubject<Value, Never>()
24 |     public let projectedValue: AnyPublisher<Value, Never>
   |                                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
25 |
26 |     public var wrappedValue: Value {
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Task+AnyTask.swift:3:18: error: 'Task' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public extension Task {
   |        |         `- error: 'Task' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 4 |
 5 |     /// Erases this task to an `AnyTask`.
[14/17] Compiling HsExtensions HsExtension.swift
[15/17] Compiling HsExtensions Task+AnyTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Task+AnyTask.swift:3:18: error: 'Task' is only available in macOS 10.15 or newer
 1 | import Foundation
 2 |
 3 | public extension Task {
   |        |         `- error: 'Task' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
 4 |
 5 |     /// Erases this task to an `AnyTask`.
[16/17] Compiling HsExtensions Published.swift
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:6:27: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 3 |
 4 | @propertyWrapper
 5 | public class PostPublished<Value> {
   |              `- note: add @available attribute to enclosing generic class
 6 |     private let subject = PassthroughSubject<Value, Never>()
   |                           `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
 7 |     public let projectedValue: AnyPublisher<Value, Never>
 8 |
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:7:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 3 |
 4 | @propertyWrapper
 5 | public class PostPublished<Value> {
   |              `- note: add @available attribute to enclosing generic class
 6 |     private let subject = PassthroughSubject<Value, Never>()
 7 |     public let projectedValue: AnyPublisher<Value, Never>
   |                                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
 8 |
 9 |     public var wrappedValue: Value {
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:23:27: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
20 |
21 | @propertyWrapper
22 | public class DistinctPublished<Value> where Value: Equatable {
   |              `- note: add @available attribute to enclosing generic class
23 |     private let subject = PassthroughSubject<Value, Never>()
   |                           `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
24 |     public let projectedValue: AnyPublisher<Value, Never>
25 |
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:24:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
20 |
21 | @propertyWrapper
22 | public class DistinctPublished<Value> where Value: Equatable {
   |              `- note: add @available attribute to enclosing generic class
23 |     private let subject = PassthroughSubject<Value, Never>()
24 |     public let projectedValue: AnyPublisher<Value, Never>
   |                                `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
25 |
26 |     public var wrappedValue: Value {
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:17:34: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 3 |
 4 | @propertyWrapper
 5 | public class PostPublished<Value> {
   |              `- note: add @available attribute to enclosing generic class
 6 |     private let subject = PassthroughSubject<Value, Never>()
 7 |     public let projectedValue: AnyPublisher<Value, Never>
   :
13 |     }
14 |
15 |     public init(wrappedValue: Value) {
   |            `- note: add @available attribute to enclosing initializer
16 |         self.wrappedValue = wrappedValue
17 |         projectedValue = subject.eraseToAnyPublisher()
   |                                  |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
18 |     }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/HsExtensions/Published.swift:36:34: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
20 |
21 | @propertyWrapper
22 | public class DistinctPublished<Value> where Value: Equatable {
   |              `- note: add @available attribute to enclosing generic class
23 |     private let subject = PassthroughSubject<Value, Never>()
24 |     public let projectedValue: AnyPublisher<Value, Never>
   :
32 |     }
33 |
34 |     public init(wrappedValue: Value) {
   |            `- note: add @available attribute to enclosing initializer
35 |         self.wrappedValue = wrappedValue
36 |         projectedValue = subject.eraseToAnyPublisher()
   |                                  |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |                                  `- note: add 'if #available' version check
37 |     }
38 | }
[17/17] Compiling HsExtensions VarInt.swift
BUILD FAILURE 6.2 macosSpm