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: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/notsobigcompany/CardStack
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cc0d8cf Adds deprecation warning. Updates README.
Cloned https://github.com/notsobigcompany/CardStack.git
Revision (git rev-parse @):
cc0d8cf4f6caf4cfaf71593c84c9d21eaf9460f0
SUCCESS checkout https://github.com/notsobigcompany/CardStack.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CardStack",
"dependencies": [
]
}
]
}
Fetching https://github.com/notsobigcompany/CardStack.git
[1/46] Fetching cardstack
Fetched https://github.com/notsobigcompany/CardStack.git from cache (0.32s)
Creating working copy for https://github.com/notsobigcompany/CardStack.git
Working copy of https://github.com/notsobigcompany/CardStack.git resolved at main (cc0d8cf)
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/3/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 currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:119:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:117:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/3/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 currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:128:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:115:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
[4/4] Compiling CardStack CardStack.swift
/Users/builder/builds/TDmZkXJm/3/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 currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:119:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:117:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/3/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 currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:128:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:115:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: note: add 'if #available' version check
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31:22: note: add 'if #available' version check
.offset(x: xOffset(for: index), y: 0)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: note: add 'if #available' version check
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:33:22: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:33:22: note: add 'if #available' version check
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:16: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:36:10: error: 'highPriorityGesture(_:including:)' is only available in macOS 10.15 or newer
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:36:10: note: add 'if #available' version check
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:14: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:14: note: add 'if #available' version check
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:17: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:32: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:32: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:44:21: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:44:21: note: add 'if #available' version check
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:47:14: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:47:14: note: add 'if #available' version check
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:49:17: error: setter for 'previousIndex' is only available in macOS 10.15 or newer
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:49:17: note: add 'if #available' version check
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54:9: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54:9: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54:24: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:63:17: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:63:17: note: add 'if #available' version check
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:71:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:71:13: note: add 'if #available' version check
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:73:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:73:13: note: add 'if #available' version check
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:75:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:75:13: note: add 'if #available' version check
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:77:9: error: setter for 'finalCurrentIndex' is only available in macOS 10.15 or newer
self.finalCurrentIndex = Int(self.currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:77:9: note: add 'if #available' version check
self.finalCurrentIndex = Int(self.currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:47: error: 'red' is only available in macOS 10.15 or newer
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:47: note: add 'if #available' version check
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: error: 'orange' is only available in macOS 10.15 or newer
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: note: add 'if #available' version check
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:50: error: 'yellow' is only available in macOS 10.15 or newer
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:50: note: add 'if #available' version check
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:49: error: 'green' is only available in macOS 10.15 or newer
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:49: note: add 'if #available' version check
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:48: error: 'blue' is only available in macOS 10.15 or newer
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:48: note: add 'if #available' version check
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:137:50: error: 'purple' is only available in macOS 10.15 or newer
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:137:50: note: add 'if #available' version check
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:13: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:17: warning: 'CardStack' is deprecated: Use CardDeckPageViewStyle in the new BigUIPaging package https://github.com/notsobigcompany/BigUIPaging
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:17: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:64: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:21: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: note: add 'if #available' version check
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:26: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:26: note: add 'if #available' version check
.overlay(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:29: error: 'Text' is only available in macOS 10.15 or newer
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:29: note: add 'if #available' version check
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: error: 'font' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:40: error: 'largeTitle' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:40: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: error: 'fontWeight' is only available in macOS 10.15 or newer
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: note: add 'if #available' version check
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:34: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:51: error: 'white' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:51: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: note: add 'if #available' version check
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:26: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:26: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:152:29: error: setter for 'tappedIndex' is only available in macOS 10.15 or newer
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:152:29: note: add 'if #available' version check
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:154:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(50)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:154:26: note: add 'if #available' version check
.padding(50)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:17: error: 'Text' is only available in macOS 10.15 or newer
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:21: error: 'Text' is only available in macOS 10.15 or newer
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162:21: error: 'Text' is only available in macOS 10.15 or newer
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126: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/3/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 currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:119:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:117:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/3/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 currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:128:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:115:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
[3/3] Compiling CardStack CardStack.swift
/Users/builder/builds/TDmZkXJm/3/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 currentIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:9:6: error: 'State' is only available in macOS 10.15 or newer
@State private var previousIndex: Double = 0.0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder private let content: (Data.Element) -> Content
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
@Binding var finalCurrentIndex: Int
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:20: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:35: error: 'Gesture' is only available in macOS 10.15 or newer
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:7: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:119:20: error: 'Color' is only available in macOS 10.15 or newer
let color: Color
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:117:12: note: add @available attribute to enclosing struct
struct DemoItem: Identifiable {
^
/Users/builder/builds/TDmZkXJm/3/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 currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:128:10: error: 'State' is only available in macOS 10.15 or newer
@State private var tappedIndex: Int? = nil
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:24: error: 'View' is only available in macOS 10.15 or newer
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:31: error: 'View' is only available in macOS 10.15 or newer
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:168:16: note: add @available attribute to enclosing static property
static var previews: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:115:8: note: add @available attribute to enclosing struct
struct CardStackView_Previews: PreviewProvider {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:9: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:28:13: note: add 'if #available' version check
ForEach(Array(data.enumerated()), id: \.element.id) { (index, element) in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: error: 'zIndex' is only available in macOS 10.15 or newer
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:30:22: note: add 'if #available' version check
.zIndex(zIndex(for: index))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:31:22: note: add 'if #available' version check
.offset(x: xOffset(for: index), y: 0)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:32:22: note: add 'if #available' version check
.scaleEffect(scale(for: index), anchor: .center)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:33:22: error: 'rotationEffect(_:anchor:)' is only available in macOS 10.15 or newer
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:33:22: note: add 'if #available' version check
.rotationEffect(.degrees(rotationDegrees(for: index)))
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:27:16: note: add 'if #available' version check
ZStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:36:10: error: 'highPriorityGesture(_:including:)' is only available in macOS 10.15 or newer
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:36:10: note: add 'if #available' version check
.highPriorityGesture(dragGesture)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:26:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: error: 'DragGesture' is only available in macOS 10.15 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: error: 'init(minimumDistance:coordinateSpace:)' is only available in macOS 14.0 or newer
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:40:9: note: add 'if #available' version check
DragGesture()
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:14: error: 'onChanged' is only available in macOS 10.15 or newer
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:41:14: note: add 'if #available' version check
.onChanged { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:17: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:17: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:32: error: 'interactiveSpring(duration:extraBounce:blendDuration:)' is only available in macOS 10.15 or newer
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:42:32: note: add 'if #available' version check
withAnimation(.interactiveSpring()) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:44:21: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:44:21: note: add 'if #available' version check
self.currentIndex = -x
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:47:14: error: 'onEnded' is only available in macOS 10.15 or newer
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:47:14: note: add 'if #available' version check
.onEnded { value in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:49:17: error: setter for 'previousIndex' is only available in macOS 10.15 or newer
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:49:17: note: add 'if #available' version check
self.previousIndex = self.currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:39:17: note: add @available attribute to enclosing property
private var dragGesture: some Gesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54:9: error: 'withAnimation' is only available in macOS 10.15 or newer
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54:9: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:54:24: note: add 'if #available' version check
withAnimation(.interpolatingSpring(stiffness: 300, damping: 40)) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:63:17: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:63:17: note: add 'if #available' version check
self.currentIndex = round(currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:53:18: note: add @available attribute to enclosing instance method
private func snapToNearestAbsoluteIndex(_ predictedEndTranslation: CGSize) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:71:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:71:13: note: add 'if #available' version check
self.currentIndex = 0
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:73:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:73:13: note: add 'if #available' version check
self.currentIndex = maxIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:75:13: error: setter for 'currentIndex' is only available in macOS 10.15 or newer
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:75:13: note: add 'if #available' version check
self.currentIndex = index
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:77:9: error: setter for 'finalCurrentIndex' is only available in macOS 10.15 or newer
self.finalCurrentIndex = Int(self.currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:77:9: note: add 'if #available' version check
self.finalCurrentIndex = Int(self.currentIndex)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:68:18: note: add @available attribute to enclosing instance method
private func goTo(_ index: Double) {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:47: error: 'red' is only available in macOS 10.15 or newer
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:132:47: note: add 'if #available' version check
DemoItem(name: "Red", color: .red),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: error: 'orange' is only available in macOS 10.15 or newer
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:133:50: note: add 'if #available' version check
DemoItem(name: "Orange", color: .orange),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:50: error: 'yellow' is only available in macOS 10.15 or newer
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:134:50: note: add 'if #available' version check
DemoItem(name: "Yellow", color: .yellow),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:49: error: 'green' is only available in macOS 10.15 or newer
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:135:49: note: add 'if #available' version check
DemoItem(name: "Green", color: .green),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:48: error: 'blue' is only available in macOS 10.15 or newer
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:136:48: note: add 'if #available' version check
DemoItem(name: "Blue", color: .blue),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:137:50: error: 'purple' is only available in macOS 10.15 or newer
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:137:50: note: add 'if #available' version check
DemoItem(name: "Purple", color: .purple),
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:13: error: 'VStack' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:13: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:17: warning: 'CardStack' is deprecated: Use CardDeckPageViewStyle in the new BigUIPaging package https://github.com/notsobigcompany/BigUIPaging
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:17: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:141:64: note: add 'if #available' version check
CardStack(colors, currentIndex: $currentIndex) { namedColor in
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:21: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:142:21: note: add 'if #available' version check
RoundedRectangle(cornerRadius: 20, style: .continuous)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:143:26: note: add 'if #available' version check
.fill(namedColor.color)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:26: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
.overlay(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:144:26: note: add 'if #available' version check
.overlay(
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:29: error: 'Text' is only available in macOS 10.15 or newer
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:145:29: note: add 'if #available' version check
Text(namedColor.name)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: error: 'font' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:34: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:40: error: 'largeTitle' is only available in macOS 10.15 or newer
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:146:40: note: add 'if #available' version check
.font(.largeTitle)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: error: 'fontWeight' is only available in macOS 10.15 or newer
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:147:34: note: add 'if #available' version check
.fontWeight(.bold)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:34: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:51: error: 'white' is only available in macOS 10.15 or newer
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:148:51: note: add 'if #available' version check
.foregroundColor(.white)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:150:26: note: add 'if #available' version check
.frame(height: 400)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:26: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:151:26: note: add 'if #available' version check
.onTapGesture {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:152:29: error: setter for 'tappedIndex' is only available in macOS 10.15 or newer
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:152:29: note: add 'if #available' version check
tappedIndex = currentIndex
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:154:26: error: 'padding' is only available in macOS 10.15 or newer
.padding(50)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:154:26: note: add 'if #available' version check
.padding(50)
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:17: error: 'Text' is only available in macOS 10.15 or newer
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:158:17: note: add 'if #available' version check
Text("Current card is \(currentIndex)")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:21: error: 'Text' is only available in macOS 10.15 or newer
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:160:21: note: add 'if #available' version check
Text("Card \(tappedIndex) was tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:159:50: note: add 'if #available' version check
if let tappedIndex = tappedIndex {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162: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/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162:21: error: 'Text' is only available in macOS 10.15 or newer
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:162:21: note: add 'if #available' version check
Text("No card has been tapped")
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:161:24: note: add 'if #available' version check
} else {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:140:20: note: add 'if #available' version check
VStack {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:130:13: note: add @available attribute to enclosing property
var body: some View {
^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CardStack/CardStack.swift:126:12: note: add @available attribute to enclosing struct
struct DemoView: View {
^
error: fatalError
BUILD FAILURE 5.10 macosSpm