The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftResilience, reference 1.0.0 (de8fd2), with Swift 6.3 for macOS (SPM) on 29 Jun 2026 16:00:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/meetbb/SwiftResilience.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/meetbb/SwiftResilience
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at de8fd2f Add Package.swift and demo app — v1.0.0
Cloned https://github.com/meetbb/SwiftResilience.git
Revision (git rev-parse @):
de8fd2f03ac9b480792323ada079324a96ef5062
SUCCESS checkout https://github.com/meetbb/SwiftResilience.git at 1.0.0
========================================
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": "swiftresilience",
      "name": "SwiftResilience",
      "url": "https://github.com/meetbb/SwiftResilience.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftResilience",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/meetbb/SwiftResilience.git
[1/2404] Fetching swiftresilience
Fetched https://github.com/meetbb/SwiftResilience.git from cache (2.25s)
Creating working copy for https://github.com/meetbb/SwiftResilience.git
Working copy of https://github.com/meetbb/SwiftResilience.git resolved at 1.0.0 (de8fd2f)
warning: '.resolve-product-dependencies': dependency 'swiftresilience' 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/meetbb/SwiftResilience.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/21] Compiling SwiftResilience OfflineQueueEngine.swift
[4/21] Compiling SwiftResilience QueueEntry.swift
[5/21] Compiling SwiftResilience TokenRefreshCoordinator.swift
[6/21] Compiling SwiftResilience AsyncRequestEngine.swift
[7/21] Compiling SwiftResilience NetworkRequest.swift
[8/21] Compiling SwiftResilience NetworkSession.swift
[9/21] Compiling SwiftResilience RequestMetricsCollector.swift
[10/21] Compiling SwiftResilience DiskQueueStore.swift
[11/21] Compiling SwiftResilience HTTPMethod.swift
[12/21] Compiling SwiftResilience NetworkError.swift
[13/21] Compiling SwiftResilience AuthenticatedRequestEngine.swift
[14/21] Compiling SwiftResilience TokenProvider.swift
[15/21] Compiling SwiftResilience QueueableRequest.swift
[16/21] Compiling SwiftResilience ReachabilityMonitor.swift
[17/21] Compiling SwiftResilience RequestIdentity.swift
[18/21] Compiling SwiftResilience RequestEvent.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/23] Emitting module SwiftResilience
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:45:11: error: 'BGTask' is unavailable in macOS
 43 | /// `BGTask` already exposes `expirationHandler` and `setTaskCompleted(success:)`.
 44 | /// This extension adds the protocol conformance label — no implementation needed.
 45 | extension BGTask: BackgroundTaskHandling {}
    |           `- error: 'BGTask' is unavailable in macOS
 46 |
 47 | // MARK: - BackgroundTaskScheduling
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:17:12: note: 'BGTask' has been explicitly marked unavailable here
 15 | /// background.
 16 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 17 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 18 |
 19 | /// The string identifier of the task.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:98:32: error: 'BGTaskRequest' is unavailable in macOS
 96 |     /// - Throws: `BGTaskScheduler.Error` if the identifier is not registered
 97 |     ///   or if the app has reached the system request limit.
 98 |     func submit(_ taskRequest: BGTaskRequest) throws
    |                                `- error: 'BGTaskRequest' is unavailable in macOS
 99 | }
100 |
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:16:12: note: 'BGTaskRequest' has been explicitly marked unavailable here
 14 | /// Do not instantiate instances of this class directly. Instead, use one of its concrete subclasses.
 15 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 16 | @interface BGTaskRequest : NSObject <NSCopying>
    |            `- note: 'BGTaskRequest' has been explicitly marked unavailable here
 17 |
 18 | /// The identifier of the task associated with the request.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:121:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SystemBackgroundTaskScheduler' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
116 | /// )
117 | /// ```
118 | public final class SystemBackgroundTaskScheduler: BackgroundTaskScheduling {
    |                    `- note: class 'SystemBackgroundTaskScheduler' does not conform to the 'Sendable' protocol
119 |
120 |     /// The shared singleton. Use this in all production code.
121 |     public static let shared = SystemBackgroundTaskScheduler()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SystemBackgroundTaskScheduler' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private init() {}
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:141:39: error: 'BGTaskRequest' is unavailable in macOS
139 |     }
140 |
141 |     public func submit(_ taskRequest: BGTaskRequest) throws {
    |                                       `- error: 'BGTaskRequest' is unavailable in macOS
142 |         try BGTaskScheduler.shared.submit(taskRequest)
143 |     }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:16:12: note: 'BGTaskRequest' has been explicitly marked unavailable here
 14 | /// Do not instantiate instances of this class directly. Instead, use one of its concrete subclasses.
 15 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 16 | @interface BGTaskRequest : NSObject <NSCopying>
    |            `- note: 'BGTaskRequest' has been explicitly marked unavailable here
 17 |
 18 | /// The identifier of the task associated with the request.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[20/23] Compiling SwiftResilience BackgroundQueueDrainer.swift
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueDrainer.swift:149:23: error: 'BGProcessingTaskRequest' is unavailable in macOS
147 |     /// the queue will drain on the next foreground session instead.
148 |     public func scheduleNextDrain() {
149 |         let request = BGProcessingTaskRequest(identifier: taskIdentifier)
    |                       `- error: 'BGProcessingTaskRequest' is unavailable in macOS
