This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build PageView with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/elegantchaos/PageView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/elegantchaos/PageView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d217971 Added formatter tool.
Cloned https://github.com/elegantchaos/PageView.git
Revision (git rev-parse @):
d217971596abc8fa72e1d2f8900fc56e4b05a73b
SUCCESS checkout https://github.com/elegantchaos/PageView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/elegantchaos/PageView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module PageView
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 |     let pages: [SelectionValue]
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:15:19: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
13 |     let dotSize: CGFloat
14 |     let dotSpacing: CGFloat
15 |     let dotColor: Color
   |                   `- error: 'Color' is only available in macOS 10.15 or newer
16 |
17 |     let selectedScale: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:18:24: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
16 |
17 |     let selectedScale: CGFloat
18 |     let selectedColor: Color
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:28: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:136: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                           `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:217: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                                                                            `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:144: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:150: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                         `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:158: error: 'opacity' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                 `- error: 'opacity' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:226: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                                                                                     `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     @ViewBuilder var content: () -> Content
 6 |     @ViewBuilder var index: () -> Index
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:5:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 |     @ViewBuilder var index: () -> Index
 7 |     let indexAlignment: Alignment
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
 6 |     @ViewBuilder var index: () -> Index
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 |     let indexAlignment: Alignment
 8 |     let indexPadding: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:7:25: error: 'Alignment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
 6 |     @ViewBuilder var index: () -> Index
 7 |     let indexAlignment: Alignment
   |                         `- error: 'Alignment' is only available in macOS 10.15 or newer
 8 |     let indexPadding: CGFloat?
 9 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:10:28: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
 8 |     let indexPadding: CGFloat?
 9 |
10 |     public init(selection: Binding<SelectionValue>, indexAlignment: Alignment = .bottom, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
11 |         _selection = selection
12 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:10:69: error: 'Alignment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
 8 |     let indexPadding: CGFloat?
 9 |
10 |     public init(selection: Binding<SelectionValue>, indexAlignment: Alignment = .bottom, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                        `- error: 'Alignment' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
11 |         _selection = selection
12 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:10:82: error: 'bottom' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
 8 |     let indexPadding: CGFloat?
 9 |
