Build Information
Failed to build CardStack with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.34.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/notsobigcompany/CardStack.git
Reference: 1.0.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/notsobigcompany/CardStack
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 33417ef Updates demo
Cloned https://github.com/notsobigcompany/CardStack.git
Revision (git rev-parse @):
33417ef29fdc4169712cb3b8bf0ddbd7b6ef52c5
SUCCESS checkout https://github.com/notsobigcompany/CardStack.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cardstack",
"name": "CardStack",
"url": "https://github.com/notsobigcompany/CardStack.git",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CardStack",
"dependencies": [
]
}
]
}
Fetching https://github.com/notsobigcompany/CardStack.git from cache
Fetched https://github.com/notsobigcompany/CardStack.git from cache (0.20s)
Creating working copy for https://github.com/notsobigcompany/CardStack.git
Working copy of https://github.com/notsobigcompany/CardStack.git resolved at 1.0.0 (33417ef)
warning: '.resolve-product-dependencies': dependency 'cardstack' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/notsobigcompany/CardStack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module CardStack
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:45: error: 'Binding' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:75: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:96: error: 'Identifiable' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:119: error: 'View' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:118:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:116:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:10: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:127:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:114:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
[4/4] Compiling CardStack CardStack.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:45: error: 'Binding' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:75: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:96: error: 'Identifiable' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:119: error: 'View' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:118:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:116:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:10: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:127:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:114:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:29:22: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:29:22: note: add 'if #available' version check
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: xOffset(for: index), y: 0)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: note: add 'if #available' version check
.offset(x: xOffset(for: index), y: 0)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31:22: note: add 'if #available' version check
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: note: add 'if #available' version check
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:35:10: error: 'highPriorityGesture(_:including:)' is only available in macOS 10.15 or newer
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:35:10: note: add 'if #available' version check
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:14: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:14: note: add 'if #available' version check
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:17: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:32: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:32: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:43:21: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:43:21: note: add 'if #available' version check
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:46:14: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:46:14: note: add 'if #available' version check
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:48:17: error: setter for 'previousIndex' is only available in macOS 10.15 or newer
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:48:17: note: add 'if #available' version check
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:9: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:9: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:52:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:24: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:24: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:52:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:62:17: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:62:17: note: add 'if #available' version check
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:52:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:70:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:70:13: note: add 'if #available' version check
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:72:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:72:13: note: add 'if #available' version check
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:74:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:74:13: note: add 'if #available' version check
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:76:9: error: setter for 'finalCurrentIndex' is only available in macOS 10.15 or newer
self.finalCurrentIndex = Int(index)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:76:9: note: add 'if #available' version check
self.finalCurrentIndex = Int(index)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:131:47: error: 'red' is only available in macOS 10.15 or newer
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:131:47: note: add 'if #available' version check
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:50: error: 'orange' is only available in macOS 10.15 or newer
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:50: note: add 'if #available' version check
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: error: 'yellow' is only available in macOS 10.15 or newer
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: note: add 'if #available' version check
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:49: error: 'green' is only available in macOS 10.15 or newer
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:49: note: add 'if #available' version check
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:48: error: 'blue' is only available in macOS 10.15 or newer
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:48: note: add 'if #available' version check
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:50: error: 'purple' is only available in macOS 10.15 or newer
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:50: note: add 'if #available' version check
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:13: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:17: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:17: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:64: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:64: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:21: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:26: note: add 'if #available' version check
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: note: add 'if #available' version check
.overlay(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:29: error: 'Text' is only available in macOS 10.15 or newer
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:29: note: add 'if #available' version check
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:34: error: 'font' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:34: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:40: error: 'largeTitle' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:40: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: error: 'fontWeight' is only available in macOS 10.15 or newer
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: note: add 'if #available' version check
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:51: error: 'white' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:51: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:149:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:149:26: note: add 'if #available' version check
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:29: error: setter for 'tappedIndex' is only available in macOS 10.15 or newer
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:29: note: add 'if #available' version check
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:153:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(50)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:153:26: note: add 'if #available' version check
.padding(50)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: error: 'Text' is only available in macOS 10.15 or newer
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: error: 'Text' is only available in macOS 10.15 or newer
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: error: 'Text' is only available in macOS 10.15 or newer
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module CardStack
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:45: error: 'Binding' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:75: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:96: error: 'Identifiable' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:119: error: 'View' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:118:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:116:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:10: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:127:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:114:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
[3/3] Compiling CardStack CardStack.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7:6: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:8:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:45: error: 'Binding' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:75: error: 'ViewBuilder' is only available in macOS 10.15 or newer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:19:12: note: add @available attribute to enclosing initializer
public init(_ data: Data, currentIndex: Binding<Int> = .constant(0), @ViewBuilder content: @escaping (Data.Element) -> Content) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:96: error: 'Identifiable' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:119: error: 'View' is only available in macOS 10.15 or newer
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:118:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:116:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:10: error: 'State' is only available in macOS 10.15 or newer
@State private var currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:127:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:167:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:114:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:29:22: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:29:22: note: add 'if #available' version check
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: error: 'offset(x:y:)' is only available in macOS 10.15 or newer
.offset(x: xOffset(for: index), y: 0)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: note: add 'if #available' version check
.offset(x: xOffset(for: index), y: 0)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31:22: note: add 'if #available' version check
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: note: add 'if #available' version check
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:35:10: error: 'highPriorityGesture(_:including:)' is only available in macOS 10.15 or newer
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:35:10: note: add 'if #available' version check
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:25:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:14: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:14: note: add 'if #available' version check
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:17: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:32: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:32: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:43:21: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:43:21: note: add 'if #available' version check
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:46:14: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:46:14: note: add 'if #available' version check
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:48:17: error: setter for 'previousIndex' is only available in macOS 10.15 or newer
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:48:17: note: add 'if #available' version check
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:38:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:9: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:9: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:52:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:24: error: 'interpolatingSpring(mass:stiffness:damping:initialVelocity:)' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:24: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:52:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:62:17: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:62:17: note: add 'if #available' version check
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:52:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:70:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:70:13: note: add 'if #available' version check
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:72:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:72:13: note: add 'if #available' version check
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:74:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:74:13: note: add 'if #available' version check
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:76:9: error: setter for 'finalCurrentIndex' is only available in macOS 10.15 or newer
self.finalCurrentIndex = Int(index)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:76:9: note: add 'if #available' version check
self.finalCurrentIndex = Int(index)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:67:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:6:15: note: add @available attribute to enclosing generic struct
public struct CardStack<Data, Content>: View where Data: RandomAccessCollection, Data.Element: Identifiable, Content: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:131:47: error: 'red' is only available in macOS 10.15 or newer
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:131:47: note: add 'if #available' version check
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:50: error: 'orange' is only available in macOS 10.15 or newer
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:50: note: add 'if #available' version check
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: error: 'yellow' is only available in macOS 10.15 or newer
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: note: add 'if #available' version check
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:49: error: 'green' is only available in macOS 10.15 or newer
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:49: note: add 'if #available' version check
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:48: error: 'blue' is only available in macOS 10.15 or newer
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:48: note: add 'if #available' version check
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:50: error: 'purple' is only available in macOS 10.15 or newer
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:50: note: add 'if #available' version check
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:13: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:17: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:17: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:64: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:64: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:21: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:26: note: add 'if #available' version check
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: note: add 'if #available' version check
.overlay(
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:29: error: 'Text' is only available in macOS 10.15 or newer
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:29: note: add 'if #available' version check
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:34: error: 'font' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:34: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:40: error: 'largeTitle' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:40: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: error: 'fontWeight' is only available in macOS 10.15 or newer
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: note: add 'if #available' version check
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:51: error: 'white' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:51: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:149:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:149:26: note: add 'if #available' version check
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:29: error: setter for 'tappedIndex' is only available in macOS 10.15 or newer
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:29: note: add 'if #available' version check
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:153:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(50)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:153:26: note: add 'if #available' version check
.padding(50)
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: error: 'Text' is only available in macOS 10.15 or newer
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:157:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: error: 'Text' is only available in macOS 10.15 or newer
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: error: 'Text' is only available in macOS 10.15 or newer
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:139:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:129:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:125:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm