The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FeatureFlagsController, reference master (2a1e5e), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:24:34 UTC.

Build Command

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

Build Log

15 |
16 |     var id: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:20:25: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 | import Combine
11 |
12 | public protocol FeatureFlagType {
   |                 `- note: add @available attribute to enclosing protocol
13 |     associatedtype Value: Equatable
14 |     associatedtype View: SwiftUI.View
   :
18 |     var group: String? { get }
19 |     var value: Value { get nonmutating set }
20 |     var valuePublisher: AnyPublisher<Value, Never> { get }
   |         |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |
22 |     var view: View { get }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:27:31: error: 'AnyPublisher' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension FeatureFlagType {
   | `- note: add @available attribute to enclosing extension
26 |
27 |     public func register() -> AnyPublisher<Value, Never> {
   |                 |             `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
28 |         FeatureFlagsController.shared.register(self)
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:31:30: error: 'Binding' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension FeatureFlagType {
   | `- note: add @available attribute to enclosing extension
26 |
27 |     public func register() -> AnyPublisher<Value, Never> {
   :
29 |     }
30 |
31 |     public var valueBinding: Binding<Value> {
   |                |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
32 |         Binding {
33 |             self.value
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:18:10: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
19 |
20 |         if let publisher = publisher(for: flag) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:43:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
41 |     // MARK: - Publishers
42 |
43 |     @Published
   |      `- error: 'Published' is only available in macOS 10.15 or newer
44 |     internal var viewFactories: [FeatureFlagViewFactory] = []
45 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:50:10: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
46 |     private var publishers: [String: Any] = [:]
47 |
48 |     private func publisher<F: FeatureFlagType>(
   |                  `- note: add @available attribute to enclosing instance method
49 |         for flag: F
50 |     ) -> AnyPublisher<F.Value, Never>? {
   |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
51 |         publishers[flag.id] as? AnyPublisher<F.Value, Never>
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:55:22: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
52 |     }
53 |
54 |     private func addPublisher<F: FeatureFlagType>(
   |                  `- note: add @available attribute to enclosing instance method
55 |         _ publisher: AnyPublisher<F.Value, Never>,
   |                      `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
56 |         for flag: F
57 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:11:46: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      |                       `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:41:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
39 |     }
40 |
41 |     public var valuePublisher: AnyPublisher<Int, Never> {
   |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
42 |         NotificationCenter.default
43 |             .publisher(for: UserDefaults.didChangeNotification)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:49:27: error: 'View' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:33:43: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 31 |     }
 32 |
 33 |     private var valuePublishers: [String: AnyPublisher<Value, Never>] {
    |                 |                         `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 34 |         [first.id: first.valuePublisher, second.id: second.valuePublisher]
 35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:37:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 35 |     }
 36 |
 37 |     private var activeValuePublisher: AnyPublisher<Value, Never> {
    |                 |                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 38 |         valuePublishers[activeFeatureFlagID] ?? first.valuePublisher
 39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:47:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
 62 |             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:81:6: error: 'State' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
 80 |
 81 |     @State var refreshCount: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 82 |
 83 |     private var activeFeatureFlagID: Binding<String> {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:83:38: error: 'Binding' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 81 |     @State var refreshCount: Int = 0
 82 |
 83 |     private var activeFeatureFlagID: Binding<String> {
    |                 |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 84 |         Binding {
 85 |             featureFlag.activeFeatureFlagID
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:92:20: error: 'View' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:44:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
42 |     }
43 |
44 |     public var valuePublisher: AnyPublisher<Value, Never> {
   |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
45 |         NotificationCenter.default
46 |             .publisher(for: UserDefaults.didChangeNotification)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:52:27: error: 'View' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:11:47: error: 'PickerStyle' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               |                               `- error: 'PickerStyle' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:66:44: error: 'DefaultPickerStyle' is only available in macOS 10.15 or newer
64 | }
65 |
66 | extension PickerFeatureFlag where Style == DefaultPickerStyle {
   | |                                          `- error: 'DefaultPickerStyle' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
67 |     public init(title: String, defaultValue: Value, group: String? = nil) {
68 |         self = PickerFeatureFlag(title: title, defaultValue: defaultValue, group: group, style: DefaultPickerStyle())
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:73:41: error: 'View' is only available in macOS 10.15 or newer
70 | }
71 |
72 | extension RawRepresentable where Self: Hashable, RawValue == String {
   | `- note: add @available attribute to enclosing extension
73 |     fileprivate func makeView() -> some View {
   |                      |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
74 |         Text(String(describing: self)).tag(self)
75 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:80:45: error: 'PickerStyle' is only available in macOS 10.15 or newer
77 |
78 |
79 | extension FeatureFlagType {
   | `- note: add @available attribute to enclosing extension
80 |     public static func picker<Value, Style: PickerStyle>(
   |                        |                    `- error: 'PickerStyle' is only available in macOS 10.15 or newer
   |                        `- note: add @available attribute to enclosing static method
81 |         title: String, defaultValue: Value, group: String? = nil, userDefaults: UserDefaults = .featureFlags, style: Style
82 |     ) -> Self where Self == PickerFeatureFlag<Value, Style> {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:89:31: error: 'PickerStyle' is only available in macOS 10.15 or newer
86 |
87 | @available(iOS 14, *)
88 | extension FeatureFlag {
   | `- note: add @available attribute to enclosing extension
89 |     public init<Value, Style: PickerStyle>(
   |            |                  `- error: 'PickerStyle' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
90 |         wrappedValue: Value, title: String, group: String? = nil, userDefaults: UserDefaults = .featureFlags, style: Style
91 |     ) where F == PickerFeatureFlag<Value, Style> {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/ToggleFeatureFlag.swift:40:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct ToggleFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |
13 |     public init(title: String, defaultValue: Bool, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
   :
38 |     }
39 |
40 |     public var valuePublisher: AnyPublisher<Bool, Never> {
   |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
41 |         NotificationCenter.default
42 |             .publisher(for: UserDefaults.didChangeNotification)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/ToggleFeatureFlag.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct ToggleFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |
13 |     public init(title: String, defaultValue: Bool, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
   :
46 |     }
47 |
48 |     public var view: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
49 |         Toggle(isOn: valueBinding) {
50 |             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagViewFactory.swift:14:25: error: 'AnyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | internal struct FeatureFlagViewFactory {
   |                 `- note: add @available attribute to enclosing struct
11 |
12 |     let id: String
13 |     let group: String?
14 |     let makeView: () -> AnyView
   |                         `- error: 'AnyView' is only available in macOS 10.15 or newer
15 |
16 |     init<F: FeatureFlagType>(_ flag: F) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:13:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
12 |
13 |     @ObservedObject
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
14 |     private var controller: FeatureFlagsController = .shared
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:28:27: error: 'View' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | struct FeatureFlagsView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
46 |         FeatureFlagsView()
47 |     }
[5/11] Compiling FeatureFlagsController FeatureFlagsController.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:18:10: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
19 |
20 |         if let publisher = publisher(for: flag) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:43:6: error: 'Published' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
41 |     // MARK: - Publishers
42 |
43 |     @Published
   |      `- error: 'Published' is only available in macOS 10.15 or newer
44 |     internal var viewFactories: [FeatureFlagViewFactory] = []
45 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:50:10: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
46 |     private var publishers: [String: Any] = [:]
47 |
48 |     private func publisher<F: FeatureFlagType>(
   |                  `- note: add @available attribute to enclosing instance method
49 |         for flag: F
50 |     ) -> AnyPublisher<F.Value, Never>? {
   |          `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
51 |         publishers[flag.id] as? AnyPublisher<F.Value, Never>
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:55:22: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
52 |     }
53 |
54 |     private func addPublisher<F: FeatureFlagType>(
   |                  `- note: add @available attribute to enclosing instance method
55 |         _ publisher: AnyPublisher<F.Value, Never>,
   |                      `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
56 |         for flag: F
57 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:11:46: error: 'ObservableObject' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      |                       `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:26:14: error: 'handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
24 |         let publisher = flag
25 |             .valuePublisher
26 |             .handleEvents(
   |              |- error: 'handleEvents(receiveSubscription:receiveOutput:receiveCompletion:receiveCancel:receiveRequest:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |                 receiveOutput: { _ in self.objectWillChange.send() },
28 |                 receiveCancel: { self.removePublisher(for: flag) }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:27:44: error: 'objectWillChange' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
25 |             .valuePublisher
26 |             .handleEvents(
27 |                 receiveOutput: { _ in self.objectWillChange.send() },
   |                                            |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
28 |                 receiveCancel: { self.removePublisher(for: flag) }
29 |             )
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:30:14: error: 'share()' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
28 |                 receiveCancel: { self.removePublisher(for: flag) }
29 |             )
30 |             .share()
   |              |- error: 'share()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
31 |             .prepend(flag.value)
32 |             .removeDuplicates()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:31:14: error: 'prepend' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
29 |             )
30 |             .share()
31 |             .prepend(flag.value)
   |              |- error: 'prepend' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
32 |             .removeDuplicates()
33 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:32:14: error: 'removeDuplicates()' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
30 |             .share()
31 |             .prepend(flag.value)
32 |             .removeDuplicates()
   |              |- error: 'removeDuplicates()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
33 |             .receive(on: DispatchQueue.main)
34 |             .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:33:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
31 |             .prepend(flag.value)
32 |             .removeDuplicates()
33 |             .receive(on: DispatchQueue.main)
   |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
34 |             .eraseToAnyPublisher()
35 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:34:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
32 |             .removeDuplicates()
33 |             .receive(on: DispatchQueue.main)
34 |             .eraseToAnyPublisher()
   |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
35 |
36 |         addPublisher(publisher, for: flag)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'DispatchQueue' to 'Scheduler' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'DispatchQueue' to 'Scheduler' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'DispatchQueue' to 'Scheduler' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'DispatchQueue' to 'Scheduler' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'DispatchQueue' to 'Scheduler' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'DispatchQueue' to 'Scheduler' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'DispatchQueue' to 'Scheduler' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'DispatchQueue' to 'Scheduler' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
<unknown>:0: error: cannot convert value of type 'KeyPath<FeatureFlagsController, [FeatureFlagViewFactory]>' to expected argument type 'ReferenceWritableKeyPath<FeatureFlagsController, [FeatureFlagViewFactory]>'
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:24:13: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
14 |     private init() {}
15 |
16 |     internal func register<F: FeatureFlagType>(
   |                   `- note: add @available attribute to enclosing instance method
17 |         _ flag: F
18 |     ) -> AnyPublisher<F.Value, Never> {
   :
22 |         }
23 |
24 |         let publisher = flag
   |             |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
25 |             .valuePublisher
26 |             .handleEvents(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:51:33: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
46 |     private var publishers: [String: Any] = [:]
47 |
48 |     private func publisher<F: FeatureFlagType>(
   |                  `- note: add @available attribute to enclosing instance method
49 |         for flag: F
50 |     ) -> AnyPublisher<F.Value, Never>? {
51 |         publishers[flag.id] as? AnyPublisher<F.Value, Never>
   |                                 |- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
52 |     }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:59:13: error: cannot pass as inout because setter for 'viewFactories' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
52 |     }
53 |
54 |     private func addPublisher<F: FeatureFlagType>(
   |                  `- note: add @available attribute to enclosing instance method
55 |         _ publisher: AnyPublisher<F.Value, Never>,
56 |         for flag: F
57 |     ) {
58 |         if viewFactories.contains(where: { $0.id == flag.id }) == false {
59 |             viewFactories.append(FeatureFlagViewFactory(flag))
   |             |- error: cannot pass as inout because setter for 'viewFactories' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
60 |         }
61 |         publishers[flag.id] = publisher
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagsController.swift:67:9: error: cannot pass as inout because setter for 'viewFactories' is only available in macOS 10.15 or newer
 9 | import SwiftUI
10 |
11 | internal final class FeatureFlagsController: ObservableObject {
   |                      `- note: add @available attribute to enclosing class
12 |     internal static let shared = FeatureFlagsController()
13 |
   :
62 |     }
63 |
64 |     private func removePublisher<F: FeatureFlagType>(
   |                  `- note: add @available attribute to enclosing instance method
65 |         for flag: F
66 |     ) {
67 |         viewFactories.removeAll(where: { $0.id == flag.id })
   |         |- error: cannot pass as inout because setter for 'viewFactories' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
68 |         publishers.removeValue(forKey: flag.id)
69 |     }
[6/11] Compiling FeatureFlagsController FeatureFlagType.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:14:34: error: 'View' is only available in macOS 10.15 or newer
10 | import Combine
11 |
12 | public protocol FeatureFlagType {
   |                 `- note: add @available attribute to enclosing protocol
13 |     associatedtype Value: Equatable
14 |     associatedtype View: SwiftUI.View
   |                    |             `- error: 'View' is only available in macOS 10.15 or newer
   |                    `- note: add @available attribute to enclosing associated type
15 |
16 |     var id: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:20:25: error: 'AnyPublisher' is only available in macOS 10.15 or newer
10 | import Combine
11 |
12 | public protocol FeatureFlagType {
   |                 `- note: add @available attribute to enclosing protocol
13 |     associatedtype Value: Equatable
14 |     associatedtype View: SwiftUI.View
   :
18 |     var group: String? { get }
19 |     var value: Value { get nonmutating set }
20 |     var valuePublisher: AnyPublisher<Value, Never> { get }
   |         |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |
22 |     var view: View { get }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:27:31: error: 'AnyPublisher' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension FeatureFlagType {
   | `- note: add @available attribute to enclosing extension
26 |
27 |     public func register() -> AnyPublisher<Value, Never> {
   |                 |             `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing instance method
28 |         FeatureFlagsController.shared.register(self)
29 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:31:30: error: 'Binding' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension FeatureFlagType {
   | `- note: add @available attribute to enclosing extension
26 |
27 |     public func register() -> AnyPublisher<Value, Never> {
   :
29 |     }
30 |
31 |     public var valueBinding: Binding<Value> {
   |                |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
32 |         Binding {
33 |             self.value
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlagType.swift:32:9: error: 'Binding' is only available in macOS 10.15 or newer
23 | }
24 |
25 | extension FeatureFlagType {
   | `- note: add @available attribute to enclosing extension
26 |
27 |     public func register() -> AnyPublisher<Value, Never> {
   :
29 |     }
30 |
31 |     public var valueBinding: Binding<Value> {
   |                `- note: add @available attribute to enclosing property
32 |         Binding {
   |         |- error: 'Binding' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
33 |             self.value
34 |         } set: {
[7/11] Compiling FeatureFlagsController FeatureFlagsGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:33:43: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 31 |     }
 32 |
 33 |     private var valuePublishers: [String: AnyPublisher<Value, Never>] {
    |                 |                         `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 34 |         [first.id: first.valuePublisher, second.id: second.valuePublisher]
 35 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:37:39: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 35 |     }
 36 |
 37 |     private var activeValuePublisher: AnyPublisher<Value, Never> {
    |                 |                     `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 38 |         valuePublishers[activeFeatureFlagID] ?? first.valuePublisher
 39 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:47:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
 62 |             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:81:6: error: 'State' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
 80 |
 81 |     @State var refreshCount: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 82 |
 83 |     private var activeFeatureFlagID: Binding<String> {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:83:38: error: 'Binding' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 81 |     @State var refreshCount: Int = 0
 82 |
 83 |     private var activeFeatureFlagID: Binding<String> {
    |                 |                    `- error: 'Binding' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 84 |         Binding {
 85 |             featureFlag.activeFeatureFlagID
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:92:20: error: 'View' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:49:14: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
    |              |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 50 |             .map { _ in self.activeFeatureFlagID }
 51 |             .prepend(self.activeFeatureFlagID)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:50:14: error: 'map' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
 50 |             .map { _ in self.activeFeatureFlagID }
    |              |- error: 'map' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 51 |             .prepend(self.activeFeatureFlagID)
 52 |             .removeDuplicates()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:51:14: error: 'prepend' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
 50 |             .map { _ in self.activeFeatureFlagID }
 51 |             .prepend(self.activeFeatureFlagID)
    |              |- error: 'prepend' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 52 |             .removeDuplicates()
 53 |             .receive(on: DispatchQueue.main)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:52:14: error: 'removeDuplicates()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
 50 |             .map { _ in self.activeFeatureFlagID }
 51 |             .prepend(self.activeFeatureFlagID)
 52 |             .removeDuplicates()
    |              |- error: 'removeDuplicates()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 53 |             .receive(on: DispatchQueue.main)
 54 |             .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:53:14: error: 'receive(on:options:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
    :
 51 |             .prepend(self.activeFeatureFlagID)
 52 |             .removeDuplicates()
 53 |             .receive(on: DispatchQueue.main)
    |              |- error: 'receive(on:options:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 54 |             .flatMap { _ in
 55 |                 self.activeValuePublisher.prepend(self.value)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:54:14: error: 'flatMap(maxPublishers:_:)' is only available in macOS 11.0 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
    :
 52 |             .removeDuplicates()
 53 |             .receive(on: DispatchQueue.main)
 54 |             .flatMap { _ in
    |              |- error: 'flatMap(maxPublishers:_:)' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
 55 |                 self.activeValuePublisher.prepend(self.value)
 56 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:54:22: warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
    :
 52 |             .removeDuplicates()
 53 |             .receive(on: DispatchQueue.main)
 54 |             .flatMap { _ in
    |                      |- warning: conformance of 'AnyPublisher<Output, Failure>' to 'Publisher' 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
 55 |                 self.activeValuePublisher.prepend(self.value)
 56 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:55:43: error: 'prepend' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
    :
 53 |             .receive(on: DispatchQueue.main)
 54 |             .flatMap { _ in
 55 |                 self.activeValuePublisher.prepend(self.value)
    |                                           |- error: 'prepend' is only available in macOS 10.15 or newer
    |                                           `- note: add 'if #available' version check
 56 |             }
 57 |             .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:57:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 45 |     }
 46 |
 47 |     public var valuePublisher: AnyPublisher<Value, Never> {
    |                `- note: add @available attribute to enclosing property
 48 |         NotificationCenter.default
 49 |             .publisher(for: UserDefaults.didChangeNotification)
    :
 55 |                 self.activeValuePublisher.prepend(self.value)
 56 |             }
 57 |             .eraseToAnyPublisher()
    |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 58 |     }
 59 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:61:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
    |         |- warning: conformance of 'Text' 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
 62 |             Text(title)
 63 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:61:9: error: 'NavigationLink' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
    |         |- error: 'NavigationLink' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 62 |             Text(title)
 63 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:61:9: error: 'init(destination:label:)' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
    |         |- error: 'init(destination:label:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 62 |             Text(title)
 63 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:62:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
 62 |             Text(title)
    |             |- warning: conformance of 'Text' 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
 63 |         }
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:62:13: error: 'Text' is only available in macOS 10.15 or newer
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
 62 |             Text(title)
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 63 |         }
 64 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:61:85: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  9 | import Combine
 10 |
 11 | public struct FeatureFlagsGroup<First: FeatureFlagType, Second: FeatureFlagType>: FeatureFlagType where First.Value == Second.Value {
    |               `- note: add @available attribute to enclosing generic struct
 12 |
 13 |     public init(title: String, first: First, second: Second, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
    :
 58 |     }
 59 |
 60 |     public var view: some View {
    |                `- note: add @available attribute to enclosing property
 61 |         NavigationLink(destination: FeatureFlagsGroupDetailView(featureFlag: self)) {
    |                                                                                     |- warning: conformance of 'Text' 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
 62 |             Text(title)
 63 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:84:9: error: 'Binding' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 81 |     @State var refreshCount: Int = 0
 82 |
 83 |     private var activeFeatureFlagID: Binding<String> {
    |                 `- note: add @available attribute to enclosing property
 84 |         Binding {
    |         |- error: 'Binding' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 85 |             featureFlag.activeFeatureFlagID
 86 |         } set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:88:13: error: cannot pass as inout because setter for 'refreshCount' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 81 |     @State var refreshCount: Int = 0
 82 |
 83 |     private var activeFeatureFlagID: Binding<String> {
    |                 `- note: add @available attribute to enclosing property
 84 |         Binding {
 85 |             featureFlag.activeFeatureFlagID
 86 |         } set: { newValue in
 87 |             featureFlag.activeFeatureFlagID = newValue
 88 |             refreshCount += 1
    |             |- error: cannot pass as inout because setter for 'refreshCount' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 89 |         }
 90 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:93:9: error: 'Form' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
    |         |- error: 'Form' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:94:13: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 92 |     var body: some View {
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    |             `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:94:13: error: 'Section' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    |             |- error: 'Section' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:94:13: error: 'init(header:content:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    |             |- error: 'init(header:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:94:29: error: 'Text' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:94:58: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    |                                                          |- warning: conformance of 'Text' 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
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:95:17: error: 'Picker' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
    |                 |- error: 'Picker' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 96 |                     Text("First").tag(featureFlag.first.id)
 97 |                     Text("Second").tag(featureFlag.second.id)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:95:17: error: 'init(_:selection:content:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
    |                 |- error: 'init(_:selection:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 96 |                     Text("First").tag(featureFlag.first.id)
 97 |                     Text("Second").tag(featureFlag.second.id)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:95:24: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
    |                        |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 96 |                     Text("First").tag(featureFlag.first.id)
 97 |                     Text("Second").tag(featureFlag.second.id)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:96:21: error: 'Text' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 97 |                     Text("Second").tag(featureFlag.second.id)
 98 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:96:35: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
    |                                   |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
 97 |                     Text("Second").tag(featureFlag.second.id)
 98 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:97:21: error: 'Text' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
 97 |                     Text("Second").tag(featureFlag.second.id)
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 98 |                 }
 99 |                 .pickerStyle(SegmentedPickerStyle())
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:97:36: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
 95 |                 Picker("", selection: activeFeatureFlagID) {
 96 |                     Text("First").tag(featureFlag.first.id)
 97 |                     Text("Second").tag(featureFlag.second.id)
    |                                    |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 98 |                 }
 99 |                 .pickerStyle(SegmentedPickerStyle())
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:99:18: error: 'pickerStyle' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
 97 |                     Text("Second").tag(featureFlag.second.id)
 98 |                 }
 99 |                 .pickerStyle(SegmentedPickerStyle())
    |                  |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
100 |             }
101 |             Section(header: Text("FIRST FEATURE FLAG")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:99:30: error: 'SegmentedPickerStyle' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
 97 |                     Text("Second").tag(featureFlag.second.id)
 98 |                 }
 99 |                 .pickerStyle(SegmentedPickerStyle())
    |                              |- error: 'SegmentedPickerStyle' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
100 |             }
101 |             Section(header: Text("FIRST FEATURE FLAG")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:101:13: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
 99 |                 .pickerStyle(SegmentedPickerStyle())
100 |             }
101 |             Section(header: Text("FIRST FEATURE FLAG")) {
    |             `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:101:13: error: 'Section' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
 99 |                 .pickerStyle(SegmentedPickerStyle())
100 |             }
101 |             Section(header: Text("FIRST FEATURE FLAG")) {
    |             |- error: 'Section' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:101:13: error: 'init(header:content:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
 99 |                 .pickerStyle(SegmentedPickerStyle())
100 |             }
101 |             Section(header: Text("FIRST FEATURE FLAG")) {
    |             |- error: 'init(header:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:101:29: error: 'Text' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
 99 |                 .pickerStyle(SegmentedPickerStyle())
100 |             }
101 |             Section(header: Text("FIRST FEATURE FLAG")) {
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:102:40: error: 'opacity' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
100 |             }
101 |             Section(header: Text("FIRST FEATURE FLAG")) {
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
    |                                        |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
103 |             }
104 |             Section(header: Text("SECOND FEATURE FLAG")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:104:13: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
104 |             Section(header: Text("SECOND FEATURE FLAG")) {
    |             `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
105 |                 featureFlag.second.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.second.id ? 1 : 0.5)
106 |             }
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:104:13: error: 'Section' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
104 |             Section(header: Text("SECOND FEATURE FLAG")) {
    |             |- error: 'Section' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
105 |                 featureFlag.second.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.second.id ? 1 : 0.5)
106 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:104:13: error: 'init(header:content:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
104 |             Section(header: Text("SECOND FEATURE FLAG")) {
    |             |- error: 'init(header:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
105 |                 featureFlag.second.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.second.id ? 1 : 0.5)
106 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:104:29: error: 'Text' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
102 |                 featureFlag.first.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.first.id ? 1 : 0.5)
103 |             }
104 |             Section(header: Text("SECOND FEATURE FLAG")) {
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
105 |                 featureFlag.second.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.second.id ? 1 : 0.5)
106 |             }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:105:41: error: 'opacity' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
103 |             }
104 |             Section(header: Text("SECOND FEATURE FLAG")) {
105 |                 featureFlag.second.view.opacity(activeFeatureFlagID.wrappedValue == featureFlag.second.id ? 1 : 0.5)
    |                                         |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                         `- note: add 'if #available' version check
106 |             }
107 |         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:108:10: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
 75 | }
 76 |
 77 | private struct FeatureFlagsGroupDetailView<First: FeatureFlagType, Second: FeatureFlagType>: View where First.Value == Second.Value {
    |                `- note: add @available attribute to enclosing generic struct
 78 |
 79 |     let featureFlag: FeatureFlagsGroup<First, Second>
    :
 90 |     }
 91 |
 92 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 93 |         Form {
 94 |             Section(header: Text("ACTIVE FEATURE FLAG")) {
    :
106 |             }
107 |         }
108 |         .tag(refreshCount)
    |          |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
109 |         .navigationBarTitle(featureFlag.title)
110 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/FeatureFlagsGroup.swift:109:10: error: 'navigationBarTitle' is unavailable in macOS
107 |         }
108 |         .tag(refreshCount)
109 |         .navigationBarTitle(featureFlag.title)
    |          `- error: 'navigationBarTitle' is unavailable in macOS
110 |     }
111 | }
SwiftUI.View.navigationBarTitle:7:27: note: 'navigationBarTitle' has been explicitly marked unavailable here
5 |   @available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
6 |   @available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
7 |   nonisolated public func navigationBarTitle<S>(_ title: S) -> some View where S : StringProtocol
  |                           `- note: 'navigationBarTitle' has been explicitly marked unavailable here
8 |   }
9 |
[8/11] Compiling FeatureFlagsController PickerFeatureFlag.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:44:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
42 |     }
43 |
44 |     public var valuePublisher: AnyPublisher<Value, Never> {
   |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
45 |         NotificationCenter.default
46 |             .publisher(for: UserDefaults.didChangeNotification)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:52:27: error: 'View' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:11:47: error: 'PickerStyle' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               |                               `- error: 'PickerStyle' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:66:44: error: 'DefaultPickerStyle' is only available in macOS 10.15 or newer
64 | }
65 |
66 | extension PickerFeatureFlag where Style == DefaultPickerStyle {
   | |                                          `- error: 'DefaultPickerStyle' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
67 |     public init(title: String, defaultValue: Value, group: String? = nil) {
68 |         self = PickerFeatureFlag(title: title, defaultValue: defaultValue, group: group, style: DefaultPickerStyle())
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:73:41: error: 'View' is only available in macOS 10.15 or newer
70 | }
71 |
72 | extension RawRepresentable where Self: Hashable, RawValue == String {
   | `- note: add @available attribute to enclosing extension
73 |     fileprivate func makeView() -> some View {
   |                      |                  `- error: 'View' is only available in macOS 10.15 or newer
   |                      `- note: add @available attribute to enclosing instance method
74 |         Text(String(describing: self)).tag(self)
75 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:80:45: error: 'PickerStyle' is only available in macOS 10.15 or newer
77 |
78 |
79 | extension FeatureFlagType {
   | `- note: add @available attribute to enclosing extension
80 |     public static func picker<Value, Style: PickerStyle>(
   |                        |                    `- error: 'PickerStyle' is only available in macOS 10.15 or newer
   |                        `- note: add @available attribute to enclosing static method
81 |         title: String, defaultValue: Value, group: String? = nil, userDefaults: UserDefaults = .featureFlags, style: Style
82 |     ) -> Self where Self == PickerFeatureFlag<Value, Style> {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:89:31: error: 'PickerStyle' is only available in macOS 10.15 or newer
86 |
87 | @available(iOS 14, *)
88 | extension FeatureFlag {
   | `- note: add @available attribute to enclosing extension
89 |     public init<Value, Style: PickerStyle>(
   |            |                  `- error: 'PickerStyle' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
90 |         wrappedValue: Value, title: String, group: String? = nil, userDefaults: UserDefaults = .featureFlags, style: Style
91 |     ) where F == PickerFeatureFlag<Value, Style> {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:46:14: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
42 |     }
43 |
44 |     public var valuePublisher: AnyPublisher<Value, Never> {
   |                `- note: add @available attribute to enclosing property
45 |         NotificationCenter.default
46 |             .publisher(for: UserDefaults.didChangeNotification)
   |              |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
47 |             .map { _ in self.value }
48 |             .removeDuplicates()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:47:14: error: 'map' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
42 |     }
43 |
44 |     public var valuePublisher: AnyPublisher<Value, Never> {
   |                `- note: add @available attribute to enclosing property
45 |         NotificationCenter.default
46 |             .publisher(for: UserDefaults.didChangeNotification)
47 |             .map { _ in self.value }
   |              |- error: 'map' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |             .removeDuplicates()
49 |             .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:48:14: error: 'removeDuplicates()' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
42 |     }
43 |
44 |     public var valuePublisher: AnyPublisher<Value, Never> {
   |                `- note: add @available attribute to enclosing property
45 |         NotificationCenter.default
46 |             .publisher(for: UserDefaults.didChangeNotification)
47 |             .map { _ in self.value }
48 |             .removeDuplicates()
   |              |- error: 'removeDuplicates()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
49 |             .eraseToAnyPublisher()
50 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:49:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
42 |     }
43 |
44 |     public var valuePublisher: AnyPublisher<Value, Never> {
   |                `- note: add @available attribute to enclosing property
45 |         NotificationCenter.default
46 |             .publisher(for: UserDefaults.didChangeNotification)
47 |             .map { _ in self.value }
48 |             .removeDuplicates()
49 |             .eraseToAnyPublisher()
   |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
50 |     }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:53:9: error: 'HStack' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
54 |             Text(title)
55 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:53:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
   |                             |- warning: conformance of 'Text' 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
54 |             Text(title)
55 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:53:29: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
   |                             |- warning: conformance of 'ForEach<Data, ID, Content>' 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
54 |             Text(title)
55 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:54:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
   |             |- warning: conformance of 'Text' 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
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:54:13: error: 'Text' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:55:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
   |             |- warning: conformance of 'Spacer' 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
56 |             Picker(selection: valueBinding, label: Text("")) {
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:55:13: error: 'Spacer' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
   |             |- error: 'Spacer' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
56 |             Picker(selection: valueBinding, label: Text("")) {
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:56:13: error: 'Picker' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
   |             |- error: 'Picker' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
58 |                     value.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:56:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
   |             |- error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
58 |                     value.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:56:52: error: 'Text' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
   |                                                    |- error: 'Text' is only available in macOS 10.15 or newer
   |                                                    `- note: add 'if #available' version check
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
58 |                     value.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:57:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
   |                 |- warning: conformance of 'ForEach<Data, ID, Content>' 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
58 |                     value.makeView()
59 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:57:17: error: 'ForEach' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
   |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
58 |                     value.makeView()
59 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:57:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
   |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
58 |                     value.makeView()
59 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:56:62: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
55 |             Spacer()
56 |             Picker(selection: valueBinding, label: Text("")) {
   |                                                              |- warning: conformance of 'ForEach<Data, ID, Content>' 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
57 |                 ForEach(Value.allCases, id: \.hashValue) { value in
58 |                     value.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:61:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
54 |             Text(title)
   :
59 |                 }
60 |             }
61 |             .pickerStyle(style)
   |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
62 |         }
63 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:53:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
   |                             |- warning: conformance of 'Text' 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
54 |             Text(title)
55 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:53:29: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct PickerFeatureFlag<Value, Style: PickerStyle>: FeatureFlagType where
   |               `- note: add @available attribute to enclosing generic struct
12 |     Value: CaseIterable & Hashable & RawRepresentable,
13 |     Value.RawValue == String,
   :
50 |     }
51 |
52 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
53 |         HStack(spacing: 16) {
   |                             |- warning: conformance of 'Spacer' 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
54 |             Text(title)
55 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:68:97: error: 'DefaultPickerStyle' is only available in macOS 10.15 or newer
64 | }
65 |
66 | extension PickerFeatureFlag where Style == DefaultPickerStyle {
   | `- note: add @available attribute to enclosing extension
67 |     public init(title: String, defaultValue: Value, group: String? = nil) {
   |            `- note: add @available attribute to enclosing initializer
68 |         self = PickerFeatureFlag(title: title, defaultValue: defaultValue, group: group, style: DefaultPickerStyle())
   |                                                                                                 |- error: 'DefaultPickerStyle' is only available in macOS 10.15 or newer
   |                                                                                                 `- note: add 'if #available' version check
69 |     }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:74:9: error: 'Text' is only available in macOS 10.15 or newer
70 | }
71 |
72 | extension RawRepresentable where Self: Hashable, RawValue == String {
   | `- note: add @available attribute to enclosing extension
73 |     fileprivate func makeView() -> some View {
   |                      `- note: add @available attribute to enclosing instance method
74 |         Text(String(describing: self)).tag(self)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
75 |     }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/PickerFeatureFlag.swift:74:40: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
70 | }
71 |
72 | extension RawRepresentable where Self: Hashable, RawValue == String {
   | `- note: add @available attribute to enclosing extension
73 |     fileprivate func makeView() -> some View {
   |                      `- note: add @available attribute to enclosing instance method
74 |         Text(String(describing: self)).tag(self)
   |                                        |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
   |                                        `- note: add 'if #available' version check
75 |     }
76 | }
[9/11] Compiling FeatureFlagsController CountFeatureFlag.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:41:32: error: 'AnyPublisher' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
39 |     }
40 |
41 |     public var valuePublisher: AnyPublisher<Int, Never> {
   |                |               `- error: 'AnyPublisher' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
42 |         NotificationCenter.default
43 |             .publisher(for: UserDefaults.didChangeNotification)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:49:27: error: 'View' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:43:14: error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
39 |     }
40 |
41 |     public var valuePublisher: AnyPublisher<Int, Never> {
   |                `- note: add @available attribute to enclosing property
42 |         NotificationCenter.default
43 |             .publisher(for: UserDefaults.didChangeNotification)
   |              |- error: 'publisher(for:object:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
44 |             .map { _ in self.value }
45 |             .removeDuplicates()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:44:14: error: 'map' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
39 |     }
40 |
41 |     public var valuePublisher: AnyPublisher<Int, Never> {
   |                `- note: add @available attribute to enclosing property
42 |         NotificationCenter.default
43 |             .publisher(for: UserDefaults.didChangeNotification)
44 |             .map { _ in self.value }
   |              |- error: 'map' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
45 |             .removeDuplicates()
46 |             .eraseToAnyPublisher()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:45:14: error: 'removeDuplicates()' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
39 |     }
40 |
41 |     public var valuePublisher: AnyPublisher<Int, Never> {
   |                `- note: add @available attribute to enclosing property
42 |         NotificationCenter.default
43 |             .publisher(for: UserDefaults.didChangeNotification)
44 |             .map { _ in self.value }
45 |             .removeDuplicates()
   |              |- error: 'removeDuplicates()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .eraseToAnyPublisher()
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:46:14: error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
39 |     }
40 |
41 |     public var valuePublisher: AnyPublisher<Int, Never> {
   |                `- note: add @available attribute to enclosing property
42 |         NotificationCenter.default
43 |             .publisher(for: UserDefaults.didChangeNotification)
44 |             .map { _ in self.value }
45 |             .removeDuplicates()
46 |             .eraseToAnyPublisher()
   |              |- error: 'eraseToAnyPublisher()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
47 |     }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:50:9: error: 'HStack' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
   |         |- error: 'HStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
51 |             Text(title)
52 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:50:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
   |                |- warning: conformance of 'Text' 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
51 |             Text(title)
52 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:51:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
   |             |- warning: conformance of 'Text' 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
52 |             Spacer()
53 |             Text(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:51:13: error: 'Text' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
52 |             Spacer()
53 |             Text(
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:52:13: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
52 |             Spacer()
   |             |- warning: conformance of 'Spacer' 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
53 |             Text(
54 |                 "\(value)"
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:52:13: error: 'Spacer' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
52 |             Spacer()
   |             |- error: 'Spacer' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
53 |             Text(
54 |                 "\(value)"
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:53:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
52 |             Spacer()
53 |             Text(
   |             |- warning: conformance of 'Text' 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
54 |                 "\(value)"
55 |             )
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:53:13: error: 'Text' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
52 |             Spacer()
53 |             Text(
   |             |- error: 'Text' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
54 |                 "\(value)"
55 |             )
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:56:14: error: 'bold()' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
   :
54 |                 "\(value)"
55 |             )
56 |             .bold()
   |              |- error: 'bold()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
57 |             Stepper(
58 |                 title, value: valueBinding, in: range
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:57:13: error: 'Stepper' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
   :
55 |             )
56 |             .bold()
57 |             Stepper(
   |             |- error: 'Stepper' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
58 |                 title, value: valueBinding, in: range
59 |             )
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:57:13: error: 'init(_:value:in:step:onEditingChanged:)' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
   :
55 |             )
56 |             .bold()
57 |             Stepper(
   |             |- error: 'init(_:value:in:step:onEditingChanged:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
58 |                 title, value: valueBinding, in: range
59 |             )
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:60:14: error: 'labelsHidden()' is only available in macOS 10.15 or newer
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
51 |             Text(title)
   :
58 |                 title, value: valueBinding, in: range
59 |             )
60 |             .labelsHidden()
   |              |- error: 'labelsHidden()' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
61 |         }
62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:50:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
   |                |- warning: conformance of 'Text' 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
51 |             Text(title)
52 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:50:16: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
   |                |- warning: conformance of 'Spacer' 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
51 |             Text(title)
52 |             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/Flag Types/CountFeatureFlag.swift:50:16: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 | import Combine
10 |
11 | public struct CountFeatureFlag: FeatureFlagType {
   |               `- note: add @available attribute to enclosing struct
12 |     public init(title: String, range: ClosedRange<Int>, defaultValue: Int, group: String? = nil, userDefaults: UserDefaults = .featureFlags) {
13 |         self.title = title
   :
47 |     }
48 |
49 |     public var view: some View {
   |                `- note: add @available attribute to enclosing property
50 |         HStack {
   |                |- warning: conformance of 'Text' 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
51 |             Text(title)
52 |             Spacer()
[10/11] Compiling FeatureFlagsController FeatureFlagsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:13:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
12 |
13 |     @ObservedObject
   |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
14 |     private var controller: FeatureFlagsController = .shared
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:28:27: error: 'View' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:45:31: error: 'View' is only available in macOS 10.15 or newer
42 | }
43 |
44 | struct FeatureFlagsView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
45 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
46 |         FeatureFlagsView()
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:29:9: error: 'NavigationView' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
   |         |- error: 'NavigationView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:29:24: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
   |                        |- warning: conformance of 'ForEach<Data, ID, Content>' 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
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:30:13: error: 'Form' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
   |             |- error: 'Form' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:30:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' 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
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:31:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
   |                 |- warning: conformance of 'ForEach<Data, ID, Content>' 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
32 |                     Section(header: Text(groupName ?? "")) {
33 |                         ForEach(factories, id: \.id) { factory in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:31:17: error: 'ForEach' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
   |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
32 |                     Section(header: Text(groupName ?? "")) {
33 |                         ForEach(factories, id: \.id) { factory in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:31:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
   |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
32 |                     Section(header: Text(groupName ?? "")) {
33 |                         ForEach(factories, id: \.id) { factory in
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:32:21: error: 'buildExpression' is unavailable: this expression does not conform to 'View'
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
   |                     `- error: 'buildExpression' is unavailable: this expression does not conform to 'View'
33 |                         ForEach(factories, id: \.id) { factory in
34 |                             factory.makeView()
SwiftUICore.ViewBuilder.buildExpression:3:22: note: 'buildExpression' has been explicitly marked unavailable here
1 | struct ViewBuilder {
2 | @available(*, unavailable, message: "this expression does not conform to 'View'")
3 |   public static func buildExpression(_ invalid: Any) -> some View
  |                      `- note: 'buildExpression' has been explicitly marked unavailable here
4 |   }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:32:21: error: 'Section' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
   |                     |- error: 'Section' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
33 |                         ForEach(factories, id: \.id) { factory in
34 |                             factory.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:32:21: error: 'init(header:content:)' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
   |                     |- error: 'init(header:content:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
33 |                         ForEach(factories, id: \.id) { factory in
34 |                             factory.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:32:37: error: 'Text' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
   |                                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
33 |                         ForEach(factories, id: \.id) { factory in
34 |                             factory.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:33:25: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
33 |                         ForEach(factories, id: \.id) { factory in
   |                         |- warning: conformance of 'ForEach<Data, ID, Content>' 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
34 |                             factory.makeView()
35 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:33:25: error: 'ForEach' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
33 |                         ForEach(factories, id: \.id) { factory in
   |                         |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
34 |                             factory.makeView()
35 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:33:25: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
33 |                         ForEach(factories, id: \.id) { factory in
   |                         |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
34 |                             factory.makeView()
35 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:32:60: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
   |                                                            |- warning: conformance of 'ForEach<Data, ID, Content>' 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
33 |                         ForEach(factories, id: \.id) { factory in
34 |                             factory.makeView()
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:30:18: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
   |                  |- warning: conformance of 'ForEach<Data, ID, Content>' 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
31 |                 ForEach(groupedFlags, id: \.0) { groupName, factories in
32 |                     Section(header: Text(groupName ?? "")) {
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:39:14: error: 'navigationBarTitle' is unavailable in macOS
37 |                 }
38 |             }
39 |             .navigationBarTitle("Feature Flags")
   |              `- error: 'navigationBarTitle' is unavailable in macOS
40 |         }
41 |     }
SwiftUI.View.navigationBarTitle:7:27: note: 'navigationBarTitle' has been explicitly marked unavailable here
5 |   @available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
6 |   @available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
7 |   nonisolated public func navigationBarTitle(_ titleKey: LocalizedStringKey) -> some View
  |                           `- note: 'navigationBarTitle' has been explicitly marked unavailable here
8 |   }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/UI/FeatureFlagsView.swift:39:33: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | public struct FeatureFlagsView: View {
   |               `- note: add @available attribute to enclosing struct
10 |
11 |     public init() {}
   :
26 |     }
27 |
28 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
29 |         NavigationView {
30 |             Form {
   :
37 |                 }
38 |             }
39 |             .navigationBarTitle("Feature Flags")
   |                                 |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
40 |         }
41 |     }
[11/11] Compiling FeatureFlagsController FeatureFlag.swift
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlag.swift:13:6: error: 'StateObject' is only available in macOS 11.0 or newer
10 | @available(iOS 14, *)
11 | @propertyWrapper
12 | public struct FeatureFlag<F: FeatureFlagType>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
13 |     @StateObject private var registration: Registration
   |      `- error: 'StateObject' is only available in macOS 11.0 or newer
14 |     private let featureFlag: F
15 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlag.swift:31:10: error: 'Published' is only available in macOS 10.15 or newer
27 |     }
28 |
29 |     private class Registration: ObservableObject {
   |                   |- note: add @available attribute to enclosing class
   |                   `- note: add @available attribute to enclosing class
30 |
31 |         @Published var value: F.Value
   |          `- error: 'Published' is only available in macOS 10.15 or newer
32 |
33 |         private var cancellable: AnyCancellable?
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlag.swift:33:34: error: 'AnyCancellable' is only available in macOS 10.15 or newer
27 |     }
28 |
29 |     private class Registration: ObservableObject {
   |                   `- note: add @available attribute to enclosing class
30 |
31 |         @Published var value: F.Value
32 |
33 |         private var cancellable: AnyCancellable?
   |                                  `- error: 'AnyCancellable' is only available in macOS 10.15 or newer
34 |
35 |         init(_ featureFlag: F) {
<unknown>:0: error: cannot convert value of type 'KeyPath<FeatureFlag<F>.Registration, F.Value>' to expected argument type 'ReferenceWritableKeyPath<FeatureFlag<F>.Registration, F.Value>'
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlag.swift:26:30: error: 'StateObject' is only available in macOS 11.0 or newer
10 | @available(iOS 14, *)
11 | @propertyWrapper
12 | public struct FeatureFlag<F: FeatureFlagType>: DynamicProperty {
   |               `- note: add @available attribute to enclosing generic struct
13 |     @StateObject private var registration: Registration
14 |     private let featureFlag: F
   :
22 |     }
23 |
24 |     public init(_ featureFlag: F) {
   |            `- note: add @available attribute to enclosing initializer
25 |         self.featureFlag = featureFlag
26 |         self._registration = StateObject(wrappedValue: Registration(featureFlag))
   |                              |- error: 'StateObject' is only available in macOS 11.0 or newer
   |                              `- note: add 'if #available' version check
27 |     }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlag.swift:36:13: error: setter for 'value' is only available in macOS 10.15 or newer
27 |     }
28 |
29 |     private class Registration: ObservableObject {
   |                   `- note: add @available attribute to enclosing class
30 |
31 |         @Published var value: F.Value
   :
33 |         private var cancellable: AnyCancellable?
34 |
35 |         init(_ featureFlag: F) {
   |         `- note: add @available attribute to enclosing initializer
36 |             value = featureFlag.value
   |             |- error: setter for 'value' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
37 |             cancellable = featureFlag.register().sink(receiveValue: { [weak self] newValue in
38 |                 self?.value = newValue
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlag.swift:37:50: error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
27 |     }
28 |
29 |     private class Registration: ObservableObject {
   |                   `- note: add @available attribute to enclosing class
30 |
31 |         @Published var value: F.Value
   :
33 |         private var cancellable: AnyCancellable?
34 |
35 |         init(_ featureFlag: F) {
   |         `- note: add @available attribute to enclosing initializer
36 |             value = featureFlag.value
37 |             cancellable = featureFlag.register().sink(receiveValue: { [weak self] newValue in
   |                                                  |- error: 'sink(receiveValue:)' is only available in macOS 10.15 or newer
   |                                                  `- note: add 'if #available' version check
38 |                 self?.value = newValue
39 |             })
/Users/admin/builder/spi-builder-workspace/Sources/FeatureFlagsController/FeatureFlag.swift:38:17: error: setter for 'value' is only available in macOS 10.15 or newer
27 |     }
28 |
29 |     private class Registration: ObservableObject {
   |                   `- note: add @available attribute to enclosing class
30 |
31 |         @Published var value: F.Value
   :
33 |         private var cancellable: AnyCancellable?
34 |
35 |         init(_ featureFlag: F) {
   |         `- note: add @available attribute to enclosing initializer
36 |             value = featureFlag.value
37 |             cancellable = featureFlag.register().sink(receiveValue: { [weak self] newValue in
38 |                 self?.value = newValue
   |                 |- error: setter for 'value' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
39 |             })
40 |         }
BUILD FAILURE 6.1 macosSpm