The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SignalFusionKit, reference v1.0.0 (b145fe), with Swift 6.3 for macOS (SPM) on 14 Aug 2026 00:23:15 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/izetg/SignalFusionKit.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/izetg/SignalFusionKit
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at b145fef Initial commit: SignalFusionKit
Cloned https://github.com/izetg/SignalFusionKit.git
Revision (git rev-parse @):
b145fef66c2d1678aae03e965c22a81a04102097
SUCCESS checkout https://github.com/izetg/SignalFusionKit.git at v1.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": "signalfusionkit",
      "name": "SignalFusionKit",
      "url": "https://github.com/izetg/SignalFusionKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SignalFusionKit",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/izetg/SignalFusionKit.git
[1/20] Fetching signalfusionkit
Fetched https://github.com/izetg/SignalFusionKit.git from cache (0.76s)
Creating working copy for https://github.com/izetg/SignalFusionKit.git
Working copy of https://github.com/izetg/SignalFusionKit.git resolved at v1.0.0 (b145fef)
warning: '.resolve-product-dependencies': dependency 'signalfusionkit' 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/izetg/SignalFusionKit.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/10] Compiling SignalFusionKit SignalSnapshot.swift
[4/10] Compiling SignalFusionKit RiskLevel.swift
[5/10] Compiling SignalFusionKit RiskEngine.swift
[6/10] Compiling SignalFusionKit RiskEngineConfig.swift
[7/10] Compiling SignalFusionKit CooldownGate.swift
[8/10] Compiling SignalFusionKit MotionAnomalyDetector.swift
[9/10] Emitting module SignalFusionKit
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:18:25: error: 'HKHealthStore' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
   |                         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
