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 main (7c89d4), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 00:02:02 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/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
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/12447] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.24s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.11.0 (0.60s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.11.0
========================================
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": "swiftui-wraplayout",
      "name": "WrapLayout",
      "url": "https://github.com/FluidGroup/swiftui-WrapLayout.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-WrapLayout",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/FluidGroup/swiftui-WrapLayout.git
[1/152] Fetching swiftui-wraplayout
Fetched https://github.com/FluidGroup/swiftui-WrapLayout.git from cache (0.72s)
Creating working copy for https://github.com/FluidGroup/swiftui-WrapLayout.git
Working copy of https://github.com/FluidGroup/swiftui-WrapLayout.git resolved at main (7c89d42)
warning: '.resolve-product-dependencies': dependency 'swiftui-wraplayout' 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/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.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
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
BUILD FAILURE 6.0 macosSpm