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 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: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/LiYanan2004/AdaptiveGrid
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 268afde Add SPI badges
Cloned https://github.com/LiYanan2004/AdaptiveGrid.git
Revision (git rev-parse @):
268afde8bb0dd11b6faf2ddef34a66139b67e923
SUCCESS checkout https://github.com/LiYanan2004/AdaptiveGrid.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "adaptivegrid",
      "name": "AdaptiveGrid",
      "url": "https://github.com/LiYanan2004/AdaptiveGrid.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AdaptiveGrid",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/LiYanan2004/AdaptiveGrid.git
[1/48] Fetching adaptivegrid
Fetched https://github.com/LiYanan2004/AdaptiveGrid.git (0.22s)
Creating working copy for https://github.com/LiYanan2004/AdaptiveGrid.git
Working copy of https://github.com/LiYanan2004/AdaptiveGrid.git resolved at main
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 Utilities+SwiftUI.swift
/Users/builder/builds/TDmZkXJm/1/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/1/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
                           ^
[2/6] Compiling AdaptiveGrid GridContainers.swift
[3/6] Compiling AdaptiveGrid AdaptiveGridRow.swift
[4/6] Emitting module AdaptiveGrid
[5/6] Compiling AdaptiveGrid AdaptiveGrid.swift
[6/6] Compiling AdaptiveGrid SizeReader.swift
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/1/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/1/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.