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 Lurker, reference main (b7e24e), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 22:02:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sam-Spencer/Lurker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sam-Spencer/Lurker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b7e24ef Create FUNDING.yml
Cloned https://github.com/Sam-Spencer/Lurker.git
Revision (git rev-parse @):
b7e24ef863a1a41af0cca5e52b4147828c97b032
SUCCESS checkout https://github.com/Sam-Spencer/Lurker.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",
  "dependencies": [
    {
      "identity": "lurker",
      "name": "Lurker",
      "url": "https://github.com/Sam-Spencer/Lurker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Lurker",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Sam-Spencer/Lurker.git
[1/170] Fetching lurker
Fetched https://github.com/Sam-Spencer/Lurker.git from cache (1.05s)
Creating working copy for https://github.com/Sam-Spencer/Lurker.git
Working copy of https://github.com/Sam-Spencer/Lurker.git resolved at main (b7e24ef)
warning: '.resolve-product-dependencies': dependency 'lurker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Sam-Spencer/Lurker.git
https://github.com/Sam-Spencer/Lurker.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Lurker",
  "name" : "Lurker",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Lurker",
      "targets" : [
        "Lurker"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LurkerTests",
      "module_type" : "SwiftTarget",
      "name" : "LurkerTests",
      "path" : "Tests/LurkerTests",
      "sources" : [
        "LurkerTests.swift",
        "MockMission.swift"
      ],
      "target_dependencies" : [
        "Lurker"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Lurker",
      "module_type" : "SwiftTarget",
      "name" : "Lurker",
      "path" : "Sources/Lurker",
      "product_memberships" : [
        "Lurker"
      ],
      "sources" : [
        "Lurker.swift",
        "Mission.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module Lurker
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:26:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
 25 |     /// references to registered tasks after launch.
 26 |     public static var shared = Lurker()
    |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- 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
 27 |
 28 |     /// Tasks that have been successfully registered to the system `BGTaskScheduler`.
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:111:43: error: 'BGTask' is unavailable in macOS
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |                                           `- error: 'BGTask' is unavailable in macOS
112 |         scheduleMission(mission)
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Mission.swift:58:30: error: 'BGTask' is unavailable in macOS
56 |     ///   does not complete before the `taskInfo`'s `expirationHandler` is called.
57 |     ///
58 |     func runTask(_ taskInfo: BGTask) async -> Bool
   |                              `- error: 'BGTask' is unavailable in macOS
59 |
60 |     /// Specify the earliest allowable time (from now) that the system may schedule this
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
[4/5] Compiling Lurker Mission.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Mission.swift:58:30: error: 'BGTask' is unavailable in macOS
56 |     ///   does not complete before the `taskInfo`'s `expirationHandler` is called.
57 |     ///
58 |     func runTask(_ taskInfo: BGTask) async -> Bool
   |                              `- error: 'BGTask' is unavailable in macOS
59 |
60 |     /// Specify the earliest allowable time (from now) that the system may schedule this
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
[5/5] Compiling Lurker Lurker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:26:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
 25 |     /// references to registered tasks after launch.
 26 |     public static var shared = Lurker()
    |                       |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- 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
 27 |
 28 |     /// Tasks that have been successfully registered to the system `BGTaskScheduler`.
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:111:43: error: 'BGTask' is unavailable in macOS
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |                                           `- error: 'BGTask' is unavailable in macOS
112 |         scheduleMission(mission)
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:98:27: error: 'BGTaskScheduler' is unavailable in macOS
 96 |         guard tasksRegistered.contains(where: { $0.identifier == task.identifier }) == false else { return false }
 97 |
 98 |         let didRegister = BGTaskScheduler.shared.register(forTaskWithIdentifier: task.identifier, using: nil) { backgroundTask in
    |                           `- error: 'BGTaskScheduler' is unavailable in macOS
 99 |             self.handleMission(backgroundProcess: backgroundTask, mission: task)
100 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:77:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 75 | /// To learn how to register, schedule, and run a background task, see
 76 | /// <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>.
 77 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 78 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 79 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:114:25: error: 'Task' is only available in macOS 10.15 or newer
 20 | /// `Lurker` manages all your app's tasks that need to happen in the background.
 21 | ///
 22 | public final class Lurker {
    |                    `- note: add @available attribute to enclosing class
 23 |
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
    :
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |          `- note: add @available attribute to enclosing instance method
112 |         scheduleMission(mission)
113 |
114 |         let taskQueue = Task {
    |                         |- error: 'Task' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
115 |             let success = await mission.runTask(backgroundProcess)
116 |             backgroundProcess.setTaskCompleted(success: success)
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:114:25: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 20 | /// `Lurker` manages all your app's tasks that need to happen in the background.
 21 | ///
 22 | public final class Lurker {
    |                    `- note: add @available attribute to enclosing class
 23 |
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
    :
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |          `- note: add @available attribute to enclosing instance method
112 |         scheduleMission(mission)
113 |
114 |         let taskQueue = Task {
    |                         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
115 |             let success = await mission.runTask(backgroundProcess)
116 |             backgroundProcess.setTaskCompleted(success: success)
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:122:23: error: 'cancel()' is only available in macOS 10.15 or newer
 20 | /// `Lurker` manages all your app's tasks that need to happen in the background.
 21 | ///
 22 | public final class Lurker {
    |                    `- note: add @available attribute to enclosing class
 23 |
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
    :
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |          `- note: add @available attribute to enclosing instance method
112 |         scheduleMission(mission)
113 |
    :
120 |             // After all operations are cancelled, the completion block below is called to set
121 |             // the task to complete.
122 |             taskQueue.cancel()
    |                       |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
123 |         }
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:150:31: error: 'BGAppRefreshTaskRequest' is unavailable in macOS
148 |             switch task.style {
149 |             case .brief:
150 |                 let request = BGAppRefreshTaskRequest(identifier: task.identifier)
    |                               `- error: 'BGAppRefreshTaskRequest' is unavailable in macOS
151 |                 request.earliestBeginDate = task.earliestStart()
152 |                 try BGTaskScheduler.shared.submit(request)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:52:12: note: 'BGAppRefreshTaskRequest' has been explicitly marked unavailable here
 50 | /// A request to launch your app in the background to execute a short refresh task.
 51 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos, watchos)
 52 | @interface BGAppRefreshTaskRequest : BGTaskRequest
    |            `- note: 'BGAppRefreshTaskRequest' has been explicitly marked unavailable here
 53 |
 54 | /// Return a new refresh task request for the specified identifier.
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:152:21: error: 'BGTaskScheduler' is unavailable in macOS
150 |                 let request = BGAppRefreshTaskRequest(identifier: task.identifier)
151 |                 request.earliestBeginDate = task.earliestStart()
152 |                 try BGTaskScheduler.shared.submit(request)
    |                     `- error: 'BGTaskScheduler' is unavailable in macOS
153 |             case .extended:
154 |                 let request = BGProcessingTaskRequest(identifier: task.identifier)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:77:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 75 | /// To learn how to register, schedule, and run a background task, see
 76 | /// <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>.
 77 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 78 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 79 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:154:31: error: 'BGProcessingTaskRequest' is unavailable in macOS
152 |                 try BGTaskScheduler.shared.submit(request)
153 |             case .extended:
154 |                 let request = BGProcessingTaskRequest(identifier: task.identifier)
    |                               `- error: 'BGProcessingTaskRequest' is unavailable in macOS
155 |                 request.earliestBeginDate = task.earliestStart()
156 |                 try BGTaskScheduler.shared.submit(request)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:70:12: note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 68 | /// that can take minutes to complete.
 69 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos, watchos)
 70 | @interface BGProcessingTaskRequest : BGTaskRequest
    |            `- note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 71 |
 72 | /// Return a new processing task request for the specified identifier.
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:156:21: error: 'BGTaskScheduler' is unavailable in macOS
154 |                 let request = BGProcessingTaskRequest(identifier: task.identifier)
155 |                 request.earliestBeginDate = task.earliestStart()
156 |                 try BGTaskScheduler.shared.submit(request)
    |                     `- error: 'BGTaskScheduler' is unavailable in macOS
157 |             }
158 |         } catch {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:77:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 75 | /// To learn how to register, schedule, and run a background task, see
 76 | /// <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>.
 77 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 78 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 79 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling Lurker Mission.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Mission.swift:58:30: error: 'BGTask' is unavailable in macOS
56 |     ///   does not complete before the `taskInfo`'s `expirationHandler` is called.
57 |     ///
58 |     func runTask(_ taskInfo: BGTask) async -> Bool
   |                              `- error: 'BGTask' is unavailable in macOS
59 |
60 |     /// Specify the earliest allowable time (from now) that the system may schedule this
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Lurker
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:111:43: error: 'BGTask' is unavailable in macOS
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |                                           `- error: 'BGTask' is unavailable in macOS
112 |         scheduleMission(mission)
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Mission.swift:58:30: error: 'BGTask' is unavailable in macOS
56 |     ///   does not complete before the `taskInfo`'s `expirationHandler` is called.
57 |     ///
58 |     func runTask(_ taskInfo: BGTask) async -> Bool
   |                              `- error: 'BGTask' is unavailable in macOS
59 |
60 |     /// Specify the earliest allowable time (from now) that the system may schedule this
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
[4/4] Compiling Lurker Lurker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:111:43: error: 'BGTask' is unavailable in macOS
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |                                           `- error: 'BGTask' is unavailable in macOS
112 |         scheduleMission(mission)
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h:21:12: note: 'BGTask' has been explicitly marked unavailable here
 19 | /// An abstract class representing a task that’s run while the app is in the
 20 | /// background.
 21 | @interface BGTask : NSObject
    |            `- note: 'BGTask' has been explicitly marked unavailable here
 22 |
 23 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:98:27: error: 'BGTaskScheduler' is unavailable in macOS
 96 |         guard tasksRegistered.contains(where: { $0.identifier == task.identifier }) == false else { return false }
 97 |
 98 |         let didRegister = BGTaskScheduler.shared.register(forTaskWithIdentifier: task.identifier, using: nil) { backgroundTask in
    |                           `- error: 'BGTaskScheduler' is unavailable in macOS
 99 |             self.handleMission(backgroundProcess: backgroundTask, mission: task)
100 |         }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:77:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 75 | /// To learn how to register, schedule, and run a background task, see
 76 | /// <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>.
 77 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 78 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 79 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:114:25: error: 'Task' is only available in macOS 10.15 or newer
 20 | /// `Lurker` manages all your app's tasks that need to happen in the background.
 21 | ///
 22 | public final class Lurker {
    |                    `- note: add @available attribute to enclosing class
 23 |
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
    :
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |          `- note: add @available attribute to enclosing instance method
112 |         scheduleMission(mission)
113 |
114 |         let taskQueue = Task {
    |                         |- error: 'Task' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
115 |             let success = await mission.runTask(backgroundProcess)
116 |             backgroundProcess.setTaskCompleted(success: success)
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:114:25: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
 20 | /// `Lurker` manages all your app's tasks that need to happen in the background.
 21 | ///
 22 | public final class Lurker {
    |                    `- note: add @available attribute to enclosing class
 23 |
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
    :
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |          `- note: add @available attribute to enclosing instance method
112 |         scheduleMission(mission)
113 |
114 |         let taskQueue = Task {
    |                         |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
115 |             let success = await mission.runTask(backgroundProcess)
116 |             backgroundProcess.setTaskCompleted(success: success)
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:122:23: error: 'cancel()' is only available in macOS 10.15 or newer
 20 | /// `Lurker` manages all your app's tasks that need to happen in the background.
 21 | ///
 22 | public final class Lurker {
    |                    `- note: add @available attribute to enclosing class
 23 |
 24 |     /// A generic, shared instance of `Lurker`. Useful if you need to maintain
    :
109 |     // MARK: - Handling
110 |
111 |     func handleMission(backgroundProcess: BGTask, mission: Mission) {
    |          `- note: add @available attribute to enclosing instance method
112 |         scheduleMission(mission)
113 |
    :
120 |             // After all operations are cancelled, the completion block below is called to set
121 |             // the task to complete.
122 |             taskQueue.cancel()
    |                       |- error: 'cancel()' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
123 |         }
124 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:150:31: error: 'BGAppRefreshTaskRequest' is unavailable in macOS
148 |             switch task.style {
149 |             case .brief:
150 |                 let request = BGAppRefreshTaskRequest(identifier: task.identifier)
    |                               `- error: 'BGAppRefreshTaskRequest' is unavailable in macOS
151 |                 request.earliestBeginDate = task.earliestStart()
152 |                 try BGTaskScheduler.shared.submit(request)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:52:12: note: 'BGAppRefreshTaskRequest' has been explicitly marked unavailable here
 50 | /// A request to launch your app in the background to execute a short refresh task.
 51 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos, watchos)
 52 | @interface BGAppRefreshTaskRequest : BGTaskRequest
    |            `- note: 'BGAppRefreshTaskRequest' has been explicitly marked unavailable here
 53 |
 54 | /// Return a new refresh task request for the specified identifier.
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:152:21: error: 'BGTaskScheduler' is unavailable in macOS
150 |                 let request = BGAppRefreshTaskRequest(identifier: task.identifier)
151 |                 request.earliestBeginDate = task.earliestStart()
152 |                 try BGTaskScheduler.shared.submit(request)
    |                     `- error: 'BGTaskScheduler' is unavailable in macOS
153 |             case .extended:
154 |                 let request = BGProcessingTaskRequest(identifier: task.identifier)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:77:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 75 | /// To learn how to register, schedule, and run a background task, see
 76 | /// <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>.
 77 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 78 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 79 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:154:31: error: 'BGProcessingTaskRequest' is unavailable in macOS
152 |                 try BGTaskScheduler.shared.submit(request)
153 |             case .extended:
154 |                 let request = BGProcessingTaskRequest(identifier: task.identifier)
    |                               `- error: 'BGProcessingTaskRequest' is unavailable in macOS
155 |                 request.earliestBeginDate = task.earliestStart()
156 |                 try BGTaskScheduler.shared.submit(request)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h:70:12: note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 68 | /// that can take minutes to complete.
 69 | BG_EXTERN API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos, watchos)
 70 | @interface BGProcessingTaskRequest : BGTaskRequest
    |            `- note: 'BGProcessingTaskRequest' has been explicitly marked unavailable here
 71 |
 72 | /// Return a new processing task request for the specified identifier.
/Users/admin/builder/spi-builder-workspace/Sources/Lurker/Lurker.swift:156:21: error: 'BGTaskScheduler' is unavailable in macOS
154 |                 let request = BGProcessingTaskRequest(identifier: task.identifier)
155 |                 request.earliestBeginDate = task.earliestStart()
156 |                 try BGTaskScheduler.shared.submit(request)
    |                     `- error: 'BGTaskScheduler' is unavailable in macOS
157 |             }
158 |         } catch {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h:77:12: note: 'BGTaskScheduler' has been explicitly marked unavailable here
 75 | /// To learn how to register, schedule, and run a background task, see
 76 | /// <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>.
 77 | @interface BGTaskScheduler : NSObject
    |            `- note: 'BGTaskScheduler' has been explicitly marked unavailable here
 78 | - (instancetype)init NS_UNAVAILABLE; //Use the shared scheduler object instead
 79 | + (instancetype)new NS_UNAVAILABLE; //Use the shared scheduler object instead
BUILD FAILURE 6.1 macosSpm