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 WrapLayout, reference main (7c89d4), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 05:24:46 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/FluidGroup/swiftui-WrapLayout.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swiftui-WrapLayout
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7c89d42 Update Build.yml
Cloned https://github.com/FluidGroup/swiftui-WrapLayout.git
Revision (git rev-parse @):
7c89d42687a8412985642d667afd85cf48ff9670
SUCCESS checkout https://github.com/FluidGroup/swiftui-WrapLayout.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/FluidGroup/swiftui-WrapLayout.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/4] Emitting module WrapLayout
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:56:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct WrapLayout: Layout {
    |               `- note: add @available attribute to enclosing struct
  4 |
  5 |   public struct CacheStorage {
    :
 53 |   }
 54 |
 55 |   public func sizeThatFits(
    |               `- note: add @available attribute to enclosing instance method
 56 |     proposal: ProposedViewSize,
    |               `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 57 |     subviews: Subviews,
 58 |     cache: inout CacheStorage
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:119:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct WrapLayout: Layout {
    |               `- note: add @available attribute to enclosing struct
  4 |
  5 |   public struct CacheStorage {
    :
115 |   }
116 |
117 |   public func placeSubviews(
    |               `- note: add @available attribute to enclosing instance method
118 |     in bounds: CGRect,
119 |     proposal: ProposedViewSize,
    |               `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
120 |     subviews: Subviews,
121 |     cache: inout CacheStorage
[4/4] Compiling WrapLayout WrapLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:56:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct WrapLayout: Layout {
    |               `- note: add @available attribute to enclosing struct
  4 |
  5 |   public struct CacheStorage {
    :
 53 |   }
 54 |
 55 |   public func sizeThatFits(
    |               `- note: add @available attribute to enclosing instance method
 56 |     proposal: ProposedViewSize,
    |               `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 57 |     subviews: Subviews,
 58 |     cache: inout CacheStorage
/Users/admin/builder/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:119:15: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
  1 | import SwiftUI
  2 |
  3 | public struct WrapLayout: Layout {
    |               `- note: add @available attribute to enclosing struct
  4 |
  5 |   public struct CacheStorage {
    :
115 |   }
116 |
117 |   public func placeSubviews(
    |               `- note: add @available attribute to enclosing instance method
118 |     in bounds: CGRect,
119 |     proposal: ProposedViewSize,
    |               `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
120 |     subviews: Subviews,
121 |     cache: inout CacheStorage
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/13798] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.32s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (2.76s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[4582/75505] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.21s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.21s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (3.64s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.89s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.40s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swiftlang-6.2.0.9.909-MacroSupport-macos_aarch64.zip
BUILD FAILURE 6.2 macosSpm