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 SwiftUI-AdaptiveGrid with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LiYanan2004/AdaptiveGrid.git
Reference: 0.1.0
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/LiYanan2004/AdaptiveGrid
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at de309d4 Initial Commit
Cloned https://github.com/LiYanan2004/AdaptiveGrid.git
Revision (git rev-parse @):
de309d487c30fc32babd93d3471897dcbfa62c0b
SUCCESS checkout https://github.com/LiYanan2004/AdaptiveGrid.git at 0.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "adaptivegrid",
      "name": "SwiftUI-AdaptiveGrid",
      "url": "https://github.com/LiYanan2004/AdaptiveGrid.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AdaptiveGrid",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/LiYanan2004/AdaptiveGrid.git from cache
Fetched https://github.com/LiYanan2004/AdaptiveGrid.git (0.20s)
Creating working copy for https://github.com/LiYanan2004/AdaptiveGrid.git
Working copy of https://github.com/LiYanan2004/AdaptiveGrid.git resolved at 0.1.0
warning: '.resolve-product-dependencies': dependency 'adaptivegrid' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/LiYanan2004/AdaptiveGrid.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling AdaptiveGrid AdaptiveGridRow.swift
[2/6] Emitting module AdaptiveGrid
[3/6] Compiling AdaptiveGrid SizeReader.swift
[4/6] Compiling AdaptiveGrid AdaptiveGrid.swift
[5/6] Compiling AdaptiveGrid GridContainers.swift
[6/6] Compiling AdaptiveGrid Utilities+SwiftUI.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveGrid/Utilities+SwiftUI.swift:25:21: error: ambiguous use of 'task(id:priority:_:)'
            content.task(id: id, priority: priority) {
                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveGrid/Utilities+SwiftUI.swift:13:10: note: found this candidate
    func task<E: Equatable>(id: E, priority: TaskPriority = .userInitiated, _ action: @escaping () async -> Void) -> some View {
         ^
SwiftUI.View:5:28: note: found this candidate
    @inlinable public func task<T>(id value: T, priority: TaskPriority = .userInitiated, _ action: @escaping @Sendable () async -> Void) -> some View where T : Equatable
                           ^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/2] Emitting module AdaptiveGrid
[2/2] Compiling AdaptiveGrid Utilities+SwiftUI.swift
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveGrid/Utilities+SwiftUI.swift:25:21: error: ambiguous use of 'task(id:priority:_:)'
            content.task(id: id, priority: priority) {
                    ^
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveGrid/Utilities+SwiftUI.swift:13:10: note: found this candidate
    func task<E: Equatable>(id: E, priority: TaskPriority = .userInitiated, _ action: @escaping () async -> Void) -> some View {
         ^
SwiftUI.View:5:28: note: found this candidate
    @inlinable public func task<T>(id value: T, priority: TaskPriority = .userInitiated, _ action: @escaping @Sendable () async -> Void) -> some View where T : Equatable
                           ^
error: fatalError
BUILD FAILURE 5.9 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.