Build Information
Failed to build Validate with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/reddavis/Validate.git
Reference: v0.3.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/reddavis/Validate.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/11] Compiling Validate Presence.swift
[4/11] Compiling Validate Count.swift
[5/11] Compiling Validate Format.swift
[6/12] Compiling Validate Validator.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
final class Validator<Value>: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:13: note: add @available attribute to enclosing generic class
final class Validator<Value>: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:12:24: error: 'objectWillChange' is only available in macOS 10.15 or newer
willSet { self.objectWillChange.send() }
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:12:24: note: add 'if #available' version check
willSet { self.objectWillChange.send() }
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:13: note: add @available attribute to enclosing generic class
final class Validator<Value>: ObservableObject {
^
[7/12] Compiling Validate Validation.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] Compiling Validate ValidationError.swift
[9/12] Compiling Validate NSRegularExpression+Extension.swift
[10/12] Compiling Validate Sequence+Extension.swift
[11/12] Emitting module Validate
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:16: note: add @available attribute to enclosing property
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var validator: Validator<Value>
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
final class Validator<Value>: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:13: note: add @available attribute to enclosing generic class
final class Validator<Value>: ObservableObject {
^
[12/12] Compiling Validate Validate.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:16: note: add @available attribute to enclosing property
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var validator: Validator<Value>
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:36:9: error: 'Binding' is only available in macOS 10.15 or newer
Binding(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:36:9: note: add 'if #available' version check
Binding(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:16: note: add @available attribute to enclosing property
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:103:27: error: 'ObservedObject' is only available in macOS 10.15 or newer
self._validator = ObservedObject(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:103:27: note: add 'if #available' version check
self._validator = ObservedObject(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:99:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module Validate
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:16: note: add @available attribute to enclosing property
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var validator: Validator<Value>
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
final class Validator<Value>: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:13: note: add @available attribute to enclosing generic class
final class Validator<Value>: ObservableObject {
^
[3/4] Compiling Validate Validator.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:31: error: 'ObservableObject' is only available in macOS 10.15 or newer
final class Validator<Value>: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:13: note: add @available attribute to enclosing generic class
final class Validator<Value>: ObservableObject {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:12:24: error: 'objectWillChange' is only available in macOS 10.15 or newer
willSet { self.objectWillChange.send() }
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:12:24: note: add 'if #available' version check
willSet { self.objectWillChange.send() }
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validator.swift:4:13: note: add @available attribute to enclosing generic class
final class Validator<Value>: ObservableObject {
^
[4/4] Compiling Validate Validate.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:25: error: 'Binding' is only available in macOS 10.15 or newer
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:16: note: add @available attribute to enclosing property
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:51:6: error: 'ObservedObject' is only available in macOS 10.15 or newer
@ObservedObject private var validator: Validator<Value>
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:36:9: error: 'Binding' is only available in macOS 10.15 or newer
Binding(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:36:9: note: add 'if #available' version check
Binding(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:35:16: note: add @available attribute to enclosing property
public var binding: Binding<Value> {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:103:27: error: 'ObservedObject' is only available in macOS 10.15 or newer
self._validator = ObservedObject(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:103:27: note: add 'if #available' version check
self._validator = ObservedObject(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:99:5: note: add @available attribute to enclosing initializer
init(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Validate/Source/Validate.swift:19:15: note: add @available attribute to enclosing generic struct
public struct Validate<Value>: DynamicProperty {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm