The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMotionKit, reference main (6f8f7d), with Swift 6.0 for macOS (SPM) on 17 Mar 2026 19:45:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/amrita-arun/SwiftMotionKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/amrita-arun/SwiftMotionKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6f8f7d3 Merge branch 'main' of https://github.com/amrita-arun/SwiftMotionKit
Cloned https://github.com/amrita-arun/SwiftMotionKit.git
Revision (git rev-parse @):
6f8f7d3048bef228eb3e98a9ab8a8dde5c59b4da
SUCCESS checkout https://github.com/amrita-arun/SwiftMotionKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/amrita-arun/SwiftMotionKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/12] Compiling SwiftMotionKit SwipeDirection.swift
[4/12] Compiling SwiftMotionKit SwipeCardStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:220:32: error: 'Identifiable' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          |                     `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:225:15: error: 'View' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
223 |         depthIndex: Int,
224 |         isTop: Bool
225 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
226 |         switch style {
227 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:219:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:218:19: error: 'View' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         |         `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/MicroInteractions/HapticsManager.swift:77:38: error: cannot find type 'UINotificationFeedbackGenerator' in scope
75 |
76 |     /// Notification haptic (success/warning/error)
77 |     public func notification(_ type: UINotificationFeedbackGenerator.FeedbackType = .success, minInterval: TimeInterval? = nil) {
   |                                      `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
78 |         #if canImport(UIKit)
79 |         let key = "notification.\(type)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:168:49: error: cannot infer contextual base in reference to member 'success'
166 |
167 |             // success haptic on dismissal (notification success)
168 |             HapticsManager.shared.notification(.success)
    |                                                 `- error: cannot infer contextual base in reference to member 'success'
169 |
170 |             performSwipe(direction: direction, item: item, width: width, predictedTranslation: predictedHorizontal)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:229:18: error: 'opacity' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
227 |
228 |         case .none:
229 |             self.opacity(isTop ? 1 : 0)
    |                  |- error: 'opacity' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
230 |
231 |         case .vertical(let offset):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:229:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
227 |
228 |         case .none:
229 |             self.opacity(isTop ? 1 : 0)
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
230 |
231 |         case .vertical(let offset):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:229:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
227 |
228 |         case .none:
229 |             self.opacity(isTop ? 1 : 0)
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
230 |
231 |         case .vertical(let offset):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:229:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
227 |
228 |         case .none:
229 |             self.opacity(isTop ? 1 : 0)
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
230 |
231 |         case .vertical(let offset):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:232:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
230 |
231 |         case .vertical(let offset):
232 |             self.offset(y: CGFloat(depthIndex) * offset)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
233 |
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:232:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
230 |
231 |         case .vertical(let offset):
232 |             self.offset(y: CGFloat(depthIndex) * offset)
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
233 |
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:232:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
230 |
231 |         case .vertical(let offset):
232 |             self.offset(y: CGFloat(depthIndex) * offset)
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
233 |
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:232:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
230 |
231 |         case .vertical(let offset):
232 |             self.offset(y: CGFloat(depthIndex) * offset)
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
233 |
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:236:18: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
235 |             self
236 |                 .scaleEffect(1.0 - (CGFloat(depthIndex) * scaleStep))
    |                  |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
237 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
238 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:237:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
235 |             self
236 |                 .scaleEffect(1.0 - (CGFloat(depthIndex) * scaleStep))
237 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
238 |
239 |         case .rotated(let angleStep, let offsetStep):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:235:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
233 |
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
235 |             self
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
236 |                 .scaleEffect(1.0 - (CGFloat(depthIndex) * scaleStep))
237 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:235:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
233 |
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
235 |             self
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
236 |                 .scaleEffect(1.0 - (CGFloat(depthIndex) * scaleStep))
237 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:235:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
233 |
234 |         case .scaleAndOffset(let scaleStep, let offsetStep):
235 |             self
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
236 |                 .scaleEffect(1.0 - (CGFloat(depthIndex) * scaleStep))
237 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:241:18: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
239 |         case .rotated(let angleStep, let offsetStep):
240 |             self
241 |                 .rotationEffect(.degrees(Double(depthIndex) * angleStep))
    |                  |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
242 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
243 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:242:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
240 |             self
241 |                 .rotationEffect(.degrees(Double(depthIndex) * angleStep))
242 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
243 |
244 |         case .randomized(let rotationRange, let offsetRange):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:240:13: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
238 |
239 |         case .rotated(let angleStep, let offsetStep):
240 |             self
    |             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
241 |                 .rotationEffect(.degrees(Double(depthIndex) * angleStep))
242 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:240:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
238 |
239 |         case .rotated(let angleStep, let offsetStep):
240 |             self
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
241 |                 .rotationEffect(.degrees(Double(depthIndex) * angleStep))
242 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:240:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
238 |
239 |         case .rotated(let angleStep, let offsetStep):
240 |             self
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
241 |                 .rotationEffect(.degrees(Double(depthIndex) * angleStep))
242 |                 .offset(y: CGFloat(depthIndex) * offsetStep)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:259:18: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
257 |
258 |             self
259 |                 .rotationEffect(.degrees(rotation))
    |                  |- error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
260 |                 .offset(y: CGFloat(offset))
261 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:260:18: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
258 |             self
259 |                 .rotationEffect(.degrees(rotation))
260 |                 .offset(y: CGFloat(offset))
    |                  |- error: 'offset(x:y:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
261 |         }
262 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:246:13: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
    :
