The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MijickGridView, reference 0.3.0 (65d279), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 16:27:24 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mijick/GridView.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mijick/GridView
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 65d279d Initial Commit
Cloned https://github.com/Mijick/GridView.git
Revision (git rev-parse @):
65d279df121b3d3f8d1065a21e9c96dc5e9e1eac
SUCCESS checkout https://github.com/Mijick/GridView.git at 0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Mijick/GridView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/17] Compiling MijickGridView Public+InsertionPolicy.swift
[4/17] Compiling MijickGridView Matrix.Range.swift
[5/17] Compiling MijickGridView Matrix.swift
[6/17] Compiling MijickGridView Public+GridView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - Initialisers
15 | extension GridView {
   | `- note: add @available attribute to enclosing extension
16 |     public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
   |            |                                                                                              `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         matrix: .init(configBuilder(.init())),
18 |         elements: data.map { .init(content($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - Initialisers
15 | extension GridView {
   | `- note: add @available attribute to enclosing extension
16 |     public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
   |            |                                                                                                                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         matrix: .init(configBuilder(.init())),
18 |         elements: data.map { .init(content($0)) },
[7/17] Emitting module MijickGridView
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |     let columns: Int
17 |     private let _body: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
17 |     private let _body: AnyView
   |                        `- error: 'AnyView' is only available in macOS 10.15 or newer
18 |
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
18 |
19 |
20 |     var body: some View { _body }
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     |                    `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     |                    `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 | }
26 | private extension AnyGridElement {
   |         `- note: add @available attribute to enclosing extension
27 |     static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
   |                 |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing static method
28 |         if let element = element as? any GridElement { return element.columns }
29 |         return numberOfColumns ?? 1
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 | }
26 | private extension AnyGridElement {
   |         `- note: add @available attribute to enclosing extension
27 |     static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
   |                 |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing static method
28 |         if let element = element as? any GridElement { return element.columns }
29 |         return numberOfColumns ?? 1
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
   |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
17 |
18 | // MARK: - Implementation
19 | fileprivate struct Modifier: ViewModifier {
   |                    `- note: add @available attribute to enclosing struct
20 |     let onHeightChange: (CGFloat) -> ()
21 |
22 |     func body(content: Content) -> some View { content
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |         .background(
24 |             GeometryReader { geo -> Color in
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     var elements: [AnyGridElement]
 17 |     var config: Config
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          |                                  `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          |                                                         `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
 46 |
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                   `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 46 |
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                                             `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
 71 |
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                       `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 71 |
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                                                 `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - Initialisers
15 | extension GridView {
   | `- note: add @available attribute to enclosing extension
16 |     public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
   |            |                                                                                              `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         matrix: .init(configBuilder(.init())),
18 |         elements: data.map { .init(content($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
13 |
14 | // MARK: - Initialisers
15 | extension GridView {
   | `- note: add @available attribute to enclosing extension
16 |     public init<Data: RandomAccessCollection, ID: Hashable>(_ data: Data, id: KeyPath<Data.Element, ID>, @ViewBuilder content: @escaping (Data.Element) -> any View, configBuilder: (Config) -> Config = { $0 }) { self.init(
   |            |                                                                                                                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
17 |         matrix: .init(configBuilder(.init())),
18 |         elements: data.map { .init(content($0)) },
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
15 |     func columns(_ value: Int) -> some GridElement { AnyGridElement(self, numberOfColumns: value) }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | public protocol GridElement: View {
   |                 |            `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
15 |     var columns: Int { get }
16 | }
[8/17] Compiling MijickGridView Matrix.Item.swift
[9/17] Compiling MijickGridView Matrix.Position.swift
[10/17] Compiling MijickGridView Public+GridViewConfig.swift
[11/17] Compiling MijickGridView Public+View.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | public extension View {
   |        |         `- error: 'View' is only available in macOS 10.15 or newer
   |        `- note: add @available attribute to enclosing extension
15 |     func columns(_ value: Int) -> some GridElement { AnyGridElement(self, numberOfColumns: value) }
16 | }
[12/17] Compiling MijickGridView Array++.swift
[13/17] Compiling MijickGridView Int++.swift
[14/17] Compiling MijickGridView AnyGridElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |     let columns: Int
17 |     private let _body: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
17 |     private let _body: AnyView
   |                        `- error: 'AnyView' is only available in macOS 10.15 or newer
18 |
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
18 |
19 |
20 |     var body: some View { _body }
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     |                    `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     |                    `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 | }
26 | private extension AnyGridElement {
   |         `- note: add @available attribute to enclosing extension
27 |     static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
   |                 |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing static method
28 |         if let element = element as? any GridElement { return element.columns }
29 |         return numberOfColumns ?? 1
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 | }
26 | private extension AnyGridElement {
   |         `- note: add @available attribute to enclosing extension
27 |     static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
   |                 |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing static method
28 |         if let element = element as? any GridElement { return element.columns }
29 |         return numberOfColumns ?? 1
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
   |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
24 |     }
25 | }
[15/17] Compiling MijickGridView Configurable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |     let columns: Int
17 |     private let _body: AnyView
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
17 |     private let _body: AnyView
   |                        `- error: 'AnyView' is only available in macOS 10.15 or newer
18 |
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
18 |
19 |
20 |     var body: some View { _body }
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     |                    `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     |                    `- error: 'View' is only available in macOS 10.15 or newer
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 | }
26 | private extension AnyGridElement {
   |         `- note: add @available attribute to enclosing extension
27 |     static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
   |                 |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing static method
28 |         if let element = element as? any GridElement { return element.columns }
29 |         return numberOfColumns ?? 1
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
24 |     }
25 | }
26 | private extension AnyGridElement {
   |         `- note: add @available attribute to enclosing extension
27 |     static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
   |                 |                                  `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing static method
28 |         if let element = element as? any GridElement { return element.columns }
29 |         return numberOfColumns ?? 1
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | struct AnyGridElement: GridElement {
   |        `- note: add @available attribute to enclosing struct
15 |     @State var height: CGFloat? = nil
16 |     let columns: Int
   :
19 |
20 |     var body: some View { _body }
21 |     init(_ element: some View, numberOfColumns: Int? = nil) {
   |     `- note: add @available attribute to enclosing initializer
22 |         self.columns = Self.getNumberOfColumns(element, numberOfColumns)
23 |         self._body = AnyView(element)
   |                      |- error: 'AnyView' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
24 |     }
25 | }
[16/17] Compiling MijickGridView HeightReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
   |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
17 |
18 | // MARK: - Implementation
19 | fileprivate struct Modifier: ViewModifier {
   |                    `- note: add @available attribute to enclosing struct
20 |     let onHeightChange: (CGFloat) -> ()
21 |
22 |     func body(content: Content) -> some View { content
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |         .background(
24 |             GeometryReader { geo -> Color in
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | import SwiftUI
13 |
14 | extension View {
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
   |          |                                                                     |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
   |          `- note: add @available attribute to enclosing instance method
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: error: 'modifier' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
   |          |                                                                     |- error: 'modifier' is only available in macOS 10.15 or newer
   |          |                                                                     `- note: add 'if #available' version check
   |          `- note: add @available attribute to enclosing instance method
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
24 |             GeometryReader { geo -> Color in
25 |                 DispatchQueue.main.async { onHeightChange(geo.size.height) }
26 |                 return Color.clear
   |                 |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
   |                 `- note: remove 'return' statements to apply the result builder
27 |             }
28 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     var elements: [AnyGridElement]
 17 |     var config: Config
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          |                                  `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          |                                                         `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
 46 |
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                   `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 46 |
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                                             `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
 71 |
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                       `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 71 |
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                                                 `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |             |- 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
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: error: 'ZStack' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |             |- 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
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:32: error: 'topLeading' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |                                |- error: 'topLeading' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
    |                 |- 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
 24 |             }
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'ForEach' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 24 |             }
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 24 |             }
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |                                            |- 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
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    :
 24 |             }
 25 |         }
 26 |         .frame(height: calculateContentHeight())
    |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 27 |     }
 28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
    |              |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |              |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: error: 'top' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |                              |- error: 'top' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |              |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: error: 'leading' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |                              |- error: 'leading' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
    :
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 37 |     }
 38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: error: setter for 'height' is only available in macOS 10.15 or newer
 39 |
 40 | // MARK: - Reading Height
 41 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 42 |     func saveHeight(_ value: CGFloat, _ index: Int) {
    |          `- note: add @available attribute to enclosing instance method
 43 |         elements[index].height = value
    |         |- error: setter for 'height' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 44 |     }
 45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: error: cannot pass as inout because setter for 'matrix' is only available in macOS 10.15 or newer
 54 |     }
 55 | }
 56 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 57 |     func insertItem(_ index: Int, _ value: CGFloat) { DispatchQueue.main.async {
    |          `- note: add @available attribute to enclosing instance method
 58 |         let item = Matrix.Item(index: index, value: value, columns: elements[index].columns)
 59 |         matrix.insert(item, isLast: index == elements.count - 1)
    |         |- error: cannot pass as inout because setter for 'matrix' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 60 |     }}
 61 |     func getTopPaddingValue(_ index: Int) -> CGFloat {
[17/17] Compiling MijickGridView GridView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
   |          |                                                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
17 |
18 | // MARK: - Implementation
19 | fileprivate struct Modifier: ViewModifier {
   |                    `- note: add @available attribute to enclosing struct
20 |     let onHeightChange: (CGFloat) -> ()
21 |
22 |     func body(content: Content) -> some View { content
   |          |                              `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
23 |         .background(
24 |             GeometryReader { geo -> Color in
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | import SwiftUI
13 |
14 | extension View {
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
   |          |                                                                     |- warning: conformance of 'ModifiedContent<Content, Modifier>' 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
   |          `- note: add @available attribute to enclosing instance method
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: error: 'modifier' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | extension View {
   | `- note: add @available attribute to enclosing extension
15 |     func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
   |          |                                                                     |- error: 'modifier' is only available in macOS 10.15 or newer
   |          |                                                                     `- note: add 'if #available' version check
   |          `- note: add @available attribute to enclosing instance method
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
24 |             GeometryReader { geo -> Color in
25 |                 DispatchQueue.main.async { onHeightChange(geo.size.height) }
26 |                 return Color.clear
   |                 |- error: cannot use explicit 'return' statement in the body of result builder 'ViewBuilder'
   |                 `- note: remove 'return' statements to apply the result builder
27 |             }
28 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |     var elements: [AnyGridElement]
 17 |     var config: Config
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          |                                  `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          |                                                         `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
 46 |
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                   `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 46 |
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                                             `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
 71 |
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                       `- error: 'ViewDimensions' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
 71 |
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          |                                                                                 `- error: 'GeometryProxy' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
    |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |             |- 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
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: error: 'ZStack' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |             |- 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
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:32: error: 'topLeading' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |                                |- error: 'topLeading' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
    |                 |- 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
 24 |             }
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'ForEach' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 24 |             }
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 24 |             }
 25 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22: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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    |                                            |- 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
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
 24 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:24: 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
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader 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
 22 |             ZStack(alignment: .topLeading) {
 23 |                 ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 12 | import SwiftUI
 13 |
 14 | public struct GridView: View {
    |               `- note: add @available attribute to enclosing struct
 15 |     @State var matrix: Matrix
 16 |     var elements: [AnyGridElement]
    :
 18 |
 19 |
 20 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 21 |         GeometryReader { reader in
 22 |             ZStack(alignment: .topLeading) {
    :
 24 |             }
 25 |         }
 26 |         .frame(height: calculateContentHeight())
    |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 27 |     }
 28 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
    |              |- error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |              |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: error: 'top' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |                              |- error: 'top' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |              |- error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: error: 'leading' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |                              |- error: 'leading' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 27 |     }
 28 | }
 29 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 30 |     func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
    |          `- note: add @available attribute to enclosing instance method
 31 |         elements[index]
 32 |             .readHeight { saveHeight($0, index) }
    :
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
    |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
 37 |     }
 38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: error: setter for 'height' is only available in macOS 10.15 or newer
 39 |
 40 | // MARK: - Reading Height
 41 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 42 |     func saveHeight(_ value: CGFloat, _ index: Int) {
    |          `- note: add @available attribute to enclosing instance method
 43 |         elements[index].height = value
    |         |- error: setter for 'height' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 44 |     }
 45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: error: cannot pass as inout because setter for 'matrix' is only available in macOS 10.15 or newer
 54 |     }
 55 | }
 56 | private extension GridView {
    |         `- note: add @available attribute to enclosing extension
 57 |     func insertItem(_ index: Int, _ value: CGFloat) { DispatchQueue.main.async {
    |          `- note: add @available attribute to enclosing instance method
 58 |         let item = Matrix.Item(index: index, value: value, columns: elements[index].columns)
 59 |         matrix.insert(item, isLast: index == elements.count - 1)
    |         |- error: cannot pass as inout because setter for 'matrix' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 60 |     }}
 61 |     func getTopPaddingValue(_ index: Int) -> CGFloat {
[18/18] Compiling MijickGridView Public+GridElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
12 | import SwiftUI
13 |
14 | public protocol GridElement: View {
   |                 |            `- error: 'View' is only available in macOS 10.15 or newer
   |                 `- note: add @available attribute to enclosing protocol
15 |     var columns: Int { get }
16 | }
BUILD FAILURE 6.2 macosSpm