Build Information
Failed to build SwiftUI-AdaptiveGrid with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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/o86TiJKT/2/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/LiYanan2004/AdaptiveGrid.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling AdaptiveGrid AdaptiveGridRow.swift
[2/6] Emitting module AdaptiveGrid
[3/6] Compiling AdaptiveGrid AdaptiveGrid.swift
[4/6] Compiling AdaptiveGrid GridContainers.swift
[5/6] Compiling AdaptiveGrid SizeReader.swift
[6/6] Compiling AdaptiveGrid Utilities+SwiftUI.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveGrid/Utilities+SwiftUI.swift:25:13: error: ambiguous use of 'task(id:priority:_:)'
content.task(id: id, priority: priority) {
^
/Users/builder/builds/o86TiJKT/2/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
^
[0/1] Planning build
Building for debugging...
[1/2] Compiling AdaptiveGrid Utilities+SwiftUI.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AdaptiveGrid/Utilities+SwiftUI.swift:25:13: error: ambiguous use of 'task(id:priority:_:)'
content.task(id: id, priority: priority) {
^
/Users/builder/builds/o86TiJKT/2/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/2] Emitting module AdaptiveGrid
BUILD FAILURE 5.8 macosSpm