19 |     private let motionManager = CMMotionManager()
20 |     private let detector: MotionAnomalyDetector
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:19:33: error: 'CMMotionManager' is unavailable in macOS
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   |                                 `- error: 'CMMotionManager' is unavailable in macOS
20 |     private let detector: MotionAnomalyDetector
21 |     private let riskConfig: RiskEngineConfig
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h:86:12: note: 'CMMotionManager' has been explicitly marked unavailable here
 84 |  */
 85 | COREMOTION_EXPORT API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(macos)
 86 | @interface CMMotionManager : NSObject
    |            `- note: 'CMMotionManager' has been explicitly marked unavailable here
 87 | {
 88 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:23:6: error: 'Published' is only available in macOS 10.15 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
21 |     private let riskConfig: RiskEngineConfig
22 |
23 |     @Published public private(set) var latest: RiskAssessment?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
24 |
25 |     private var oxygenSaturation: Double?
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:17:47: error: 'ObservableObject' is only available in macOS 10.15 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    |                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
[10/10] Compiling SignalFusionKit WatchKitAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:18:25: error: 'HKHealthStore' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
   |                         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
19 |     private let motionManager = CMMotionManager()
20 |     private let detector: MotionAnomalyDetector
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:19:33: error: 'CMMotionManager' is unavailable in macOS
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   |                                 `- error: 'CMMotionManager' is unavailable in macOS
20 |     private let detector: MotionAnomalyDetector
21 |     private let riskConfig: RiskEngineConfig
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h:86:12: note: 'CMMotionManager' has been explicitly marked unavailable here
 84 |  */
 85 | COREMOTION_EXPORT API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(macos)
 86 | @interface CMMotionManager : NSObject
    |            `- note: 'CMMotionManager' has been explicitly marked unavailable here
 87 | {
 88 | @private
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:23:6: error: 'Published' is only available in macOS 10.15 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
21 |     private let riskConfig: RiskEngineConfig
22 |
23 |     @Published public private(set) var latest: RiskAssessment?
   |      `- error: 'Published' is only available in macOS 10.15 or newer
24 |
25 |     private var oxygenSaturation: Double?
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:17:47: error: 'ObservableObject' is only available in macOS 10.15 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    |                          `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
<unknown>:0: error: cannot convert value of type 'KeyPath<WatchKitAdapter, RiskAssessment?>' to expected argument type 'ReferenceWritableKeyPath<WatchKitAdapter, RiskAssessment?>'
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:42:15: error: 'HKHealthStore' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
   |               |- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   |               `- note: add 'if #available' version check
43 |
44 |         let types: Set<HKObjectType> = [
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:44:24: error: 'HKObjectType' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
44 |         let types: Set<HKObjectType> = [
   |                        |- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                        `- note: add 'if #available' version check
45 |             HKQuantityType(.oxygenSaturation),
46 |             HKQuantityType(.heartRateVariabilitySDNN),
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:45:13: error: 'HKQuantityType' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
44 |         let types: Set<HKObjectType> = [
45 |             HKQuantityType(.oxygenSaturation),
   |             |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |             `- note: add 'if #available' version check
46 |             HKQuantityType(.heartRateVariabilitySDNN),
47 |         ]
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:45:13: error: 'init(_:)' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
44 |         let types: Set<HKObjectType> = [
45 |             HKQuantityType(.oxygenSaturation),
   |             |- error: 'init(_:)' is only available in macOS 13.0 or newer
   |             `- note: add 'if #available' version check
46 |             HKQuantityType(.heartRateVariabilitySDNN),
47 |         ]
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:45:29: error: 'oxygenSaturation' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
44 |         let types: Set<HKObjectType> = [
45 |             HKQuantityType(.oxygenSaturation),
   |                             |- error: 'oxygenSaturation' is only available in macOS 13.0 or newer
   |                             `- note: add 'if #available' version check
46 |             HKQuantityType(.heartRateVariabilitySDNN),
47 |         ]
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:46:13: error: 'HKQuantityType' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
44 |         let types: Set<HKObjectType> = [
45 |             HKQuantityType(.oxygenSaturation),
46 |             HKQuantityType(.heartRateVariabilitySDNN),
   |             |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |             `- note: add 'if #available' version check
47 |         ]
48 |         try? await store.requestAuthorization(toShare: [], read: types)
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:46:13: error: 'init(_:)' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
44 |         let types: Set<HKObjectType> = [
45 |             HKQuantityType(.oxygenSaturation),
46 |             HKQuantityType(.heartRateVariabilitySDNN),
   |             |- error: 'init(_:)' is only available in macOS 13.0 or newer
   |             `- note: add 'if #available' version check
47 |         ]
48 |         try? await store.requestAuthorization(toShare: [], read: types)
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:46:29: error: 'heartRateVariabilitySDNN' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
44 |         let types: Set<HKObjectType> = [
45 |             HKQuantityType(.oxygenSaturation),
46 |             HKQuantityType(.heartRateVariabilitySDNN),
   |                             |- error: 'heartRateVariabilitySDNN' is only available in macOS 13.0 or newer
   |                             `- note: add 'if #available' version check
47 |         ]
48 |         try? await store.requestAuthorization(toShare: [], read: types)
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:48:26: error: 'requestAuthorization(toShare:read:)' is only available in macOS 13.0 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
39 |     /// signals ``RiskEngine`` uses. Call once, e.g. from your Watch app's
40 |     /// launch path.
41 |     public func start() async {
   |                 `- note: add '@available' attribute to enclosing instance method
42 |         guard HKHealthStore.isHealthDataAvailable() else { return }
43 |
   :
46 |             HKQuantityType(.heartRateVariabilitySDNN),
47 |         ]
48 |         try? await store.requestAuthorization(toShare: [], read: types)
   |                          |- error: 'requestAuthorization(toShare:read:)' is only available in macOS 13.0 or newer
   |                          `- note: add 'if #available' version check
49 |
50 |         startAccelerometer()
/Users/admin/builder/spi-builder-workspace/Sources/SignalFusionKit/WatchKitAdapter.swift:76:9: error: setter for 'latest' is only available in macOS 10.15 or newer
15 | ///   example to adapt, not a drop-in production component.
16 | @MainActor
17 | public final class WatchKitAdapter: NSObject, ObservableObject {
   |                    `- note: add '@available' attribute to enclosing class
18 |     private let store = HKHealthStore()
19 |     private let motionManager = CMMotionManager()
   :
66 |     }
67 |
68 |     private func publish(motionAnomaly: Bool) {
   |                  `- note: add '@available' attribute to enclosing instance method
69 |         let snapshot = SignalSnapshot(
70 |             oxygenSaturation: oxygenSaturation,
   :
74 |             timestamp: Date()
75 |         )
76 |         latest = RiskEngine.evaluate(snapshot, config: riskConfig)
   |         |- error: setter for 'latest' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
77 |     }
78 | }
BUILD FAILURE 6.3 macosSpm