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, reference main (95a722), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 01:15:46 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "masonrystack",
      "name": "MasonryStack",
      "url": "https://github.com/lukepistrol/MasonryStack.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MasonryStack",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/lukepistrol/MasonryStack.git
[3/61] Fetching masonrystack
Fetched https://github.com/lukepistrol/MasonryStack.git from cache (0.65s)
Creating working copy for https://github.com/lukepistrol/MasonryStack.git
Working copy of https://github.com/lukepistrol/MasonryStack.git resolved at main (95a7224)
warning: '.resolve-product-dependencies': dependency 'masonrystack' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/lukepistrol/MasonryStack.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MasonryStack",
  "name" : "MasonryStack",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "MasonryStack",
      "targets" : [
        "MasonryStack"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MasonryStack",
      "module_type" : "SwiftTarget",
      "name" : "MasonryStack",
      "path" : "Sources/MasonryStack",
      "product_memberships" : [
        "MasonryStack"
      ],
      "sources" : [
        "MasonryHStack.swift",
        "MasonryVStack.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 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