244 |         case .randomized(let rotationRange, let offsetRange):
245 |
246 |             let rotation = randomInRange(
    |             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
247 |                 id: item.id,
248 |                 min: rotationRange.lowerBound,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:225:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
223 |         depthIndex: Int,
224 |         isTop: Bool
225 |     ) -> some View {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
226 |         switch style {
227 |
[5/13] Compiling SwiftMotionKit StackStyle.swift
[6/13] Compiling SwiftMotionKit SwiftMotionKit.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/13] Compiling SwiftMotionKit RecyclingMode.swift
[8/13] Compiling SwiftMotionKit CGSize+Extensions.swift
[9/13] Compiling SwiftMotionKit MotionPreset.swift
[10/13] Compiling SwiftMotionKit Random.swift
[11/13] Compiling SwiftMotionKit HapticsManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/MicroInteractions/HapticsManager.swift:65:31: error: cannot find type 'UIImpactFeedbackGenerator' in scope
63 |
64 |     /// Impact haptic (light/medium/heavy)
65 |     public func impact(style: UIImpactFeedbackGenerator.FeedbackStyle = .medium, minInterval: TimeInterval? = nil) {
   |                               `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
66 |         #if canImport(UIKit)
67 |         let key = "impact.\(style)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/MicroInteractions/HapticsManager.swift:77:38: error: cannot find type 'UINotificationFeedbackGenerator' in scope
75 |
76 |     /// Notification haptic (success/warning/error)
77 |     public func notification(_ type: UINotificationFeedbackGenerator.FeedbackType = .success, minInterval: TimeInterval? = nil) {
   |                                      `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
78 |         #if canImport(UIKit)
79 |         let key = "notification.\(type)"
[12/13] Emitting module SwiftMotionKit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/MicroInteractions/HapticsManager.swift:65:31: error: cannot find type 'UIImpactFeedbackGenerator' in scope
63 |
64 |     /// Impact haptic (light/medium/heavy)
65 |     public func impact(style: UIImpactFeedbackGenerator.FeedbackStyle = .medium, minInterval: TimeInterval? = nil) {
   |                               `- error: cannot find type 'UIImpactFeedbackGenerator' in scope
66 |         #if canImport(UIKit)
67 |         let key = "impact.\(style)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/MicroInteractions/HapticsManager.swift:77:38: error: cannot find type 'UINotificationFeedbackGenerator' in scope
75 |
76 |     /// Notification haptic (success/warning/error)
77 |     public func notification(_ type: UINotificationFeedbackGenerator.FeedbackType = .success, minInterval: TimeInterval? = nil) {
   |                                      `- error: cannot find type 'UINotificationFeedbackGenerator' in scope
78 |         #if canImport(UIKit)
79 |         let key = "notification.\(type)"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:220:32: error: 'Identifiable' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          |                     `- error: 'Identifiable' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:225:15: error: 'View' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
223 |         depthIndex: Int,
224 |         isTop: Bool
225 |     ) -> some View {
    |               `- error: 'View' is only available in macOS 10.15 or newer
226 |         switch style {
227 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:219:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
220 |     func applyStackStyle<Item: Identifiable>(
    |          `- note: add @available attribute to enclosing instance method
221 |         style: StackStyle,
222 |         item: Item,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftMotionKit/SwipeStack/SwipeCardStack.swift:218:19: error: 'View' is only available in macOS 10.15 or newer
216 | }
217 |
218 | private extension View {
    |         |         `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing extension
219 |     @ViewBuilder
220 |     func applyStackStyle<Item: Identifiable>(
[13/13] Compiling SwiftMotionKit SwipeThreshold.swift
BUILD FAILURE 6.0 macosSpm