150 |         request.requiresNetworkConnectivity = true
151 |         request.requiresExternalPower       = false
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:61:12: note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 59 | /// has used your app within the past week.
 60 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 61 | @interface BGProcessingTaskRequest : BGTaskRequest
    |            `- note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 62 |
 63 | /// Return a new processing task request for the specified identifier.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:45:11: error: 'BGTask' is unavailable in macOS
 43 | /// `BGTask` already exposes `expirationHandler` and `setTaskCompleted(success:)`.
 44 | /// This extension adds the protocol conformance label — no implementation needed.
 45 | extension BGTask: BackgroundTaskHandling {}
    |           `- error: 'BGTask' is unavailable in macOS
 46 |
 47 | // MARK: - BackgroundTaskScheduling
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:17:12: note: 'BGTask' has been explicitly marked unavailable here
 15 | /// background.
 16 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 17 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 18 |
 19 | /// The string identifier of the task.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:98:32: error: 'BGTaskRequest' is unavailable in macOS
 96 |     /// - Throws: `BGTaskScheduler.Error` if the identifier is not registered
 97 |     ///   or if the app has reached the system request limit.
 98 |     func submit(_ taskRequest: BGTaskRequest) throws
    |                                `- error: 'BGTaskRequest' is unavailable in macOS
 99 | }
100 |
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:16:12: note: 'BGTaskRequest' has been explicitly marked unavailable here
 14 | /// Do not instantiate instances of this class directly. Instead, use one of its concrete subclasses.
 15 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 16 | @interface BGTaskRequest : NSObject <NSCopying>
    |            `- note: 'BGTaskRequest' has been explicitly marked unavailable here
 17 |
 18 | /// The identifier of the task associated with the request.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:121:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SystemBackgroundTaskScheduler' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
116 | /// )
117 | /// ```
118 | public final class SystemBackgroundTaskScheduler: BackgroundTaskScheduling {
    |                    `- note: class 'SystemBackgroundTaskScheduler' does not conform to the 'Sendable' protocol
119 |
120 |     /// The shared singleton. Use this in all production code.
121 |     public static let shared = SystemBackgroundTaskScheduler()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SystemBackgroundTaskScheduler' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private init() {}
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:141:39: error: 'BGTaskRequest' is unavailable in macOS
139 |     }
140 |
141 |     public func submit(_ taskRequest: BGTaskRequest) throws {
    |                                       `- error: 'BGTaskRequest' is unavailable in macOS
142 |         try BGTaskScheduler.shared.submit(taskRequest)
143 |     }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:16:12: note: 'BGTaskRequest' has been explicitly marked unavailable here
 14 | /// Do not instantiate instances of this class directly. Instead, use one of its concrete subclasses.
 15 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 16 | @interface BGTaskRequest : NSObject <NSCopying>
    |            `- note: 'BGTaskRequest' has been explicitly marked unavailable here
 17 |
 18 | /// The identifier of the task associated with the request.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:130:9: error: 'BGTaskScheduler' is unavailable in macOS
128 |         launchHandler: @escaping (any BackgroundTaskHandling) -> Void
129 |     ) {
130 |         BGTaskScheduler.shared.register(
    |         `- error: 'BGTaskScheduler' is unavailable in macOS
131 |             forTaskWithIdentifier: identifier,
132 |             using: queue
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:64:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 62 | /// <doc://com.apple.documentation/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app>.
 63 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 64 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 65 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 66 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:142:13: error: 'BGTaskScheduler' is unavailable in macOS
