The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HsExtensions.Swift, reference main (001201), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 23:04:19 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/horizontalsystems/HsExtensions.Swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/horizontalsystems/HsExtensions.Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "hsextensions.swift",
      "name": "HsExtensions.Swift",
      "url": "https://github.com/horizontalsystems/HsExtensions.Swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HsExtensions.Swift",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/horizontalsystems/HsExtensions.Swift.git
[1/105] Fetching hsextensions.swift
Fetched https://github.com/horizontalsystems/HsExtensions.Swift.git from cache (0.61s)
Creating working copy for https://github.com/horizontalsystems/HsExtensions.Swift.git
Working copy of https://github.com/horizontalsystems/HsExtensions.Swift.git resolved at main (0012014)
warning: '.resolve-product-dependencies': dependency 'hsextensions.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/horizontalsystems/HsExtensions.Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] Compiling HsExtensions Decimal.swift
[4/16] Compiling HsExtensions Directory.swift
[5/16] Compiling HsExtensions BinaryConvertible.swift
[6/16] Compiling HsExtensions Data.swift
[7/16] Compiling HsExtensions Date.swift
[8/16] Compiling HsExtensions DateFormatter.swift
[9/16] Compiling HsExtensions Timer.swift
[10/16] 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`.
[11/16] Compiling HsExtensions String.swift
[12/16] Compiling HsExtensions HsExtension.swift
[13/16] 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`.
[14/16] 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 | }
[15/16] 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 |     }
[16/16] 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 |     }
[17/17] Compiling HsExtensions VarInt.swift
BUILD FAILURE 6.3 macosSpm