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

The Swift Package Index logo.Swift Package Index

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

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukepistrol/MasonryStack.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lukepistrol/MasonryStack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 95a7224 Update FUNDING.yml
Cloned https://github.com/lukepistrol/MasonryStack.git
Revision (git rev-parse @):
95a7224255c4392d9148b71a64ba73f3aca2b2e3
SUCCESS checkout https://github.com/lukepistrol/MasonryStack.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lukepistrol/MasonryStack.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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
[4/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
[5/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
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.