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 Validate, reference v0.3.0 (d04853), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 20:37:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reddavis/Validate.git
Reference: v0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/reddavis/Validate
 * tag               v0.3.0     -> FETCH_HEAD
HEAD is now at d048535 Add couple cleaner initializers if not being used as a property wrapper
Cloned https://github.com/reddavis/Validate.git
Revision (git rev-parse @):
d04853538f2261d02c2b7cc30255d4608111cc95
SUCCESS checkout https://github.com/reddavis/Validate.git at v0.3.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "validate",
      "name": "Validate",
      "url": "https://github.com/reddavis/Validate.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Validate",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/reddavis/Validate.git
[1/166] Fetching validate
Fetched https://github.com/reddavis/Validate.git from cache (0.75s)
Creating working copy for https://github.com/reddavis/Validate.git
Working copy of https://github.com/reddavis/Validate.git resolved at v0.3.0 (d048535)
warning: '.resolve-product-dependencies': dependency 'validate' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/reddavis/Validate.git
https://github.com/reddavis/Validate.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Validate",
  "name" : "Validate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Validate",
      "targets" : [
        "Validate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ValidateTests",
      "module_type" : "SwiftTarget",
      "name" : "ValidateTests",
      "path" : "ValidateTests",
      "sources" : [
        "CountValidationTests.swift",
        "FormatValidationTests.swift",
        "PresenceValidationTests.swift",
        "SequenceTests.swift",
        "ValidationTests.swift"
      ],
      "target_dependencies" : [
        "Validate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Validate",
      "module_type" : "SwiftTarget",
      "name" : "Validate",
      "path" : "Validate",
      "product_memberships" : [
        "Validate"
      ],
      "sources" : [
        "Source/Extensions/NSRegularExpression+Extension.swift",
        "Source/Extensions/Sequence+Extension.swift",
        "Source/Validate.swift",
        "Source/Validation.swift",
        "Source/ValidationError.swift",
        "Source/Validations/Count.swift",
        "Source/Validations/Format.swift",
        "Source/Validations/Presence.swift",
        "Source/Validator.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/12] Compiling Validate Presence.swift
[4/12] Compiling Validate Format.swift
[5/12] Compiling Validate Count.swift
[6/12] Compiling Validate Validation.swift
[7/12] Compiling Validate ValidationError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling Validate Sequence+Extension.swift
[9/12] Compiling Validate Validator.swift
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | final class Validator<Value>: ObservableObject {
   |             |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing generic class
 5 |     var value: Value {
 6 |         didSet {
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validator.swift:12:24: error: 'objectWillChange' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | final class Validator<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 5 |     var value: Value {
 6 |         didSet {
   :
10 |
11 |     var errors: [Error] = [] {
12 |         willSet { self.objectWillChange.send() }
   |                        |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
13 |     }
14 |
[10/12] Compiling Validate NSRegularExpression+Extension.swift
[11/12] Emitting module Validate
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 52 |
 53 |     // MARK: Initialization
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 33 |     ///
 34 |     /// This is useful for working with SwiftUI components.
 35 |     public var binding: Binding<Value> {
    |                |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 36 |         Binding(
 37 |             get: { self.wrappedValue },
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 52 |
 53 |     // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | final class Validator<Value>: ObservableObject {
   |             |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing generic class
 5 |     var value: Value {
 6 |         didSet {
[12/12] Compiling Validate Validate.swift
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 52 |
 53 |     // MARK: Initialization
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 33 |     ///
 34 |     /// This is useful for working with SwiftUI components.
 35 |     public var binding: Binding<Value> {
    |                |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 36 |         Binding(
 37 |             get: { self.wrappedValue },
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 52 |
 53 |     // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:22:20: warning: main actor-isolated property 'validator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
 22 |         get { self.validator.value }
    |                    `- warning: main actor-isolated property 'validator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 23 |         nonmutating set {
 24 |             self.validator.value = newValue
    :
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |                                 `- note: property declared here
 52 |
 53 |     // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:24:13: error: cannot pass as inout because setter for 'validator' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    |                `- note: add @available attribute to enclosing property
 22 |         get { self.validator.value }
 23 |         nonmutating set {
 24 |             self.validator.value = newValue
    |             |- error: cannot pass as inout because setter for 'validator' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 25 |         }
 26 |     }
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:24:18: warning: main actor-isolated property 'validator' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 22 |         get { self.validator.value }
 23 |         nonmutating set {
 24 |             self.validator.value = newValue
    |                  `- warning: main actor-isolated property 'validator' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 25 |         }
 26 |     }
    :
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |                                 `- note: mutation of this property is only permitted within the actor
 52 |
 53 |     // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:36:9: error: 'Binding' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 33 |     ///
 34 |     /// This is useful for working with SwiftUI components.
 35 |     public var binding: Binding<Value> {
    |                `- note: add @available attribute to enclosing property
 36 |         Binding(
    |         |- error: 'Binding' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 37 |             get: { self.wrappedValue },
 38 |             set: { self.wrappedValue = $0 }
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:37:20: warning: capture of 'self' with non-sendable type 'Validate<Value>' in a '@Sendable' closure
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: consider making generic struct 'Validate' conform to the 'Sendable' protocol
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 35 |     public var binding: Binding<Value> {
 36 |         Binding(
 37 |             get: { self.wrappedValue },
    |                    `- warning: capture of 'self' with non-sendable type 'Validate<Value>' in a '@Sendable' closure
 38 |             set: { self.wrappedValue = $0 }
 39 |         )
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:38:20: warning: capture of 'self' with non-sendable type 'Validate<Value>' in a '@Sendable' closure
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: consider making generic struct 'Validate' conform to the 'Sendable' protocol
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 36 |         Binding(
 37 |             get: { self.wrappedValue },
 38 |             set: { self.wrappedValue = $0 }
    |                    `- warning: capture of 'self' with non-sendable type 'Validate<Value>' in a '@Sendable' closure
 39 |         )
 40 |     }
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:44:14: warning: main actor-isolated property 'validator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |     /// The errors produced when validating the wrapped value.
 43 |     public var errors: [Error] {
 44 |         self.validator.errors
    |              `- warning: main actor-isolated property 'validator' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 45 |     }
 46 |
    :
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |                                 `- note: property declared here
 52 |
 53 |     // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:103:27: error: 'ObservedObject' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 97 |     }
 98 |
 99 |     init(
    |     `- note: add @available attribute to enclosing initializer
100 |         wrappedValue: Value,
101 |         validations: [Validation<Value>]
102 |     ) {
103 |         self._validator = ObservedObject(
    |                           |- error: 'ObservedObject' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
104 |             wrappedValue: Validator(
105 |                 value: wrappedValue,
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:103:27: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
101 |         validations: [Validation<Value>]
102 |     ) {
103 |         self._validator = ObservedObject(
    |                           `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
104 |             wrappedValue: Validator(
105 |                 value: wrappedValue,
SwiftUICore.ObservedObject.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
  |                                   `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/11] Emitting module Validate
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 33 |     ///
 34 |     /// This is useful for working with SwiftUI components.
 35 |     public var binding: Binding<Value> {
    |                |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 36 |         Binding(
 37 |             get: { self.wrappedValue },
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 52 |
 53 |     // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | final class Validator<Value>: ObservableObject {
   |             |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing generic class
 5 |     var value: Value {
 6 |         didSet {
[3/11] Compiling Validate ValidationError.swift
[4/11] Compiling Validate Validation.swift
[5/11] Compiling Validate Count.swift
[6/11] Compiling Validate Sequence+Extension.swift
[7/11] Compiling Validate NSRegularExpression+Extension.swift
[8/11] Compiling Validate Presence.swift
[9/11] Compiling Validate Format.swift
[10/11] Compiling Validate Validate.swift
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 33 |     ///
 34 |     /// This is useful for working with SwiftUI components.
 35 |     public var binding: Binding<Value> {
    |                |        `- error: 'Binding' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 36 |         Binding(
 37 |             get: { self.wrappedValue },
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 49 |
 50 |     // Private
 51 |     @ObservedObject private var validator: Validator<Value>
    |      `- error: 'ObservedObject' is only available in macOS 10.15 or newer
 52 |
 53 |     // MARK: Initialization
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:24:13: error: cannot pass as inout because setter for 'validator' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    |                `- note: add @available attribute to enclosing property
 22 |         get { self.validator.value }
 23 |         nonmutating set {
 24 |             self.validator.value = newValue
    |             |- error: cannot pass as inout because setter for 'validator' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 25 |         }
 26 |     }
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:36:9: error: 'Binding' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 33 |     ///
 34 |     /// This is useful for working with SwiftUI components.
 35 |     public var binding: Binding<Value> {
    |                `- note: add @available attribute to enclosing property
 36 |         Binding(
    |         |- error: 'Binding' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 37 |             get: { self.wrappedValue },
 38 |             set: { self.wrappedValue = $0 }
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validate.swift:103:27: error: 'ObservedObject' is only available in macOS 10.15 or newer
 17 | /// can be built with the `Validation` struct.
 18 | @propertyWrapper
 19 | public struct Validate<Value>: DynamicProperty {
    |               `- note: add @available attribute to enclosing generic struct
 20 |     /// The wrapped value
 21 |     public var wrappedValue: Value {
    :
 97 |     }
 98 |
 99 |     init(
    |     `- note: add @available attribute to enclosing initializer
100 |         wrappedValue: Value,
101 |         validations: [Validation<Value>]
102 |     ) {
103 |         self._validator = ObservedObject(
    |                           |- error: 'ObservedObject' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
104 |             wrappedValue: Validator(
105 |                 value: wrappedValue,
[11/11] Compiling Validate Validator.swift
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | final class Validator<Value>: ObservableObject {
   |             |                 `- error: 'ObservableObject' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing generic class
 5 |     var value: Value {
 6 |         didSet {
/Users/admin/builder/spi-builder-workspace/Validate/Source/Validator.swift:12:24: error: 'objectWillChange' is only available in macOS 10.15 or newer
 2 |
 3 |
 4 | final class Validator<Value>: ObservableObject {
   |             `- note: add @available attribute to enclosing generic class
 5 |     var value: Value {
 6 |         didSet {
   :
10 |
11 |     var errors: [Error] = [] {
12 |         willSet { self.objectWillChange.send() }
   |                        |- error: 'objectWillChange' is only available in macOS 10.15 or newer
   |                        `- note: add 'if #available' version check
13 |     }
14 |
BUILD FAILURE 6.1 macosSpm