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 MijickGridView, reference 0.3.0 (65d279), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 18:47:41 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "gridview",
      "name": "MijickGridView",
      "url": "https://github.com/Mijick/GridView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GridView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Mijick/GridView.git
[1/800] Fetching gridview
Fetched https://github.com/Mijick/GridView.git from cache (0.81s)
Creating working copy for https://github.com/Mijick/GridView.git
Working copy of https://github.com/Mijick/GridView.git resolved at 0.3.0 (65d279d)
warning: '.resolve-product-dependencies': dependency 'gridview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Mijick/GridView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/17] Compiling MijickGridView Public+InsertionPolicy.swift
[4/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)) },
[5/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 | }
[6/18] Compiling MijickGridView Array++.swift
[7/18] Compiling MijickGridView Int++.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/18] Compiling MijickGridView Matrix.Item.swift
[9/18] Compiling MijickGridView Matrix.Position.swift
[10/18] Compiling MijickGridView Matrix.Range.swift
[11/18] Compiling MijickGridView Matrix.swift
[12/18] Compiling MijickGridView Public+GridViewConfig.swift
[13/18] 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 | }
[14/18] 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: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:34:72: warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |                                                                        `- warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:37: warning: call to main actor-isolated instance method 'handleTopAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |                                     `- warning: call to main actor-isolated instance method 'handleTopAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
    :
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          `- note: calls to instance method 'handleTopAlignmentGuide' from outside of its actor context are implicitly asynchronous
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:80: warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |                                                                                `- warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:41: warning: call to main actor-isolated instance method 'handleLeadingAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |                                         `- warning: call to main actor-isolated instance method 'handleLeadingAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
    :
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          `- note: calls to instance method 'handleLeadingAlignmentGuide' from outside of its actor context are implicitly asynchronous
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/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 {
[15/18] 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: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:34:72: warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |                                                                        `- warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:37: warning: call to main actor-isolated instance method 'handleTopAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 32 |             .readHeight { saveHeight($0, index) }
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
    |                                     `- warning: call to main actor-isolated instance method 'handleTopAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
    :
 47 | // MARK: - Vertical Alignment
 48 | private extension GridView {
 49 |     func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          `- note: calls to instance method 'handleTopAlignmentGuide' from outside of its actor context are implicitly asynchronous
 50 |         insertItem(index, dimensions.height)
 51 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:80: warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |                                                                                `- warning: capture of 'reader' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
SwiftUICore.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
 2 | public struct GeometryProxy {
   |               `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
 3 |     public var size: CGSize { get }
 4 |     public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:41: warning: call to main actor-isolated instance method 'handleLeadingAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 33 |             .fixedSize(horizontal: false, vertical: true)
 34 |             .alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
 35 |             .alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
    |                                         `- warning: call to main actor-isolated instance method 'handleLeadingAlignmentGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 36 |             .frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
 37 |     }
    :
 72 | // MARK: - Horizontal Alignment
 73 | private extension GridView {
 74 |     func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
    |          `- note: calls to instance method 'handleLeadingAlignmentGuide' from outside of its actor context are implicitly asynchronous
 75 |         let availableWidth = reader.size.width
 76 |         let itemPadding = calculateItemLeadingPadding(index, availableWidth)
/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 {
[16/18] 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 | }
[17/18] 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 | }
[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.0 macosSpm