The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build MasonryStack, reference 0.1.0 (d09017), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 13:52:02 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukepistrol/MasonryStack.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lukepistrol/MasonryStack
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at d090171 make stacks public
Cloned https://github.com/lukepistrol/MasonryStack.git
Revision (git rev-parse @):
d0901713a72febe9bee7b8db5af6fb5d63362ab8
SUCCESS checkout https://github.com/lukepistrol/MasonryStack.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lukepistrol/MasonryStack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling MasonryStack MasonryHStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:21:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
18 |     }
19 |
20 |     public func sizeThatFits(
   |                 `- note: add @available attribute to enclosing instance method
21 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
22 |         subviews: Subviews,
23 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:30:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
26 |     }
27 |
28 |     public func placeSubviews(
   |                 `- note: add @available attribute to enclosing instance method
29 |         in bounds: CGRect,
30 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
31 |         subviews: Subviews,
32 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:40:22: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
36 |
37 |     @discardableResult
38 |     private func calculateSize(
   |                  `- note: add @available attribute to enclosing instance method
39 |         for subviews: Subviews,
40 |         in proposal: ProposedViewSize,
   |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
41 |         placeInBounds bounds: CGRect? = nil
42 |     ) -> CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:81:41: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
79 |     }
80 |
81 |     public static var layoutProperties: LayoutProperties {
   |                       |                 `- error: 'LayoutProperties' is only available in macOS 13.0 or newer
   |                       `- note: add @available attribute to enclosing static property
82 |         var properties = LayoutProperties()
83 |         properties.stackOrientation = .horizontal
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:50:28: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
36 |
37 |     @discardableResult
38 |     private func calculateSize(
   |                  `- note: add @available attribute to enclosing instance method
39 |         for subviews: Subviews,
40 |         in proposal: ProposedViewSize,
   :
48 |
49 |         subviews.forEach { view in
50 |             let proposed = ProposedViewSize(
   |                            |- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
51 |                 width: view.sizeThatFits(.unspecified).width,
52 |                 height: itemHeight
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:82:26: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
79 |     }
80 |
81 |     public static var layoutProperties: LayoutProperties {
   |                       `- note: add @available attribute to enclosing static property
82 |         var properties = LayoutProperties()
   |                          |- error: 'LayoutProperties' is only available in macOS 13.0 or newer
   |                          `- note: add 'if #available' version check
83 |         properties.stackOrientation = .horizontal
84 |         return properties
[4/5] Emitting module MasonryStack
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:21:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
18 |     }
19 |
20 |     public func sizeThatFits(
   |                 `- note: add @available attribute to enclosing instance method
21 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
22 |         subviews: Subviews,
23 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:30:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
26 |     }
27 |
28 |     public func placeSubviews(
   |                 `- note: add @available attribute to enclosing instance method
29 |         in bounds: CGRect,
30 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
31 |         subviews: Subviews,
32 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:40:22: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
36 |
37 |     @discardableResult
38 |     private func calculateSize(
   |                  `- note: add @available attribute to enclosing instance method
39 |         for subviews: Subviews,
40 |         in proposal: ProposedViewSize,
   |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
41 |         placeInBounds bounds: CGRect? = nil
42 |     ) -> CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryHStack.swift:81:41: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryHStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var rows: Int
   :
79 |     }
80 |
81 |     public static var layoutProperties: LayoutProperties {
   |                       |                 `- error: 'LayoutProperties' is only available in macOS 13.0 or newer
   |                       `- note: add @available attribute to enclosing static property
82 |         var properties = LayoutProperties()
83 |         properties.stackOrientation = .horizontal
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:21:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
18 |     }
19 |
20 |     public func sizeThatFits(
   |                 `- note: add @available attribute to enclosing instance method
21 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
22 |         subviews: Subviews,
23 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:30:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
26 |     }
27 |
28 |     public func placeSubviews(
   |                 `- note: add @available attribute to enclosing instance method
29 |         in bounds: CGRect,
30 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
31 |         subviews: Subviews,
32 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:40:22: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
36 |
37 |     @discardableResult
38 |     private func calculateSize(
   |                  `- note: add @available attribute to enclosing instance method
39 |         for subviews: Subviews,
40 |         in proposal: ProposedViewSize,
   |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
41 |         placeInBounds bounds: CGRect? = nil
42 |     ) -> CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:81:41: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
79 |     }
80 |
81 |     public static var layoutProperties: LayoutProperties {
   |                       |                 `- error: 'LayoutProperties' is only available in macOS 13.0 or newer
   |                       `- note: add @available attribute to enclosing static property
82 |         var properties = LayoutProperties()
83 |         properties.stackOrientation = .vertical
[5/5] Compiling MasonryStack MasonryVStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:21:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
18 |     }
19 |
20 |     public func sizeThatFits(
   |                 `- note: add @available attribute to enclosing instance method
21 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
22 |         subviews: Subviews,
23 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:30:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
26 |     }
27 |
28 |     public func placeSubviews(
   |                 `- note: add @available attribute to enclosing instance method
29 |         in bounds: CGRect,
30 |         proposal: ProposedViewSize,
   |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
31 |         subviews: Subviews,
32 |         cache: inout ()
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:40:22: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
36 |
37 |     @discardableResult
38 |     private func calculateSize(
   |                  `- note: add @available attribute to enclosing instance method
39 |         for subviews: Subviews,
40 |         in proposal: ProposedViewSize,
   |                      `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
41 |         placeInBounds bounds: CGRect? = nil
42 |     ) -> CGSize {
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:81:41: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
79 |     }
80 |
81 |     public static var layoutProperties: LayoutProperties {
   |                       |                 `- error: 'LayoutProperties' is only available in macOS 13.0 or newer
   |                       `- note: add @available attribute to enclosing static property
82 |         var properties = LayoutProperties()
83 |         properties.stackOrientation = .vertical
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:50:28: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
36 |
37 |     @discardableResult
38 |     private func calculateSize(
   |                  `- note: add @available attribute to enclosing instance method
39 |         for subviews: Subviews,
40 |         in proposal: ProposedViewSize,
   :
48 |
49 |         subviews.forEach { view in
50 |             let proposed = ProposedViewSize(
   |                            |- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
   |                            `- note: add 'if #available' version check
51 |                 width: itemWidth,
52 |                 height: view.sizeThatFits(.unspecified).height
/Users/admin/builder/spi-builder-workspace/Sources/MasonryStack/MasonryVStack.swift:82:26: error: 'LayoutProperties' is only available in macOS 13.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct MasonryVStack: Layout {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private var columns: Int
   :
79 |     }
80 |
81 |     public static var layoutProperties: LayoutProperties {
   |                       `- note: add @available attribute to enclosing static property
82 |         var properties = LayoutProperties()
   |                          |- error: 'LayoutProperties' is only available in macOS 13.0 or newer
   |                          `- note: add 'if #available' version check
83 |         properties.stackOrientation = .vertical
84 |         return properties
BUILD FAILURE 6.2 macosSpm