The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnimatedGradient, reference main (c0e191), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 00:07:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/exyte/AnimatedGradient.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/exyte/AnimatedGradient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c0e1912 Merge commit '0ee1c58136392355a30f47c1de15fcaa39b8a8b0'
Cloned https://github.com/exyte/AnimatedGradient.git
Revision (git rev-parse @):
c0e19120abda483a61058721c6c7d65c82c4ebe9
SUCCESS checkout https://github.com/exyte/AnimatedGradient.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "animatedgradient",
      "name": "AnimatedGradient",
      "url": "https://github.com/exyte/AnimatedGradient.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AnimatedGradient",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/exyte/AnimatedGradient.git
[1/128] Fetching animatedgradient
Fetched https://github.com/exyte/AnimatedGradient.git from cache (0.87s)
Creating working copy for https://github.com/exyte/AnimatedGradient.git
Working copy of https://github.com/exyte/AnimatedGradient.git resolved at main (c0e1912)
warning: '.resolve-product-dependencies': dependency 'animatedgradient' 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/exyte/AnimatedGradient.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/11] Compiling AnimatedGradient Pair.swift
[4/11] Compiling AnimatedGradient Collection+Cycle.swift
[5/11] Emitting module AnimatedGradient
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:11:58: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
   |                                                          `- error: 'Gradient' is only available in macOS 10.15 or newer
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:12:56: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
   |                                                        `- error: 'Gradient' is only available in macOS 10.15 or newer
13 |
14 |     @Published private var index = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:8:6: error: 'StateObject' is only available in macOS 11.0 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 9 |
10 |     @State private var progress: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
10 |     @State private var progress: Double = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 |     var colors: [Color] = []
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:12:18: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
10 |     @State private var progress: Double = 0
11 |
12 |     var colors: [Color] = []
   |                  `- error: 'Color' is only available in macOS 10.15 or newer
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:14:20: error: 'Animation' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
12 |     var colors: [Color] = []
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
   |                    `- error: 'Animation' is only available in macOS 10.15 or newer
15 |     var startPoint: UnitPoint = .topTrailing
16 |     var endPoint: UnitPoint = .bottomLeading
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:14:33: error: 'linear(duration:)' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
12 |     var colors: [Color] = []
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
   |                                 `- error: 'linear(duration:)' is only available in macOS 10.15 or newer
15 |     var startPoint: UnitPoint = .topTrailing
16 |     var endPoint: UnitPoint = .bottomLeading
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:15:21: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
15 |     var startPoint: UnitPoint = .topTrailing
   |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
16 |     var endPoint: UnitPoint = .bottomLeading
17 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:16:19: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
14 |     var animation: Animation = .linear(duration: 3)
15 |     var startPoint: UnitPoint = .topTrailing
16 |     var endPoint: UnitPoint = .bottomLeading
   |                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
17 |
18 |     public init(colors: [Color]) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:18:26: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
16 |     var endPoint: UnitPoint = .bottomLeading
17 |
18 |     public init(colors: [Color]) {
   |            |             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
19 |         self.colors = colors
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:22:27: error: 'View' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:63:36: error: 'Animation' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
61 |     }
62 |
63 |     func setAnimation(_ animation: Animation) -> AnimatedLinearGradient {
   |          |                         `- error: 'Animation' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