10 |     public init(selection: Binding<SelectionValue>, indexAlignment: Alignment = .bottom, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                                     `- error: 'bottom' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
11 |         _selection = selection
12 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
19 |         ZStack(alignment: indexAlignment) {
20 |             TabView(selection: $selection) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:3:103: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:3:116: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:21: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |               `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:32: error: 'red' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                          `- error: 'red' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:38: error: 'blue' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                `- error: 'blue' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:45: error: 'green' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                       `- error: 'green' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:53: error: 'yellow' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                               `- error: 'yellow' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:62: error: 'orange' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                        `- error: 'orange' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:71: error: 'gray' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                                 `- error: 'gray' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:78: error: 'brown' is only available in macOS 12.0 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                                        `- error: 'brown' is only available in macOS 12.0 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:86: error: 'cyan' is only available in macOS 12.0 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                                                `- error: 'cyan' is only available in macOS 12.0 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:33:1: warning: extension declares a conformance of imported type 'Color' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUI' introduce this conformance in the future
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
32 |
33 | extension Color: Identifiable {
   | |- warning: extension declares a conformance of imported type 'Color' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUI' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |     public var id: Color { self }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:34:20: error: 'Color' is only available in macOS 10.15 or newer
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
32 |
33 | extension Color: Identifiable {
   | `- note: add @available attribute to enclosing extension
34 |     public var id: Color { self }
   |                |   `- error: 'Color' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:33:11: error: 'Color' is only available in macOS 10.15 or newer
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
32 |
33 | extension Color: Identifiable {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
34 |     public var id: Color { self }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:39:10: error: 'State' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
   |          `- error: 'State' is only available in macOS 10.15 or newer
40 |         @State var showNormal = false
41 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:40:10: error: 'State' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
41 |
42 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:42:24: error: 'View' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   :
76 |         }
77 |
78 |         var content: some View {
   |             |             `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
79 |             ForEach(previewColors) { color in
80 |                 color
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:86:31: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | struct PageView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
38 |     struct ExampleView: View {
39 |         @State private var selection = previewColors.first!
   :
84 |     }
85 |
86 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
87 |         ExampleView()
88 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     @ViewBuilder var content: () -> Content
11 |     @ViewBuilder var index: () -> Index
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:10:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |     @ViewBuilder var index: () -> Index
12 |     let indexAlignment: HorizontalAlignment
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
11 |     @ViewBuilder var index: () -> Index
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |     let indexAlignment: HorizontalAlignment
13 |     let indexPadding: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:12:25: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
11 |     @ViewBuilder var index: () -> Index
12 |     let indexAlignment: HorizontalAlignment
   |                         `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 |     let indexPadding: CGFloat?
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:15:28: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
13 |     let indexPadding: CGFloat?
14 |
15 |     public init(selection: Binding<SelectionValue>, indexAlignment: HorizontalAlignment = .center, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |         _selection = selection
17 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:15:69: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
13 |     let indexPadding: CGFloat?
14 |
15 |     public init(selection: Binding<SelectionValue>, indexAlignment: HorizontalAlignment = .center, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                        `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |         _selection = selection
17 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:15:92: error: 'center' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
13 |     let indexPadding: CGFloat?
14 |
15 |     public init(selection: Binding<SelectionValue>, indexAlignment: HorizontalAlignment = .center, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                                               `- error: 'center' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |         _selection = selection
17 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:23:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
21 |     }
22 |
23 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
24 |         VStack(alignment: indexAlignment) {
25 |             TabView(selection: $selection) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:8:109: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                             `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:8:122: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                                          `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:37:10: error: 'State' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
   |          `- error: 'State' is only available in macOS 10.15 or newer
38 |         @State var showNormal = false
39 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:38:10: error: 'State' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
39 |
40 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:40:24: error: 'View' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:52:27: error: 'View' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   :
50 |         }
51 |
52 |         var content: some View {
   |             |             `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
53 |             ForEach(previewColors) { color in
54 |                 color
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:60:31: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
36 |     struct ExampleView: View {
37 |         @State private var selection = previewColors.first!
   :
58 |     }
59 |
60 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
61 |         ExampleView()
62 |     }
[4/6] Compiling PageView VStackPageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     @ViewBuilder var content: () -> Content
11 |     @ViewBuilder var index: () -> Index
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:10:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
11 |     @ViewBuilder var index: () -> Index
12 |     let indexAlignment: HorizontalAlignment
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
11 |     @ViewBuilder var index: () -> Index
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
12 |     let indexAlignment: HorizontalAlignment
13 |     let indexPadding: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:12:25: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
11 |     @ViewBuilder var index: () -> Index
12 |     let indexAlignment: HorizontalAlignment
   |                         `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
13 |     let indexPadding: CGFloat?
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:15:28: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
13 |     let indexPadding: CGFloat?
14 |
15 |     public init(selection: Binding<SelectionValue>, indexAlignment: HorizontalAlignment = .center, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |         _selection = selection
17 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:15:69: error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
13 |     let indexPadding: CGFloat?
14 |
15 |     public init(selection: Binding<SelectionValue>, indexAlignment: HorizontalAlignment = .center, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                        `- error: 'HorizontalAlignment' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |         _selection = selection
17 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:15:92: error: 'center' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
13 |     let indexPadding: CGFloat?
14 |
15 |     public init(selection: Binding<SelectionValue>, indexAlignment: HorizontalAlignment = .center, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                                               `- error: 'center' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |         _selection = selection
17 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:23:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
21 |     }
22 |
23 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
24 |         VStack(alignment: indexAlignment) {
25 |             TabView(selection: $selection) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:8:109: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                             `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:8:122: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                                          `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:37:10: error: 'State' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
   |          `- error: 'State' is only available in macOS 10.15 or newer
38 |         @State var showNormal = false
39 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:38:10: error: 'State' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
39 |
40 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:40:24: error: 'View' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:52:27: error: 'View' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   :
50 |         }
51 |
52 |         var content: some View {
   |             |             `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
53 |             ForEach(previewColors) { color in
54 |                 color
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:60:31: error: 'View' is only available in macOS 10.15 or newer
33 | }
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
36 |     struct ExampleView: View {
37 |         @State private var selection = previewColors.first!
   :
58 |     }
59 |
60 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
61 |         ExampleView()
62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:24:9: error: 'VStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
21 |     }
22 |
23 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
24 |         VStack(alignment: indexAlignment) {
   |         |- error: 'VStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
25 |             TabView(selection: $selection) {
26 |                 content()
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:25:13: error: 'TabView' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
21 |     }
22 |
23 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
24 |         VStack(alignment: indexAlignment) {
25 |             TabView(selection: $selection) {
   |             |- error: 'TabView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
26 |                 content()
27 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:28:14: error: 'tabViewStyle' is only available in macOS 11.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
21 |     }
22 |
23 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
24 |         VStack(alignment: indexAlignment) {
25 |             TabView(selection: $selection) {
26 |                 content()
27 |             }
28 |             .tabViewStyle(.page(indexDisplayMode: .never))
   |              |- error: 'tabViewStyle' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
29 |             index()
30 |                 .padding(.all, indexPadding)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:28:28: error: 'page(indexDisplayMode:)' is unavailable in macOS
26 |                 content()
27 |             }
28 |             .tabViewStyle(.page(indexDisplayMode: .never))
   |                            `- error: 'page(indexDisplayMode:)' is unavailable in macOS
29 |             index()
30 |                 .padding(.all, indexPadding)
SwiftUI.TabViewStyle:5:24: note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
3 | extension TabViewStyle where Self == PageTabViewStyle {
4 |     public static var page: PageTabViewStyle { get }
5 |     public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle
  |                        `- note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:30:18: error: 'padding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct VStackPageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |     @ViewBuilder var content: () -> Content
   :
21 |     }
22 |
23 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
24 |         VStack(alignment: indexAlignment) {
25 |             TabView(selection: $selection) {
   :
28 |             .tabViewStyle(.page(indexDisplayMode: .never))
29 |             index()
30 |                 .padding(.all, indexPadding)
   |                  |- error: 'padding' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
31 |         }
32 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:41:68: error: 'leading' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
   |                                                                    |- error: 'leading' is only available in macOS 10.15 or newer
   |                                                                    `- note: add 'if #available' version check
42 |                 content
43 |             } index: {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:46:14: error: 'tabItem' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
   :
44 |                 DotsIndexView(selection: $selection, pages: previewColors)
45 |             }
46 |             .tabItem {
   |              |- error: 'tabItem' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
47 |                 Text("Leading Dots")
48 |                     .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:47:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
   :
45 |             }
46 |             .tabItem {
47 |                 Text("Leading Dots")
   |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
48 |                     .font(.title)
49 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:47:17: error: 'Text' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
   :
45 |             }
46 |             .tabItem {
47 |                 Text("Leading Dots")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
48 |                     .font(.title)
49 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:48:22: error: 'font' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
   :
46 |             .tabItem {
47 |                 Text("Leading Dots")
48 |                     .font(.title)
   |                      |- error: 'font' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
49 |             }
50 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:48:28: error: 'title' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
   :
46 |             .tabItem {
47 |                 Text("Leading Dots")
48 |                     .font(.title)
   |                            |- error: 'title' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
49 |             }
50 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:46:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
39 |
40 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
41 |             VStackPageView(selection: $selection, indexAlignment: .leading, indexPadding: 40.0) {
42 |                 content
   :
44 |                 DotsIndexView(selection: $selection, pages: previewColors)
45 |             }
46 |             .tabItem {
   |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                      `- note: add 'if #available' version check
47 |                 Text("Leading Dots")
48 |                     .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:144: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:150: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                         `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:158: error: 'opacity' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                 `- error: 'opacity' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:226: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                                                                                     `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:53:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   :
50 |         }
51 |
52 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
53 |             ForEach(previewColors) { color in
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
54 |                 color
55 |                     .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:53:13: error: 'ForEach' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   :
50 |         }
51 |
52 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
53 |             ForEach(previewColors) { color in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
54 |                 color
55 |                     .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:53:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   :
50 |         }
51 |
52 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
53 |             ForEach(previewColors) { color in
   |             |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
54 |                 color
55 |                     .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/VStackPageView.swift:55:22: error: 'tag' is only available in macOS 10.15 or newer
34 |
35 | struct VStackPageView_Previews: PreviewProvider {
36 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
37 |         @State private var selection = previewColors.first!
38 |         @State var showNormal = false
   :
50 |         }
51 |
52 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
53 |             ForEach(previewColors) { color in
54 |                 color
55 |                     .tag(color)
   |                      |- error: 'tag' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
56 |             }
57 |         }
[5/6] Compiling PageView PageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:4:6: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
 5 |     @ViewBuilder var content: () -> Content
 6 |     @ViewBuilder var index: () -> Index
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:5:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 6 |     @ViewBuilder var index: () -> Index
 7 |     let indexAlignment: Alignment
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:6:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
 6 |     @ViewBuilder var index: () -> Index
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
 7 |     let indexAlignment: Alignment
 8 |     let indexPadding: CGFloat?
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:7:25: error: 'Alignment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
 6 |     @ViewBuilder var index: () -> Index
 7 |     let indexAlignment: Alignment
   |                         `- error: 'Alignment' is only available in macOS 10.15 or newer
 8 |     let indexPadding: CGFloat?
 9 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:10:28: error: 'Binding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
 8 |     let indexPadding: CGFloat?
 9 |
10 |     public init(selection: Binding<SelectionValue>, indexAlignment: Alignment = .bottom, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
11 |         _selection = selection
12 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:10:69: error: 'Alignment' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
 8 |     let indexPadding: CGFloat?
 9 |
10 |     public init(selection: Binding<SelectionValue>, indexAlignment: Alignment = .bottom, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                        `- error: 'Alignment' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
11 |         _selection = selection
12 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:10:82: error: 'bottom' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
 8 |     let indexPadding: CGFloat?
 9 |
10 |     public init(selection: Binding<SelectionValue>, indexAlignment: Alignment = .bottom, indexPadding: CGFloat? = nil, content: @escaping () -> Content, index: @escaping () -> Index) {
   |            |                                                                     `- error: 'bottom' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
11 |         _selection = selection
12 |         self.content = content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
19 |         ZStack(alignment: indexAlignment) {
20 |             TabView(selection: $selection) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:3:103: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:3:116: error: 'View' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               |                                                                                                    `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:21: error: 'Color' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |               `- error: 'Color' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:32: error: 'red' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                          `- error: 'red' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:38: error: 'blue' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                `- error: 'blue' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:45: error: 'green' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                       `- error: 'green' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:53: error: 'yellow' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                               `- error: 'yellow' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:62: error: 'orange' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                        `- error: 'orange' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:71: error: 'gray' is only available in macOS 10.15 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                                 `- error: 'gray' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:78: error: 'brown' is only available in macOS 12.0 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                                        `- error: 'brown' is only available in macOS 12.0 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:31:86: error: 'cyan' is only available in macOS 12.0 or newer
29 | }
30 |
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
   |     |                                                                                `- error: 'cyan' is only available in macOS 12.0 or newer
   |     `- note: add @available attribute to enclosing let
32 |
33 | extension Color: Identifiable {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:33:1: warning: extension declares a conformance of imported type 'Color' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUI' introduce this conformance in the future
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
32 |
33 | extension Color: Identifiable {
   | |- warning: extension declares a conformance of imported type 'Color' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'SwiftUI' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
34 |     public var id: Color { self }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:34:20: error: 'Color' is only available in macOS 10.15 or newer
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
32 |
33 | extension Color: Identifiable {
   | `- note: add @available attribute to enclosing extension
34 |     public var id: Color { self }
   |                |   `- error: 'Color' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:33:11: error: 'Color' is only available in macOS 10.15 or newer
31 | let previewColors: [Color] = [.red, .blue, .green, .yellow, .orange, .gray, .brown, .cyan]
32 |
33 | extension Color: Identifiable {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
34 |     public var id: Color { self }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:39:10: error: 'State' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
   |          `- error: 'State' is only available in macOS 10.15 or newer
40 |         @State var showNormal = false
41 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:40:10: error: 'State' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            |- note: add @available attribute to enclosing struct
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   |          `- error: 'State' is only available in macOS 10.15 or newer
41 |
42 |         var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:42:24: error: 'View' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             |          `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   :
76 |         }
77 |
78 |         var content: some View {
   |             |             `- error: 'View' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing property
79 |             ForEach(previewColors) { color in
80 |                 color
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:86:31: error: 'View' is only available in macOS 10.15 or newer
35 | }
36 |
37 | struct PageView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
38 |     struct ExampleView: View {
39 |         @State private var selection = previewColors.first!
   :
84 |     }
85 |
86 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
87 |         ExampleView()
88 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:19:9: error: 'ZStack' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         ZStack(alignment: indexAlignment) {
   |         |- error: 'ZStack' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |             TabView(selection: $selection) {
21 |                 content()
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:20:13: error: 'TabView' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         ZStack(alignment: indexAlignment) {
20 |             TabView(selection: $selection) {
   |             |- error: 'TabView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
21 |                 content()
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:23:14: error: 'tabViewStyle' is only available in macOS 11.0 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         ZStack(alignment: indexAlignment) {
20 |             TabView(selection: $selection) {
21 |                 content()
22 |             }
23 |             .tabViewStyle(.page(indexDisplayMode: .never))
   |              |- error: 'tabViewStyle' is only available in macOS 11.0 or newer
   |              `- note: add 'if #available' version check
24 |
25 |             index()
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:23:28: error: 'page(indexDisplayMode:)' is unavailable in macOS
21 |                 content()
22 |             }
23 |             .tabViewStyle(.page(indexDisplayMode: .never))
   |                            `- error: 'page(indexDisplayMode:)' is unavailable in macOS
24 |
25 |             index()
SwiftUI.TabViewStyle:5:24: note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
3 | extension TabViewStyle where Self == PageTabViewStyle {
4 |     public static var page: PageTabViewStyle { get }
5 |     public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle
  |                        `- note: 'page(indexDisplayMode:)' has been explicitly marked unavailable here
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:26:18: error: 'padding' is only available in macOS 10.15 or newer
 1 | import SwiftUI
 2 |
 3 | public struct PageView<SelectionValue, Content, Index>: View where SelectionValue: Hashable, Content: View, Index: View {
   |               `- note: add @available attribute to enclosing generic struct
 4 |     @Binding var selection: SelectionValue
 5 |     @ViewBuilder var content: () -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         ZStack(alignment: indexAlignment) {
20 |             TabView(selection: $selection) {
   :
24 |
25 |             index()
26 |                 .padding(.all, indexPadding)
   |                  |- error: 'padding' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
27 |         }
28 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:43:13: error: 'TabView' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
   |             |- error: 'TabView' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
45 |                     content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:43:13: error: 'init(content:)' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
   |             |- error: 'init(content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
45 |                     content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:43:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
   |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
45 |                     content
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:44:66: error: 'bottomLeading' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   |                                                                  |- error: 'bottomLeading' is only available in macOS 10.15 or newer
   |                                                                  `- note: add 'if #available' version check
45 |                     content
46 |                 } index: {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:49:18: error: 'tabItem' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
47 |                     DotsIndexView(selection: $selection, pages: previewColors)
48 |                 }
49 |                 .tabItem {
   |                  |- error: 'tabItem' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
50 |                     Text("Leading Dots")
51 |                         .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:50:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
48 |                 }
49 |                 .tabItem {
50 |                     Text("Leading Dots")
   |                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
51 |                         .font(.title)
52 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:50:21: error: 'Text' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
48 |                 }
49 |                 .tabItem {
50 |                     Text("Leading Dots")
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
51 |                         .font(.title)
52 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:51:26: error: 'font' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
49 |                 .tabItem {
50 |                     Text("Leading Dots")
51 |                         .font(.title)
   |                          |- error: 'font' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
52 |                 }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:51:32: error: 'title' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
49 |                 .tabItem {
50 |                     Text("Leading Dots")
51 |                         .font(.title)
   |                                |- error: 'title' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
52 |                 }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:49:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
47 |                     DotsIndexView(selection: $selection, pages: previewColors)
48 |                 }
49 |                 .tabItem {
   |                          |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                          `- note: add 'if #available' version check
50 |                     Text("Leading Dots")
51 |                         .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:54:66: error: 'top' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
52 |                 }
53 |
54 |                 PageView(selection: $selection, indexAlignment: .top, indexPadding: 40.0) {
   |                                                                  |- error: 'top' is only available in macOS 10.15 or newer
   |                                                                  `- note: add 'if #available' version check
55 |                     content
56 |                 } index: {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:59:18: error: 'tabItem' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
57 |                     DotsIndexView(selection: $selection, pages: previewColors, selectedScale: 1.6)
58 |                 }
59 |                 .tabItem {
   |                  |- error: 'tabItem' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
60 |                     Text("Top Dots Growing")
61 |                         .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:60:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
58 |                 }
59 |                 .tabItem {
60 |                     Text("Top Dots Growing")
   |                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
61 |                         .font(.title)
62 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:60:21: error: 'Text' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
58 |                 }
59 |                 .tabItem {
60 |                     Text("Top Dots Growing")
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
61 |                         .font(.title)
62 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:61:26: error: 'font' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
59 |                 .tabItem {
60 |                     Text("Top Dots Growing")
61 |                         .font(.title)
   |                          |- error: 'font' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
62 |                 }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:61:32: error: 'title' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
59 |                 .tabItem {
60 |                     Text("Top Dots Growing")
61 |                         .font(.title)
   |                                |- error: 'title' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
62 |                 }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:59:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
57 |                     DotsIndexView(selection: $selection, pages: previewColors, selectedScale: 1.6)
58 |                 }
59 |                 .tabItem {
   |                          |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                          `- note: add 'if #available' version check
60 |                     Text("Top Dots Growing")
61 |                         .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:64:17: error: 'TabView' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
62 |                 }
63 |
64 |                 TabView(selection: $selection) {
   |                 |- error: 'TabView' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
65 |                     ForEach(previewColors) { color in
66 |                         color
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:64:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
62 |                 }
63 |
64 |                 TabView(selection: $selection) {
   |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
65 |                     ForEach(previewColors) { color in
66 |                         color
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:65:21: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
63 |
64 |                 TabView(selection: $selection) {
65 |                     ForEach(previewColors) { color in
   |                     |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
66 |                         color
67 |                             .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:65:21: error: 'ForEach' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
63 |
64 |                 TabView(selection: $selection) {
65 |                     ForEach(previewColors) { color in
   |                     |- error: 'ForEach' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
66 |                         color
67 |                             .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:65:21: error: 'init(_:content:)' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
63 |
64 |                 TabView(selection: $selection) {
65 |                     ForEach(previewColors) { color in
   |                     |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
66 |                         color
67 |                             .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:67:30: error: 'tag' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
65 |                     ForEach(previewColors) { color in
66 |                         color
67 |                             .tag(color)
   |                              |- error: 'tag' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
68 |                     }
69 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:64:48: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
62 |                 }
63 |
64 |                 TabView(selection: $selection) {
   |                                                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                `- note: add 'if #available' version check
65 |                     ForEach(previewColors) { color in
66 |                         color
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:70:18: error: 'tabViewStyle' is only available in macOS 11.0 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
68 |                     }
69 |                 }
70 |                 .tabViewStyle(.page)
   |                  |- error: 'tabViewStyle' is only available in macOS 11.0 or newer
   |                  `- note: add 'if #available' version check
71 |                 .tabItem {
72 |                     Text("Standard")
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:70:32: error: 'page' is unavailable in macOS
68 |                     }
69 |                 }
70 |                 .tabViewStyle(.page)
   |                                `- error: 'page' is unavailable in macOS
71 |                 .tabItem {
72 |                     Text("Standard")
SwiftUI.TabViewStyle:4:23: note: 'page' has been explicitly marked unavailable here
2 | @available(macOS, unavailable)
3 | extension TabViewStyle where Self == PageTabViewStyle {
4 |     public static var page: PageTabViewStyle { get }
  |                       `- note: 'page' has been explicitly marked unavailable here
5 |     public static func page(indexDisplayMode: PageTabViewStyle.IndexDisplayMode) -> PageTabViewStyle
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:71:18: error: 'tabItem' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
69 |                 }
70 |                 .tabViewStyle(.page)
71 |                 .tabItem {
   |                  |- error: 'tabItem' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
72 |                     Text("Standard")
73 |                         .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:72:21: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
70 |                 .tabViewStyle(.page)
71 |                 .tabItem {
72 |                     Text("Standard")
   |                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                     `- note: add 'if #available' version check
73 |                         .font(.title)
74 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:72:21: error: 'Text' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
70 |                 .tabViewStyle(.page)
71 |                 .tabItem {
72 |                     Text("Standard")
   |                     |- error: 'Text' is only available in macOS 10.15 or newer
   |                     `- note: add 'if #available' version check
73 |                         .font(.title)
74 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:73:26: error: 'font' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
71 |                 .tabItem {
72 |                     Text("Standard")
73 |                         .font(.title)
   |                          |- error: 'font' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
74 |                 }
75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:73:32: error: 'title' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
71 |                 .tabItem {
72 |                     Text("Standard")
73 |                         .font(.title)
   |                                |- error: 'title' is only available in macOS 10.15 or newer
   |                                `- note: add 'if #available' version check
74 |                 }
75 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:71:26: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
41 |
42 |         var body: some View {
   |             `- note: add @available attribute to enclosing property
43 |             TabView {
44 |                 PageView(selection: $selection, indexAlignment: .bottomLeading, indexPadding: 40.0) {
   :
69 |                 }
70 |                 .tabViewStyle(.page)
71 |                 .tabItem {
   |                          |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                          `- note: add 'if #available' version check
72 |                     Text("Standard")
73 |                         .font(.title)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:144: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:150: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                         `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:158: error: 'opacity' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                 `- error: 'opacity' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:226: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                                                                                     `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:79:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   :
76 |         }
77 |
78 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
79 |             ForEach(previewColors) { color in
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
80 |                 color
81 |                     .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:79:13: error: 'ForEach' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   :
76 |         }
77 |
78 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
79 |             ForEach(previewColors) { color in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
80 |                 color
81 |                     .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:79:13: error: 'init(_:content:)' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   :
76 |         }
77 |
78 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
79 |             ForEach(previewColors) { color in
   |             |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
80 |                 color
81 |                     .tag(color)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/PageView.swift:81:22: error: 'tag' is only available in macOS 10.15 or newer
36 |
37 | struct PageView_Previews: PreviewProvider {
38 |     struct ExampleView: View {
   |            `- note: add @available attribute to enclosing struct
39 |         @State private var selection = previewColors.first!
40 |         @State var showNormal = false
   :
76 |         }
77 |
78 |         var content: some View {
   |             `- note: add @available attribute to enclosing property
79 |             ForEach(previewColors) { color in
80 |                 color
81 |                     .tag(color)
   |                      |- error: 'tag' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
82 |             }
83 |         }
[6/6] Compiling PageView DotsIndexView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |
11 |     let pages: [SelectionValue]
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:15:19: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
13 |     let dotSize: CGFloat
14 |     let dotSpacing: CGFloat
15 |     let dotColor: Color
   |                   `- error: 'Color' is only available in macOS 10.15 or newer
16 |
17 |     let selectedScale: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:18:24: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
16 |
17 |     let selectedScale: CGFloat
18 |     let selectedColor: Color
   |                        `- error: 'Color' is only available in macOS 10.15 or newer
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:28: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |               `- error: 'Binding' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:136: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                           `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:217: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                                                                            `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:144: error: 'Color' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                   `- error: 'Color' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:150: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                         `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:158: error: 'opacity' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                 `- error: 'opacity' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:20:226: error: 'primary' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
18 |     let selectedColor: Color
19 |
20 |     public init(selection: Binding<SelectionValue>, pages: [SelectionValue], dotSize: CGFloat = 8, dotSpacing: CGFloat = 10, dotColor: Color = Color.primary.opacity(0.2), selectedScale: CGFloat = 1.0, selectedColor: Color = .primary) {
   |            |                                                                                                                                                                                                                     `- error: 'primary' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
21 |         _selection = selection
22 |         self.pages = pages
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:30:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:33:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
   |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
34 |             ForEach(indices, id: \.self) { index in
35 |                 Circle()
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:33:16: error: 'HStack' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
   |                |- error: 'HStack' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
34 |             ForEach(indices, id: \.self) { index in
35 |                 Circle()
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:33:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
   |                |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                `- note: add 'if #available' version check
34 |             ForEach(indices, id: \.self) { index in
35 |                 Circle()
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:33:44: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
   |                                            |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                            `- note: add 'if #available' version check
34 |             ForEach(indices, id: \.self) { index in
35 |                 Circle()
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:34:13: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
34 |             ForEach(indices, id: \.self) { index in
   |             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |             `- note: add 'if #available' version check
35 |                 Circle()
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:34:13: error: 'ForEach' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
34 |             ForEach(indices, id: \.self) { index in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |                 Circle()
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:34:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
34 |             ForEach(indices, id: \.self) { index in
   |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
35 |                 Circle()
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:34:42: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
34 |             ForEach(indices, id: \.self) { index in
   |                                          |- warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                          `- note: add 'if #available' version check
35 |                 Circle()
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:35:17: error: 'Circle' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
34 |             ForEach(indices, id: \.self) { index in
35 |                 Circle()
   |                 |- error: 'Circle' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
37 |                     .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:36:22: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
34 |             ForEach(indices, id: \.self) { index in
35 |                 Circle()
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
   |                      |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
   |                      `- note: add 'if #available' version check
37 |                     .contentShape(Rectangle())
38 |                     .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:37:22: error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
35 |                 Circle()
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
37 |                     .contentShape(Rectangle())
   |                      |- error: 'contentShape(_:eoFill:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
38 |                     .onTapGesture {
39 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:37:35: error: 'Rectangle' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
35 |                 Circle()
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
37 |                     .contentShape(Rectangle())
   |                                   |- error: 'Rectangle' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
38 |                     .onTapGesture {
39 |                         withAnimation {
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:38:22: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
36 |                     .fill(index == selectedIndex ? selectedColor : dotColor)
37 |                     .contentShape(Rectangle())
38 |                     .onTapGesture {
   |                      |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
39 |                         withAnimation {
40 |                             selection = pages[index]
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:39:25: error: 'withAnimation' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
37 |                     .contentShape(Rectangle())
38 |                     .onTapGesture {
39 |                         withAnimation {
   |                         |- error: 'withAnimation' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
40 |                             selection = pages[index]
41 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:40:29: error: setter for 'selection' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
38 |                     .onTapGesture {
39 |                         withAnimation {
40 |                             selection = pages[index]
   |                             |- error: setter for 'selection' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
41 |                         }
42 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:43:22: error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
41 |                         }
42 |                     }
43 |                     .scaleEffect(index == selectedIndex ? selectedScale : 1.0)
   |                      |- error: 'scaleEffect(_:anchor:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
44 |                     .frame(width: dotSize, height: dotSize)
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:44:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
42 |                     }
43 |                     .scaleEffect(index == selectedIndex ? selectedScale : 1.0)
44 |                     .frame(width: dotSize, height: dotSize)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
46 |                     .id(index)
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:45:22: error: 'transition' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
43 |                     .scaleEffect(index == selectedIndex ? selectedScale : 1.0)
44 |                     .frame(width: dotSize, height: dotSize)
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
   |                      |- error: 'transition' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
46 |                     .id(index)
47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:45:33: error: 'AnyTransition' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
43 |                     .scaleEffect(index == selectedIndex ? selectedScale : 1.0)
44 |                     .frame(width: dotSize, height: dotSize)
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
   |                                 |- error: 'AnyTransition' is only available in macOS 10.15 or newer
   |                                 `- note: add 'if #available' version check
46 |                     .id(index)
47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:45:47: error: 'opacity' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
43 |                     .scaleEffect(index == selectedIndex ? selectedScale : 1.0)
44 |                     .frame(width: dotSize, height: dotSize)
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
   |                                               |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                               `- note: add 'if #available' version check
46 |                     .id(index)
47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:45:55: error: 'combined(with:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
43 |                     .scaleEffect(index == selectedIndex ? selectedScale : 1.0)
44 |                     .frame(width: dotSize, height: dotSize)
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
   |                                                       |- error: 'combined(with:)' is only available in macOS 10.15 or newer
   |                                                       `- note: add 'if #available' version check
46 |                     .id(index)
47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:45:71: error: 'scale' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
43 |                     .scaleEffect(index == selectedIndex ? selectedScale : 1.0)
44 |                     .frame(width: dotSize, height: dotSize)
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
   |                                                                       |- error: 'scale' is only available in macOS 10.15 or newer
   |                                                                       `- note: add 'if #available' version check
46 |                     .id(index)
47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:46:22: error: 'id' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
   :
44 |                     .frame(width: dotSize, height: dotSize)
45 |                     .transition(AnyTransition.opacity.combined(with: .scale))
46 |                     .id(index)
   |                      |- error: 'id' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
47 |             }
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/PageView/DotsIndexView.swift:33:44: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 6 | import SwiftUI
 7 |
 8 | public struct DotsIndexView<SelectionValue>: View where SelectionValue: Hashable {
   |               `- note: add @available attribute to enclosing generic struct
 9 |     @Binding var selection: SelectionValue
10 |
   :
28 |     }
29 |
30 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
31 |         let selectedIndex = pages.firstIndex(of: selection)
32 |         let indices = 0 ..< pages.count
33 |         return HStack(spacing: dotSpacing) {
   |                                            |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                            `- note: add 'if #available' version check
34 |             ForEach(indices, id: \.self) { index in
35 |                 Circle()
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.