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 WrapLayout, reference 0.3.0 (7c89d4), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 13:23:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/swiftui-WrapLayout.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluidGroup/swiftui-WrapLayout
 * tag               0.3.0      -> FETCH_HEAD
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 0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FluidGroup/swiftui-WrapLayout.git
https://github.com/FluidGroup/swiftui-WrapLayout.git
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    }
  ],
  "manifest_display_name" : "WrapLayout",
  "name" : "WrapLayout",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WrapLayout",
      "targets" : [
        "WrapLayout"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WrapLayoutTests",
      "module_type" : "SwiftTarget",
      "name" : "WrapLayoutTests",
      "path" : "Tests/WrapLayoutTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "WrapLayoutTests.swift"
      ],
      "target_dependencies" : [
        "WrapLayout"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WrapLayout",
      "module_type" : "SwiftTarget",
      "name" : "WrapLayout",
      "path" : "Sources/WrapLayout",
      "product_memberships" : [
        "WrapLayout"
      ],
      "sources" : [
        "WrapLayout.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.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 from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (0.51s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (1.02s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetching https://github.com/swiftlang/swift-syntax from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.14s)
Fetched https://github.com/swiftlang/swift-syntax from cache (1.14s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.64s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.16s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.48s)
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-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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
[3/3] 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
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/WrapLayoutTests/__Snapshots__/WrapLayoutTests/testWrapping.1.png
BUILD FAILURE 6.1 macosSpm