140 |
141 |     public func submit(_ taskRequest: BGTaskRequest) throws {
142 |         try BGTaskScheduler.shared.submit(taskRequest)
    |             `- error: 'BGTaskScheduler' is unavailable in macOS
143 |     }
144 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:64:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 62 | /// <doc://com.apple.documentation/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app>.
 63 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 64 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 65 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 66 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[21/23] Compiling SwiftResilience BackgroundQueueProtocols.swift
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueDrainer.swift:149:23: error: 'BGProcessingTaskRequest' is unavailable in macOS
147 |     /// the queue will drain on the next foreground session instead.
148 |     public func scheduleNextDrain() {
149 |         let request = BGProcessingTaskRequest(identifier: taskIdentifier)
    |                       `- error: 'BGProcessingTaskRequest' is unavailable in macOS
150 |         request.requiresNetworkConnectivity = true
151 |         request.requiresExternalPower       = false
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:61:12: note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 59 | /// has used your app within the past week.
 60 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 61 | @interface BGProcessingTaskRequest : BGTaskRequest
    |            `- note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 62 |
 63 | /// Return a new processing task request for the specified identifier.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:45:11: error: 'BGTask' is unavailable in macOS
 43 | /// `BGTask` already exposes `expirationHandler` and `setTaskCompleted(success:)`.
 44 | /// This extension adds the protocol conformance label — no implementation needed.
 45 | extension BGTask: BackgroundTaskHandling {}
    |           `- error: 'BGTask' is unavailable in macOS
 46 |
 47 | // MARK: - BackgroundTaskScheduling
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:17:12: note: 'BGTask' has been explicitly marked unavailable here
 15 | /// background.
 16 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 17 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 18 |
 19 | /// The string identifier of the task.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:98:32: error: 'BGTaskRequest' is unavailable in macOS
 96 |     /// - Throws: `BGTaskScheduler.Error` if the identifier is not registered
 97 |     ///   or if the app has reached the system request limit.
 98 |     func submit(_ taskRequest: BGTaskRequest) throws
    |                                `- error: 'BGTaskRequest' is unavailable in macOS
 99 | }
100 |
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:16:12: note: 'BGTaskRequest' has been explicitly marked unavailable here
 14 | /// Do not instantiate instances of this class directly. Instead, use one of its concrete subclasses.
 15 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 16 | @interface BGTaskRequest : NSObject <NSCopying>
    |            `- note: 'BGTaskRequest' has been explicitly marked unavailable here
 17 |
 18 | /// The identifier of the task associated with the request.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:121:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SystemBackgroundTaskScheduler' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
116 | /// )
117 | /// ```
118 | public final class SystemBackgroundTaskScheduler: BackgroundTaskScheduling {
    |                    `- note: class 'SystemBackgroundTaskScheduler' does not conform to the 'Sendable' protocol
119 |
120 |     /// The shared singleton. Use this in all production code.
121 |     public static let shared = SystemBackgroundTaskScheduler()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SystemBackgroundTaskScheduler' may have shared mutable state; this is an error in the Swift 6 language mode [#MutableGlobalVariable]
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private init() {}
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:141:39: error: 'BGTaskRequest' is unavailable in macOS
139 |     }
140 |
141 |     public func submit(_ taskRequest: BGTaskRequest) throws {
    |                                       `- error: 'BGTaskRequest' is unavailable in macOS
142 |         try BGTaskScheduler.shared.submit(taskRequest)
143 |     }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:16:12: note: 'BGTaskRequest' has been explicitly marked unavailable here
 14 | /// Do not instantiate instances of this class directly. Instead, use one of its concrete subclasses.
 15 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 16 | @interface BGTaskRequest : NSObject <NSCopying>
    |            `- note: 'BGTaskRequest' has been explicitly marked unavailable here
 17 |
 18 | /// The identifier of the task associated with the request.
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:130:9: error: 'BGTaskScheduler' is unavailable in macOS
128 |         launchHandler: @escaping (any BackgroundTaskHandling) -> Void
129 |     ) {
130 |         BGTaskScheduler.shared.register(
    |         `- error: 'BGTaskScheduler' is unavailable in macOS
131 |             forTaskWithIdentifier: identifier,
132 |             using: queue
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:64:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 62 | /// <doc://com.apple.documentation/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app>.
 63 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 64 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 65 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 66 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
/Users/admin/builder/spi-builder-workspace/SwiftResilience/BackgroundQueue/BackgroundQueueProtocols.swift:142:13: error: 'BGTaskScheduler' is unavailable in macOS
140 |
141 |     public func submit(_ taskRequest: BGTaskRequest) throws {
142 |         try BGTaskScheduler.shared.submit(taskRequest)
    |             `- error: 'BGTaskScheduler' is unavailable in macOS
143 |     }
144 | }
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:64:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 62 | /// <doc://com.apple.documentation/documentation/uikit/app_and_environment/scenes/preparing_your_ui_to_run_in_the_background/using_background_tasks_to_update_your_app>.
 63 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(watchos)
 64 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 65 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 66 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[22/23] Compiling SwiftResilience ExponentialRetryPolicy.swift
[23/23] Compiling SwiftResilience RetryPolicy.swift
BUILD FAILURE 6.3 macosSpm