64 |         var gradient = self
65 |         gradient.animation = animation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:69:32: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
67 |     }
68 |
69 |     func gradientPoints(start: UnitPoint, end: UnitPoint) -> AnimatedLinearGradient {
   |          |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
70 |         var gradient = self
71 |         gradient.startPoint = start
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:69:48: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
67 |     }
68 |
69 |     func gradientPoints(start: UnitPoint, end: UnitPoint) -> AnimatedLinearGradient {
   |          |                                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
70 |         var gradient = self
71 |         gradient.startPoint = start
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:76:32: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
74 |     }
75 |
76 |     func gradientPoints(start: UnitPoint) -> AnimatedLinearGradient {
   |          |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
77 |         gradientPoints(start: start, end: .bottomLeading)
78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:80:30: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
78 |     }
79 |
80 |     func gradientPoints(end: UnitPoint) -> AnimatedLinearGradient {
   |          |                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
81 |         gradientPoints(start: .topTrailing, end: end)
82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:9:29: error: 'Color' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:11:47: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
   |                                               `- error: 'Gradient' is only available in macOS 10.15 or newer
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
   |      `- error: 'Published' is only available in macOS 10.15 or newer
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:12:45: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
   |                                             `- error: 'Gradient' is only available in macOS 10.15 or newer
13 |
14 |     @Published private var index = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
   |      `- error: 'Published' is only available in macOS 10.15 or newer
13 |
14 |     @Published private var index = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
   :
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
14 |     @Published private var index = 0
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |
16 |     func nextGradients(colors count: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:30:42: error: 'Color' is only available in macOS 10.15 or newer
27 | }
28 |
29 | private extension AnimatedLinearGradientViewModel {
   |         `- note: add '@available' attribute to enclosing extension
30 |     func makePair(at index: Int) -> Pair<Color>? {
   |          |                               `- error: 'Color' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
31 |         guard let left = colors[cycle: index], let right = colors[cycle: index + 1]
32 |         else { return nil }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:8:30: error: 'Gradient' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
   |                              `- error: 'Gradient' is only available in macOS 10.15 or newer
 9 |     public let toGradient: Gradient
10 |     public var progress: CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:9:28: error: 'Gradient' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
   |                            `- error: 'Gradient' is only available in macOS 10.15 or newer
10 |     public var progress: CGFloat = 0.0
11 |     public let startPoint: UnitPoint
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:11:28: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
10 |     public var progress: CGFloat = 0.0
11 |     public let startPoint: UnitPoint
   |                            `- error: 'UnitPoint' is only available in macOS 10.15 or newer
12 |     public let endPoint: UnitPoint
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:12:26: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
10 |     public var progress: CGFloat = 0.0
11 |     public let startPoint: UnitPoint
12 |     public let endPoint: UnitPoint
   |                          `- error: 'UnitPoint' is only available in macOS 10.15 or newer
13 |
14 |     public nonisolated var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:19:48: error: 'View' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
   :
17 |     }
18 |
19 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
20 |         var gradientColors = [Color]()
21 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:39:23: error: 'Gradient' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
   |                       `- error: 'Gradient' is only available in macOS 10.15 or newer
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:40:21: error: 'Gradient' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
   |                     `- error: 'Gradient' is only available in macOS 10.15 or newer
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:42:21: error: 'UnitPoint' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
   |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
43 |         endPoint: UnitPoint) -> some View {
44 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:43:19: error: 'UnitPoint' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
43 |         endPoint: UnitPoint) -> some View {
   |                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
44 |
45 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:43:38: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
43 |         endPoint: UnitPoint) -> some View {
   |                                      `- error: 'View' is only available in macOS 10.15 or newer
44 |
45 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:37:11: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
39 |         fromGradient: Gradient,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:40:41: error: 'View' is only available in macOS 10.15 or newer
 6 |
 7 | /// An animatable modifier that is used for observing animations for a given animatable value.
 8 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic & Sendable {
   |        `- note: add '@available' attribute to enclosing generic struct
 9 |
10 |     /// While animating, SwiftUI changes the old input value to the new target value using this property. This value is set to the old value until the animation completes.
   :
38 |     }
39 |
40 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
41 |         /// We're not really modifying the view so we can directly return the original input value.
42 |         content
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:8:84: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
 6 |
 7 | /// An animatable modifier that is used for observing animations for a given animatable value.
 8 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic & Sendable {
   |        |                                                                           `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
 9 |
10 |     /// While animating, SwiftUI changes the old input value to the new target value using this property. This value is set to the old value until the animation completes.
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:53:38: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension View {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     /// Calls the completion handler whenever an animation on the given value completes.
   :
51 |     ///   - completion: The completion callback to call once the animation completes.
52 |     /// - Returns: A modified `View` instance with the observer attached.
53 |     func onAnimationCompleted<Value: VectorArithmetic & Sendable>(for value: Value, completion: @escaping (Value) -> Void) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>> {
   |          |                           `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
54 |         modifier(AnimationCompletionObserverModifier(observedValue: value, completion: completion))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:53:127: error: 'ModifiedContent' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension View {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     /// Calls the completion handler whenever an animation on the given value completes.
   :
51 |     ///   - completion: The completion callback to call once the animation completes.
52 |     /// - Returns: A modified `View` instance with the observer attached.
53 |     func onAnimationCompleted<Value: VectorArithmetic & Sendable>(for value: Value, completion: @escaping (Value) -> Void) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>> {
   |          |                                                                                                                    `- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
54 |         modifier(AnimationCompletionObserverModifier(observedValue: value, completion: completion))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:46:11: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     /// Calls the completion handler whenever an animation on the given value completes.
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:14:24: error: 'Color' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
   |          |             `- error: 'Color' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let fromColor = self.components
16 |         let toColor = color.components
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:14:53: error: 'Color' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
   |          |                                          `- error: 'Color' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let fromColor = self.components
16 |         let toColor = color.components
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:13:11: error: 'Color' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
15 |         let fromColor = self.components
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:48:39: error: 'Color' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     static func hex(_ hex: String) -> Color {
   |                 |                     `- error: 'Color' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing static method
49 |         Color.init(hex: hex)
50 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:46:11: error: 'Color' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension Color {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     static func hex(_ hex: String) -> Color {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:38:33: error: cannot convert value of type 'Void' to expected condition type 'Bool'
36 |         var o: CGFloat = 0
37 |
38 |         guard NativeColor(self).getRed(&r, green: &g, blue: &b, alpha: &o) else {
   |                                 `- error: cannot convert value of type 'Void' to expected condition type 'Bool'
39 |             return (0, 0, 0, 0)
40 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/GradientPreset.swift:8:32: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public class GradientPreset {
   |              `- note: add '@available' attribute to enclosing class
 8 |     public static let pastel: [Color] = [.hex("D2C7F6"), .hex("EFC6B7"), .hex("F4F2C1"), .hex("A2EFE9"), .hex("DCF4C4"), .hex("F5B8CE")]
   |                       |        `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
 9 |     public static let bright: [Color] = [.hex("FFE53B"), .hex("00FFA9"), .hex("6094EA"), .hex("0D4DFF"), .hex("F02FC2"), .hex("FF2525")]
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/GradientPreset.swift:9:32: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public class GradientPreset {
   |              `- note: add '@available' attribute to enclosing class
 8 |     public static let pastel: [Color] = [.hex("D2C7F6"), .hex("EFC6B7"), .hex("F4F2C1"), .hex("A2EFE9"), .hex("DCF4C4"), .hex("F5B8CE")]
 9 |     public static let bright: [Color] = [.hex("FFE53B"), .hex("00FFA9"), .hex("6094EA"), .hex("0D4DFF"), .hex("F02FC2"), .hex("FF2525")]
   |                       |        `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
10 | }
11 |
[6/11] Compiling AnimatedGradient Color+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:14:24: error: 'Color' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
   |          |             `- error: 'Color' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let fromColor = self.components
16 |         let toColor = color.components
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:14:53: error: 'Color' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
   |          |                                          `- error: 'Color' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let fromColor = self.components
16 |         let toColor = color.components
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:13:11: error: 'Color' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
15 |         let fromColor = self.components
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:48:39: error: 'Color' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     static func hex(_ hex: String) -> Color {
   |                 |                     `- error: 'Color' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing static method
49 |         Color.init(hex: hex)
50 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:46:11: error: 'Color' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension Color {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     static func hex(_ hex: String) -> Color {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:22:16: error: 'Color' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let fromColor = self.components
16 |         let toColor = color.components
   :
20 |         let blue = fromColor.blue + (toColor.blue - fromColor.blue) * progress
21 |
22 |         return Color(red: red, green: green, blue: blue)
   |                |- error: 'Color' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |     }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:22:16: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
11 | #endif
12 |
13 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
14 |     func mix(to color: Color, progress: CGFloat) -> Color {
   |          `- note: add '@available' attribute to enclosing instance method
15 |         let fromColor = self.components
16 |         let toColor = color.components
   :
20 |         let blue = fromColor.blue + (toColor.blue - fromColor.blue) * progress
21 |
22 |         return Color(red: red, green: green, blue: blue)
   |                |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
23 |     }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:38:33: error: cannot convert value of type 'Void' to expected condition type 'Bool'
36 |         var o: CGFloat = 0
37 |
38 |         guard NativeColor(self).getRed(&r, green: &g, blue: &b, alpha: &o) else {
   |                                 `- error: cannot convert value of type 'Void' to expected condition type 'Bool'
39 |             return (0, 0, 0, 0)
40 |         }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:49:9: error: 'Color' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     static func hex(_ hex: String) -> Color {
   |                 `- note: add '@available' attribute to enclosing static method
49 |         Color.init(hex: hex)
   |         |- error: 'Color' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
50 |     }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/Color+Utils.swift:62:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension Color {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     static func hex(_ hex: String) -> Color {
   :
50 |     }
51 |
52 |     init(hex: String) {
   |     `- note: add '@available' attribute to enclosing initializer
53 |         var cleanHexCode = hex.trimmingCharacters(in: .whitespacesAndNewlines)
54 |         cleanHexCode = cleanHexCode.replacingOccurrences(of: "#", with: "")
   :
60 |         let greenValue = Double((rgb >> 8) & 0xFF) / 255.0
61 |         let blueValue = Double(rgb & 0xFF) / 255.0
62 |         self.init(red: redValue, green: greenValue, blue: blueValue)
   |              |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
63 |     }
64 | }
[7/11] Compiling AnimatedGradient AnimatableLinearGradientModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:8:30: error: 'Gradient' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
   |                              `- error: 'Gradient' is only available in macOS 10.15 or newer
 9 |     public let toGradient: Gradient
10 |     public var progress: CGFloat = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:9:28: error: 'Gradient' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
   |                            `- error: 'Gradient' is only available in macOS 10.15 or newer
10 |     public var progress: CGFloat = 0.0
11 |     public let startPoint: UnitPoint
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:11:28: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
10 |     public var progress: CGFloat = 0.0
11 |     public let startPoint: UnitPoint
   |                            `- error: 'UnitPoint' is only available in macOS 10.15 or newer
12 |     public let endPoint: UnitPoint
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:12:26: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
10 |     public var progress: CGFloat = 0.0
11 |     public let startPoint: UnitPoint
12 |     public let endPoint: UnitPoint
   |                          `- error: 'UnitPoint' is only available in macOS 10.15 or newer
13 |
14 |     public nonisolated var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:19:48: error: 'View' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
   :
17 |     }
18 |
19 |     public func body(content: Content) -> some View {
   |                 |                              `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing instance method
20 |         var gradientColors = [Color]()
21 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:39:23: error: 'Gradient' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
   |                       `- error: 'Gradient' is only available in macOS 10.15 or newer
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:40:21: error: 'Gradient' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
   |                     `- error: 'Gradient' is only available in macOS 10.15 or newer
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:42:21: error: 'UnitPoint' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
   |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
43 |         endPoint: UnitPoint) -> some View {
44 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:43:19: error: 'UnitPoint' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
43 |         endPoint: UnitPoint) -> some View {
   |                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
44 |
45 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:43:38: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
41 |         progress: CGFloat,
42 |         startPoint: UnitPoint,
43 |         endPoint: UnitPoint) -> some View {
   |                                      `- error: 'View' is only available in macOS 10.15 or newer
44 |
45 |         self.modifier(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:37:11: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
39 |         fromGradient: Gradient,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:20:31: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
   :
17 |     }
18 |
19 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
20 |         var gradientColors = [Color]()
   |                               |- error: 'Color' is only available in macOS 10.15 or newer
   |                               `- note: add 'if #available' version check
21 |
22 |         for i in 0..<fromGradient.stops.count {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:29:16: error: 'LinearGradient' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
   :
17 |     }
18 |
19 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
20 |         var gradientColors = [Color]()
21 |
   :
27 |         }
28 |
29 |         return LinearGradient(
   |                |- error: 'LinearGradient' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
30 |             gradient: Gradient(colors: gradientColors),
31 |             startPoint: startPoint,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:30:23: error: 'Gradient' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatableLinearGradientModifier: AnimatableModifier {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     public let fromGradient: Gradient
 9 |     public let toGradient: Gradient
   :
17 |     }
18 |
19 |     public func body(content: Content) -> some View {
   |                 `- note: add '@available' attribute to enclosing instance method
20 |         var gradientColors = [Color]()
21 |
   :
28 |
29 |         return LinearGradient(
30 |             gradient: Gradient(colors: gradientColors),
   |                       |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                       `- note: add 'if #available' version check
31 |             startPoint: startPoint,
32 |             endPoint: endPoint
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:45:14: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
   :
43 |         endPoint: UnitPoint) -> some View {
44 |
45 |         self.modifier(
   |              |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
46 |             AnimatableLinearGradientModifier(
47 |                 fromGradient: fromGradient,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimatableLinearGradientModifier.swift:45:14: error: 'modifier' is only available in macOS 10.15 or newer
35 | }
36 |
37 | extension View {
   | `- note: add '@available' attribute to enclosing extension
38 |     public func animatableLinearGradient(
   |                 `- note: add '@available' attribute to enclosing instance method
39 |         fromGradient: Gradient,
40 |         toGradient: Gradient,
   :
43 |         endPoint: UnitPoint) -> some View {
44 |
45 |         self.modifier(
   |              |- error: 'modifier' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             AnimatableLinearGradientModifier(
47 |                 fromGradient: fromGradient,
[8/11] Compiling AnimatedGradient AnimatedLinearGradientViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:11:58: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
   |                                                          `- error: 'Gradient' is only available in macOS 10.15 or newer
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:12:56: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
   |                                                        `- error: 'Gradient' is only available in macOS 10.15 or newer
13 |
14 |     @Published private var index = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:9:29: error: 'Color' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
   |                             `- error: 'Color' is only available in macOS 10.15 or newer
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:9:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
   |      `- error: 'Published' is only available in macOS 10.15 or newer
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:11:47: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
   |                                               `- error: 'Gradient' is only available in macOS 10.15 or newer
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:11:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
   |      `- error: 'Published' is only available in macOS 10.15 or newer
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:12:45: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
   |                                             `- error: 'Gradient' is only available in macOS 10.15 or newer
13 |
14 |     @Published private var index = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:12:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
   |      `- error: 'Published' is only available in macOS 10.15 or newer
13 |
14 |     @Published private var index = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:14:6: error: 'Published' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
   :
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
14 |     @Published private var index = 0
   |      `- error: 'Published' is only available in macOS 10.15 or newer
15 |
16 |     func nextGradients(colors count: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:30:42: error: 'Color' is only available in macOS 10.15 or newer
27 | }
28 |
29 | private extension AnimatedLinearGradientViewModel {
   |         `- note: add '@available' attribute to enclosing extension
30 |     func makePair(at index: Int) -> Pair<Color>? {
   |          |                               `- error: 'Color' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
31 |         guard let left = colors[cycle: index], let right = colors[cycle: index + 1]
32 |         else { return nil }
<unknown>:0: error: cannot convert value of type 'KeyPath<AnimatedLinearGradientViewModel, [Color]>' to expected argument type 'ReferenceWritableKeyPath<AnimatedLinearGradientViewModel, [Color]>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AnimatedLinearGradientViewModel, Gradient>' to expected argument type 'ReferenceWritableKeyPath<AnimatedLinearGradientViewModel, Gradient>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AnimatedLinearGradientViewModel, Gradient>' to expected argument type 'ReferenceWritableKeyPath<AnimatedLinearGradientViewModel, Gradient>'
<unknown>:0: error: cannot convert value of type 'KeyPath<AnimatedLinearGradientViewModel, Int>' to expected argument type 'ReferenceWritableKeyPath<AnimatedLinearGradientViewModel, Int>'
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:19:9: error: setter for 'index' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
   :
14 |     @Published private var index = 0
15 |
16 |     func nextGradients(colors count: Int) {
   |          `- note: add '@available' attribute to enclosing instance method
17 |         guard !colors.isEmpty else { return }
18 |
19 |         index = (index + 1) % colors.count
   |         |- error: setter for 'index' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |
21 |         let pairs = (0..<count)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:24:9: error: setter for 'fromGradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
   :
14 |     @Published private var index = 0
15 |
16 |     func nextGradients(colors count: Int) {
   |          `- note: add '@available' attribute to enclosing instance method
17 |         guard !colors.isEmpty else { return }
18 |
   :
22 |             .compactMap { makePair(at: index + $0) }
23 |
24 |         fromGradient = Gradient(colors: pairs.map { $0.left })
   |         |- error: setter for 'fromGradient' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |         toGradient = Gradient(colors: pairs.map { $0.right })
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:24:24: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
   :
14 |     @Published private var index = 0
15 |
16 |     func nextGradients(colors count: Int) {
   |          `- note: add '@available' attribute to enclosing instance method
17 |         guard !colors.isEmpty else { return }
18 |
   :
22 |             .compactMap { makePair(at: index + $0) }
23 |
24 |         fromGradient = Gradient(colors: pairs.map { $0.left })
   |                        |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
25 |         toGradient = Gradient(colors: pairs.map { $0.right })
26 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:25:9: error: setter for 'toGradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
   :
14 |     @Published private var index = 0
15 |
16 |     func nextGradients(colors count: Int) {
   |          `- note: add '@available' attribute to enclosing instance method
17 |         guard !colors.isEmpty else { return }
18 |
   :
23 |
24 |         fromGradient = Gradient(colors: pairs.map { $0.left })
25 |         toGradient = Gradient(colors: pairs.map { $0.right })
   |         |- error: setter for 'toGradient' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
26 |     }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:25:22: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
   :
14 |     @Published private var index = 0
15 |
16 |     func nextGradients(colors count: Int) {
   |          `- note: add '@available' attribute to enclosing instance method
17 |         guard !colors.isEmpty else { return }
18 |
   :
23 |
24 |         fromGradient = Gradient(colors: pairs.map { $0.left })
25 |         toGradient = Gradient(colors: pairs.map { $0.right })
   |                      |- error: 'Gradient' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
26 |     }
27 | }
[9/11] Compiling AnimatedGradient GradientPreset.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/GradientPreset.swift:8:32: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public class GradientPreset {
   |              `- note: add '@available' attribute to enclosing class
 8 |     public static let pastel: [Color] = [.hex("D2C7F6"), .hex("EFC6B7"), .hex("F4F2C1"), .hex("A2EFE9"), .hex("DCF4C4"), .hex("F5B8CE")]
   |                       |        `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
 9 |     public static let bright: [Color] = [.hex("FFE53B"), .hex("00FFA9"), .hex("6094EA"), .hex("0D4DFF"), .hex("F02FC2"), .hex("FF2525")]
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/GradientPreset.swift:9:32: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public class GradientPreset {
   |              `- note: add '@available' attribute to enclosing class
 8 |     public static let pastel: [Color] = [.hex("D2C7F6"), .hex("EFC6B7"), .hex("F4F2C1"), .hex("A2EFE9"), .hex("DCF4C4"), .hex("F5B8CE")]
 9 |     public static let bright: [Color] = [.hex("FFE53B"), .hex("00FFA9"), .hex("6094EA"), .hex("0D4DFF"), .hex("F02FC2"), .hex("FF2525")]
   |                       |        `- error: 'Color' is only available in macOS 10.15 or newer
   |                       `- note: add '@available' attribute to enclosing static property
10 | }
11 |
[10/11] Compiling AnimatedGradient AnimatedLinearGradient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:11:58: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
   |                                                          `- error: 'Gradient' is only available in macOS 10.15 or newer
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
13 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradientViewModel.swift:12:56: error: 'Gradient' is only available in macOS 10.15 or newer
 6 | import Combine
 7 |
 8 | final class AnimatedLinearGradientViewModel: ObservableObject {
   |             `- note: add '@available' attribute to enclosing class
 9 |     @Published var colors: [Color] = []
10 |
11 |     @Published private(set) var fromGradient: Gradient = Gradient(colors: [])
12 |     @Published private(set) var toGradient: Gradient = Gradient(colors: [])
   |                                                        `- error: 'Gradient' is only available in macOS 10.15 or newer
13 |
14 |     @Published private var index = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:8:6: error: 'StateObject' is only available in macOS 11.0 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
 9 |
10 |     @State private var progress: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
10 |     @State private var progress: Double = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
11 |
12 |     var colors: [Color] = []
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:12:18: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
10 |     @State private var progress: Double = 0
11 |
12 |     var colors: [Color] = []
   |                  `- error: 'Color' is only available in macOS 10.15 or newer
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:14:20: error: 'Animation' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
12 |     var colors: [Color] = []
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
   |                    `- error: 'Animation' is only available in macOS 10.15 or newer
15 |     var startPoint: UnitPoint = .topTrailing
16 |     var endPoint: UnitPoint = .bottomLeading
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:14:33: error: 'linear(duration:)' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
12 |     var colors: [Color] = []
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
   |                                 `- error: 'linear(duration:)' is only available in macOS 10.15 or newer
15 |     var startPoint: UnitPoint = .topTrailing
16 |     var endPoint: UnitPoint = .bottomLeading
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:15:21: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
13 |     var simultaneousColorsCount: Int = 2
14 |     var animation: Animation = .linear(duration: 3)
15 |     var startPoint: UnitPoint = .topTrailing
   |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
16 |     var endPoint: UnitPoint = .bottomLeading
17 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:16:19: error: 'UnitPoint' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
14 |     var animation: Animation = .linear(duration: 3)
15 |     var startPoint: UnitPoint = .topTrailing
16 |     var endPoint: UnitPoint = .bottomLeading
   |                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
17 |
18 |     public init(colors: [Color]) {
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:18:26: error: 'Color' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
16 |     var endPoint: UnitPoint = .bottomLeading
17 |
18 |     public init(colors: [Color]) {
   |            |             `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add '@available' attribute to enclosing initializer
19 |         self.colors = colors
20 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:22:27: error: 'View' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:63:36: error: 'Animation' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
61 |     }
62 |
63 |     func setAnimation(_ animation: Animation) -> AnimatedLinearGradient {
   |          |                         `- error: 'Animation' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
64 |         var gradient = self
65 |         gradient.animation = animation
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:69:32: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
67 |     }
68 |
69 |     func gradientPoints(start: UnitPoint, end: UnitPoint) -> AnimatedLinearGradient {
   |          |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
70 |         var gradient = self
71 |         gradient.startPoint = start
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:69:48: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
67 |     }
68 |
69 |     func gradientPoints(start: UnitPoint, end: UnitPoint) -> AnimatedLinearGradient {
   |          |                                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
70 |         var gradient = self
71 |         gradient.startPoint = start
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:76:32: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
74 |     }
75 |
76 |     func gradientPoints(start: UnitPoint) -> AnimatedLinearGradient {
   |          |                     `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
77 |         gradientPoints(start: start, end: .bottomLeading)
78 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:80:30: error: 'UnitPoint' is only available in macOS 10.15 or newer
53 |
54 | // MARK: - Modifiers
55 | public extension AnimatedLinearGradient {
   |        `- note: add '@available' attribute to enclosing extension
56 |
57 |     func numberOfSimultaneousColors(_ count: Int) -> AnimatedLinearGradient {
   :
78 |     }
79 |
80 |     func gradientPoints(end: UnitPoint) -> AnimatedLinearGradient {
   |          |                   `- error: 'UnitPoint' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
81 |         gradientPoints(start: .topTrailing, end: end)
82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:23:9: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
   |         |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
24 |             .animatableLinearGradient(
25 |                 fromGradient: viewModel.fromGradient,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:23:9: error: 'Rectangle' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
   |         |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
24 |             .animatableLinearGradient(
25 |                 fromGradient: viewModel.fromGradient,
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:31:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
29 |                 endPoint: endPoint
30 |             )
31 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
32 |                 viewModel.colors = colors
33 |                 viewModel.nextGradients(colors: simultaneousColorsCount)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:32:17: error: setter for 'colors' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
30 |             )
31 |             .onAppear {
32 |                 viewModel.colors = colors
   |                 |- error: setter for 'colors' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
33 |                 viewModel.nextGradients(colors: simultaneousColorsCount)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:35:17: error: 'withAnimation' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
33 |                 viewModel.nextGradients(colors: simultaneousColorsCount)
34 |
35 |                 withAnimation(animation) {
   |                 |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
36 |                     progress = 1
37 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:36:21: error: setter for 'progress' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
34 |
35 |                 withAnimation(animation) {
36 |                     progress = 1
   |                     |- error: setter for 'progress' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
37 |                 }
38 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:39:14: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
37 |                 }
38 |             }
39 |             .onChange(of: colors) { value in
   |              |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
40 |                 viewModel.colors = value
41 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:40:17: error: setter for 'colors' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
38 |             }
39 |             .onChange(of: colors) { value in
40 |                 viewModel.colors = value
   |                 |- error: setter for 'colors' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
41 |             }
42 |             .onAnimationCompleted(for: progress) { value in
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:42:14: warning: conformance of 'Double' to 'VectorArithmetic' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
40 |                 viewModel.colors = value
41 |             }
42 |             .onAnimationCompleted(for: progress) { value in
   |              |- warning: conformance of 'Double' to 'VectorArithmetic' 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
43 |                 if value == 1 {
44 |                     viewModel.nextGradients(colors: simultaneousColorsCount)
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:45:21: error: setter for 'progress' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
43 |                 if value == 1 {
44 |                     viewModel.nextGradients(colors: simultaneousColorsCount)
45 |                     progress = 0
   |                     |- error: setter for 'progress' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
46 |                     withAnimation(animation) {
47 |                         progress = 1
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:46:21: error: 'withAnimation' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
44 |                     viewModel.nextGradients(colors: simultaneousColorsCount)
45 |                     progress = 0
46 |                     withAnimation(animation) {
   |                     |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
47 |                         progress = 1
48 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:47:25: error: setter for 'progress' is only available in macOS 10.15 or newer
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
   :
45 |                     progress = 0
46 |                     withAnimation(animation) {
47 |                         progress = 1
   |                         |- error: setter for 'progress' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
48 |                     }
49 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/AnimatedLinearGradient.swift:22:32: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 5 | import SwiftUI
 6 |
 7 | public struct AnimatedLinearGradient: View {
   |               `- note: add '@available' attribute to enclosing struct
 8 |     @StateObject private var viewModel = AnimatedLinearGradientViewModel()
 9 |
   :
20 |     }
21 |
22 |     public var body: some View {
   |                |               |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
   |                `- note: add '@available' attribute to enclosing property
23 |         Rectangle()
24 |             .animatableLinearGradient(
[11/11] Compiling AnimatedGradient AnimationCompletionObserverModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:40:41: error: 'View' is only available in macOS 10.15 or newer
 6 |
 7 | /// An animatable modifier that is used for observing animations for a given animatable value.
 8 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic & Sendable {
   |        `- note: add '@available' attribute to enclosing generic struct
 9 |
10 |     /// While animating, SwiftUI changes the old input value to the new target value using this property. This value is set to the old value until the animation completes.
   :
38 |     }
39 |
40 |     func body(content: Content) -> some View {
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
41 |         /// We're not really modifying the view so we can directly return the original input value.
42 |         content
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:8:84: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
 6 |
 7 | /// An animatable modifier that is used for observing animations for a given animatable value.
 8 | struct AnimationCompletionObserverModifier<Value>: AnimatableModifier where Value: VectorArithmetic & Sendable {
   |        |                                                                           `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |        `- note: add '@available' attribute to enclosing generic struct
 9 |
10 |     /// While animating, SwiftUI changes the old input value to the new target value using this property. This value is set to the old value until the animation completes.
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:53:38: error: 'VectorArithmetic' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension View {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     /// Calls the completion handler whenever an animation on the given value completes.
   :
51 |     ///   - completion: The completion callback to call once the animation completes.
52 |     /// - Returns: A modified `View` instance with the observer attached.
53 |     func onAnimationCompleted<Value: VectorArithmetic & Sendable>(for value: Value, completion: @escaping (Value) -> Void) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>> {
   |          |                           `- error: 'VectorArithmetic' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
54 |         modifier(AnimationCompletionObserverModifier(observedValue: value, completion: completion))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:53:127: error: 'ModifiedContent' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension View {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     /// Calls the completion handler whenever an animation on the given value completes.
   :
51 |     ///   - completion: The completion callback to call once the animation completes.
52 |     /// - Returns: A modified `View` instance with the observer attached.
53 |     func onAnimationCompleted<Value: VectorArithmetic & Sendable>(for value: Value, completion: @escaping (Value) -> Void) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>> {
   |          |                                                                                                                    `- error: 'ModifiedContent' is only available in macOS 10.15 or newer
   |          `- note: add '@available' attribute to enclosing instance method
54 |         modifier(AnimationCompletionObserverModifier(observedValue: value, completion: completion))
55 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:46:11: error: 'View' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     /// Calls the completion handler whenever an animation on the given value completes.
/Users/admin/builder/spi-builder-workspace/Sources/AnimatedGradient/Drivers/AnimationCompletionObserverModifier.swift:54:9: error: 'modifier' is only available in macOS 10.15 or newer
44 | }
45 |
46 | extension View {
   | `- note: add '@available' attribute to enclosing extension
47 |
48 |     /// Calls the completion handler whenever an animation on the given value completes.
   :
51 |     ///   - completion: The completion callback to call once the animation completes.
52 |     /// - Returns: A modified `View` instance with the observer attached.
53 |     func onAnimationCompleted<Value: VectorArithmetic & Sendable>(for value: Value, completion: @escaping (Value) -> Void) -> ModifiedContent<Self, AnimationCompletionObserverModifier<Value>> {
   |          `- note: add '@available' attribute to enclosing instance method
54 |         modifier(AnimationCompletionObserverModifier(observedValue: value, completion: completion))
   |         |- error: 'modifier' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
55 |     }
56 | }
BUILD FAILURE 6.3 macosSpm