Build Information
Failed to build LongPressButton 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/Tunous/LongPressButton.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Tunous/LongPressButton
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 90f8bef Change actions order
Cloned https://github.com/Tunous/LongPressButton.git
Revision (git rev-parse @):
90f8befd7c943c2c99e4c665f805cd92d62fb83a
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/Tunous/LongPressButton.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/Tunous/LongPressButton.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module LongPressButton
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:39: error: 'Task' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:38: error: 'View' is only available in macOS 10.15 or newer
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:70:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder label: () -> Label
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:65:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:94:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:89:21: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
_ titleKey: LocalizedStringKey,
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:120:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
[4/4] Compiling LongPressButton LongPressButton.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:39: error: 'Task' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:38: error: 'View' is only available in macOS 10.15 or newer
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:70:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder label: () -> Label
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:65:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:94:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:89:21: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
_ titleKey: LocalizedStringKey,
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:120:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:15:9: error: 'Button' is only available in macOS 10.15 or newer
Button(action: performActionIfNeeded) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:15:9: note: add 'if #available' version check
Button(action: performActionIfNeeded) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:18:10: error: 'onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)' is only available in macOS 10.15 or newer
.onLongPressGesture(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:18:10: note: add 'if #available' version check
.onLongPressGesture(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:26:24: error: 'cancel()' is only available in macOS 10.15 or newer
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:26:24: note: add 'if #available' version check
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:25:18: note: add @available attribute to enclosing instance method
private func performActionIfNeeded() {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:28:13: error: setter for 'didLongPress' is only available in macOS 10.15 or newer
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:28:13: note: add 'if #available' version check
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:25:18: note: add @available attribute to enclosing instance method
private func performActionIfNeeded() {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:35:24: error: 'cancel()' is only available in macOS 10.15 or newer
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:35:24: note: add 'if #available' version check
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:37:9: error: setter for 'didLongPress' is only available in macOS 10.15 or newer
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:37:9: note: add 'if #available' version check
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:9: error: setter for 'longPressTask' is only available in macOS 10.15 or newer
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:9: note: add 'if #available' version check
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: error: 'Task' is only available in macOS 10.15 or newer
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: note: add 'if #available' version check
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: note: add 'if #available' version check
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:27: error: 'Task' is only available in macOS 10.15 or newer
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:27: note: add 'if #available' version check
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:32: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:32: note: add 'if #available' version check
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:19: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:19: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:29: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:29: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:45:17: error: setter for 'didLongPress' is only available in macOS 10.15 or newer
didLongPress = true
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:45:17: note: add 'if #available' version check
didLongPress = true
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:95:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:95:14: note: add 'if #available' version check
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: note: add 'if #available' version check
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: error: 'Text' is only available in macOS 10.15 or newer
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: note: add 'if #available' version check
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: note: add 'if #available' version check
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:100:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:100:11: note: add 'if #available' version check
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:121:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:121:14: note: add 'if #available' version check
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: note: add 'if #available' version check
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: error: 'Text' is only available in macOS 10.15 or newer
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: note: add 'if #available' version check
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:126:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:126:11: note: add 'if #available' version check
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
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/3] Emitting module LongPressButton
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:39: error: 'Task' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:38: error: 'View' is only available in macOS 10.15 or newer
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:70:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder label: () -> Label
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:65:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:94:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:89:21: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
_ titleKey: LocalizedStringKey,
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:120:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
[3/3] Compiling LongPressButton LongPressButton.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:39: error: 'Task' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:12:6: error: 'State' is only available in macOS 10.15 or newer
@State private var longPressTask: Task<Void, Never>?
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:38: error: 'View' is only available in macOS 10.15 or newer
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:70:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder label: () -> Label
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:65:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:94:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:89:21: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
_ titleKey: LocalizedStringKey,
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:120:22: error: 'Text' is only available in macOS 10.15 or newer
) where Label == Text {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:15:9: error: 'Button' is only available in macOS 10.15 or newer
Button(action: performActionIfNeeded) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:15:9: note: add 'if #available' version check
Button(action: performActionIfNeeded) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:18:10: error: 'onLongPressGesture(minimumDuration:maximumDistance:perform:onPressingChanged:)' is only available in macOS 10.15 or newer
.onLongPressGesture(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:18:10: note: add 'if #available' version check
.onLongPressGesture(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:14:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:26:24: error: 'cancel()' is only available in macOS 10.15 or newer
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:26:24: note: add 'if #available' version check
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:25:18: note: add @available attribute to enclosing instance method
private func performActionIfNeeded() {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:28:13: error: setter for 'didLongPress' is only available in macOS 10.15 or newer
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:28:13: note: add 'if #available' version check
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:25:18: note: add @available attribute to enclosing instance method
private func performActionIfNeeded() {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:35:24: error: 'cancel()' is only available in macOS 10.15 or newer
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:35:24: note: add 'if #available' version check
longPressTask?.cancel()
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:37:9: error: setter for 'didLongPress' is only available in macOS 10.15 or newer
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:37:9: note: add 'if #available' version check
didLongPress = false
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:9: error: setter for 'longPressTask' is only available in macOS 10.15 or newer
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:9: note: add 'if #available' version check
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: error: 'Task' is only available in macOS 10.15 or newer
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: note: add 'if #available' version check
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:38:25: note: add 'if #available' version check
longPressTask = Task {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:27: error: 'Task' is only available in macOS 10.15 or newer
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:27: note: add 'if #available' version check
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:32: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:40:32: note: add 'if #available' version check
try await Task.sleep(nanoseconds: UInt64(minimumDuration * 1_000_000_000))
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:19: error: 'MainActor' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:19: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:29: error: 'run(resultType:body:)' is only available in macOS 10.15 or newer
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:44:29: note: add 'if #available' version check
await MainActor.run {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:45:17: error: setter for 'didLongPress' is only available in macOS 10.15 or newer
didLongPress = true
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:45:17: note: add 'if #available' version check
didLongPress = true
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:34:18: note: add @available attribute to enclosing instance method
private func handleLongPress(isPressing: Bool) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:4:15: note: add @available attribute to enclosing generic struct
public struct LongPressButton<Label: View>: View {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:95:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:95:14: note: add 'if #available' version check
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: note: add 'if #available' version check
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: error: 'Text' is only available in macOS 10.15 or newer
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: note: add 'if #available' version check
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:101:13: note: add 'if #available' version check
Text(titleKey)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:100:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:100:11: note: add 'if #available' version check
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:88:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:121:14: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:121:14: note: add 'if #available' version check
self.init(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: note: add 'if #available' version check
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: error: 'Text' is only available in macOS 10.15 or newer
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:127:13: note: add 'if #available' version check
Text(title)
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:126:11: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:126:11: note: add 'if #available' version check
) {
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:114:12: note: add @available attribute to enclosing initializer
public init<S: StringProtocol>(
^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/LongPressButton/LongPressButton.swift:54:1: note: add @available attribute to enclosing extension
extension LongPressButton {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm