Build Information
Failed to build MijickGridView with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mijick/GridView.git
Reference: 0.3.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Mijick/GridView
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at 65d279d Initial Commit
Cloned https://github.com/Mijick/GridView.git
Revision (git rev-parse @):
65d279df121b3d3f8d1065a21e9c96dc5e9e1eac
SUCCESS checkout https://github.com/Mijick/GridView.git at 0.3.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $workDir
https://github.com/Mijick/GridView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/17] Compiling MijickGridView Public+GridViewConfig.swift
[4/17] Compiling MijickGridView Public+InsertionPolicy.swift
[5/17] Compiling MijickGridView AnyGridElement.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
self._body = AnyView(element)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: note: add 'if #available' version check
self._body = AnyView(element)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
[6/17] Compiling MijickGridView Configurable.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
self._body = AnyView(element)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: note: add 'if #available' version check
self._body = AnyView(element)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
[7/17] Compiling MijickGridView HeightReader.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: error: 'modifier' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: note: add 'if #available' version check
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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'
return Color.clear
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:32: error: 'topLeading' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.frame(height: calculateContentHeight())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: note: add 'if #available' version check
.frame(height: calculateContentHeight())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
.fixedSize(horizontal: false, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: note: add 'if #available' version check
.fixedSize(horizontal: false, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: error: 'top' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: error: 'leading' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: note: add 'if #available' version check
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: error: setter for 'height' is only available in macOS 10.15 or newer
elements[index].height = value
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: note: add 'if #available' version check
elements[index].height = value
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:42:10: note: add @available attribute to enclosing instance method
func saveHeight(_ value: CGFloat, _ index: Int) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:41:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: note: add 'if #available' version check
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:57:10: note: add @available attribute to enclosing instance method
func insertItem(_ index: Int, _ value: CGFloat) { DispatchQueue.main.async {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:56:9: note: add @available attribute to enclosing extension
private extension GridView {
^
[8/17] Compiling MijickGridView GridView.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: error: 'modifier' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: note: add 'if #available' version check
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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'
return Color.clear
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:32: error: 'topLeading' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.frame(height: calculateContentHeight())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: note: add 'if #available' version check
.frame(height: calculateContentHeight())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
.fixedSize(horizontal: false, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: note: add 'if #available' version check
.fixedSize(horizontal: false, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: error: 'top' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: error: 'leading' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: note: add 'if #available' version check
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: error: setter for 'height' is only available in macOS 10.15 or newer
elements[index].height = value
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: note: add 'if #available' version check
elements[index].height = value
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:42:10: note: add @available attribute to enclosing instance method
func saveHeight(_ value: CGFloat, _ index: Int) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:41:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: note: add 'if #available' version check
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:57:10: note: add @available attribute to enclosing instance method
func insertItem(_ index: Int, _ value: CGFloat) { DispatchQueue.main.async {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:56:9: note: add @available attribute to enclosing extension
private extension GridView {
^
[9/17] Compiling MijickGridView Public+GridView.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
[10/17] Compiling MijickGridView Public+View.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/18] Compiling MijickGridView Matrix.Range.swift
[12/18] Compiling MijickGridView Matrix.swift
[13/18] Compiling MijickGridView Matrix.Item.swift
[14/18] Compiling MijickGridView Matrix.Position.swift
[15/18] Compiling MijickGridView Array++.swift
[16/18] Compiling MijickGridView Int++.swift
[17/18] Emitting module MijickGridView
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
public protocol GridElement: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:17: note: add @available attribute to enclosing protocol
public protocol GridElement: View {
^
[18/18] Compiling MijickGridView Public+GridElement.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
public protocol GridElement: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:17: note: add @available attribute to enclosing protocol
public protocol GridElement: View {
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/9] Compiling MijickGridView Public+View.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
[3/9] Compiling MijickGridView Public+GridView.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
[4/9] Compiling MijickGridView Public+GridElement.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
public protocol GridElement: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:17: note: add @available attribute to enclosing protocol
public protocol GridElement: View {
^
[5/9] Compiling MijickGridView Configurable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Emitting module MijickGridView
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:107: error: 'ViewBuilder' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:160: error: 'View' is only available in macOS 10.15 or newer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:16:12: note: add @available attribute to enclosing initializer
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(
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+GridView.swift:15:1: note: add @available attribute to enclosing extension
extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:18: error: 'View' is only available in macOS 10.15 or newer
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:14:8: note: add @available attribute to enclosing extension
public extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:30: error: 'View' is only available in macOS 10.15 or newer
public protocol GridElement: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Public/Protocols/Public+GridElement.swift:14:17: note: add @available attribute to enclosing protocol
public protocol GridElement: View {
^
[7/9] Compiling MijickGridView HeightReader.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:73: error: 'View' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:11: error: 'View' is only available in macOS 10.15 or newer
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:41: error: 'View' is only available in macOS 10.15 or newer
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:22:10: note: add @available attribute to enclosing instance method
func body(content: Content) -> some View { content
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:19:20: note: add @available attribute to enclosing struct
fileprivate struct Modifier: ViewModifier {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: error: 'modifier' is only available in macOS 10.15 or newer
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:80: note: add 'if #available' version check
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:15:10: note: add @available attribute to enclosing instance method
func readHeight(onChange action: @escaping (CGFloat) -> ()) -> some View { modifier(Modifier(onHeightChange: action)) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:14:1: note: add @available attribute to enclosing extension
extension View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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'
return Color.clear
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/View Modifiers/HeightReader.swift:26:17: note: remove 'return' statements to apply the result builder
return Color.clear
^~~~~~~
[8/9] Compiling MijickGridView GridView.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var matrix: Matrix
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:27: error: 'View' is only available in macOS 10.15 or newer
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:45: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:68: error: 'View' is only available in macOS 10.15 or newer
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:62: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:88: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:49:10: note: add @available attribute to enclosing instance method
func handleTopAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:48:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:66: error: 'ViewDimensions' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:92: error: 'GeometryProxy' is only available in macOS 10.15 or newer
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:74:10: note: add @available attribute to enclosing instance method
func handleLeadingAlignmentGuide(_ index: Int, _ dimensions: ViewDimensions, _ reader: GeometryProxy) -> CGFloat {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:73:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:21:9: note: add 'if #available' version check
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:13: error: 'ZStack' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:22:32: error: 'topLeading' is only available in macOS 10.15 or newer
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'ForEach' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:23:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
ForEach(0..<elements.count, id: \.self) { createItem($0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
ZStack(alignment: .topLeading) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
GeometryReader { reader in
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.frame(height: calculateContentHeight())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:26:10: note: add 'if #available' version check
.frame(height: calculateContentHeight())
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:20:16: note: add @available attribute to enclosing property
public var body: some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:14:15: note: add @available attribute to enclosing struct
public struct GridView: View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: error: 'fixedSize(horizontal:vertical:)' is only available in macOS 10.15 or newer
.fixedSize(horizontal: false, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:33:14: note: add 'if #available' version check
.fixedSize(horizontal: false, vertical: true)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:14: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: error: 'top' is only available in macOS 10.15 or newer
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:34:30: note: add 'if #available' version check
.alignmentGuide(.top) { handleTopAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: error: 'alignmentGuide(_:computeValue:)' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:14: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: error: 'leading' is only available in macOS 10.15 or newer
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:35:30: note: add 'if #available' version check
.alignmentGuide(.leading) { handleLeadingAlignmentGuide(index, $0, reader) }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:36:14: note: add 'if #available' version check
.frame(width: calculateItemWidth(index, reader.size.width), height: elements[index].height)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:30:10: note: add @available attribute to enclosing instance method
func createItem(_ index: Int, _ reader: GeometryProxy) -> some View {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:29:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: error: setter for 'height' is only available in macOS 10.15 or newer
elements[index].height = value
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:43:9: note: add 'if #available' version check
elements[index].height = value
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:42:10: note: add @available attribute to enclosing instance method
func saveHeight(_ value: CGFloat, _ index: Int) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:41:9: note: add @available attribute to enclosing extension
private extension GridView {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-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
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:59:9: note: add 'if #available' version check
matrix.insert(item, isLast: index == elements.count - 1)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:57:10: note: add @available attribute to enclosing instance method
func insertItem(_ index: Int, _ value: CGFloat) { DispatchQueue.main.async {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Views/GridView.swift:56:9: note: add @available attribute to enclosing extension
private extension GridView {
^
[9/9] Compiling MijickGridView AnyGridElement.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
@State var height: CGFloat? = nil
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:17:24: error: 'AnyView' is only available in macOS 10.15 or newer
private let _body: AnyView
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:20: error: 'View' is only available in macOS 10.15 or newer
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:20:9: note: add @available attribute to enclosing property
var body: some View { _body }
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:26: error: 'View' is only available in macOS 10.15 or newer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:52: error: 'View' is only available in macOS 10.15 or newer
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:27:17: note: add @available attribute to enclosing static method
static func getNumberOfColumns(_ element: some View, _ numberOfColumns: Int?) -> Int {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:26:9: note: add @available attribute to enclosing extension
private extension AnyGridElement {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: error: 'AnyView' is only available in macOS 10.15 or newer
self._body = AnyView(element)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:23:22: note: add 'if #available' version check
self._body = AnyView(element)
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:21:5: note: add @available attribute to enclosing initializer
init(_ element: some View, numberOfColumns: Int? = nil) {
^
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Internal/Other/AnyGridElement.swift:14:8: note: add @available attribute to enclosing struct
struct AnyGridElement: GridElement {
^
[10/14] Compiling MijickGridView Matrix.Range.swift
[11/14] Compiling MijickGridView Matrix.Item.swift
[12/14] Compiling MijickGridView Public+GridViewConfig.swift
[13/14] Compiling MijickGridView Matrix.Position.swift
[14/14] Compiling MijickGridView Matrix.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm