The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LeaderView, reference 1.0.0 (5c4303), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 02:28:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jnozzi/LeaderView.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jnozzi/LeaderView
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5c43035 v1.0 Initial public offering
Cloned https://github.com/jnozzi/LeaderView.git
Revision (git rev-parse @):
5c43035c1b66111e9d0556acd09a465705a6376d
SUCCESS checkout https://github.com/jnozzi/LeaderView.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jnozzi/LeaderView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module LeaderView
/Users/admin/builder/spi-builder-workspace/Sources/LeaderView/Leader.swift:278:14: error: 'InsetGroupedListStyle' is unavailable in macOS
276 |
277 |   }
278 |   .listStyle(InsetGroupedListStyle())
    |              `- error: 'InsetGroupedListStyle' is unavailable in macOS
279 |
280 | }
SwiftUI.InsetGroupedListStyle:5:15: note: 'InsetGroupedListStyle' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public struct InsetGroupedListStyle : ListStyle {
  |               `- note: 'InsetGroupedListStyle' has been explicitly marked unavailable here
6 |     public init()
7 |     nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<InsetGroupedListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable
[4/4] Compiling LeaderView Leader.swift
/Users/admin/builder/spi-builder-workspace/Sources/LeaderView/Leader.swift:278:14: error: 'InsetGroupedListStyle' is unavailable in macOS
276 |
277 |   }
278 |   .listStyle(InsetGroupedListStyle())
    |              `- error: 'InsetGroupedListStyle' is unavailable in macOS
279 |
280 | }
SwiftUI.InsetGroupedListStyle:5:15: note: 'InsetGroupedListStyle' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public struct InsetGroupedListStyle : ListStyle {
  |               `- note: 'InsetGroupedListStyle' has been explicitly marked unavailable here
6 |     public init()
7 |     nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<InsetGroupedListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable
/Users/admin/builder/spi-builder-workspace/Sources/LeaderView/Leader.swift:132:39: warning: capture of non-sendable type 'LeadingView.Type' in an isolated closure
130 |       .frame(minWidth: 0)
131 |       .layoutPriority(LeaderPriority)
132 |       .alignmentGuide(alignment) { $0[alignment] }
    |                                       `- warning: capture of non-sendable type 'LeadingView.Type' in an isolated closure
133 |
134 |       // Finally, render the trailing view with the given priority
/Users/admin/builder/spi-builder-workspace/Sources/LeaderView/Leader.swift:132:39: warning: capture of non-sendable type 'TrailingView.Type' in an isolated closure
130 |       .frame(minWidth: 0)
131 |       .layoutPriority(LeaderPriority)
132 |       .alignmentGuide(alignment) { $0[alignment] }
    |                                       `- warning: capture of non-sendable type 'TrailingView.Type' in an isolated closure
133 |
134 |       // Finally, render the trailing view with the given priority
/Users/admin/builder/spi-builder-workspace/Sources/LeaderView/Leader.swift:83:23: warning: capture of non-sendable type 'LeadingView.Type' in an isolated closure
 81 |   }
 82 |
 83 |   var body: some View {
    |                       `- warning: capture of non-sendable type 'LeadingView.Type' in an isolated closure
 84 |
 85 |     // It's all contained in an HStack whose alignment and spacing is configurable
/Users/admin/builder/spi-builder-workspace/Sources/LeaderView/Leader.swift:83:23: warning: capture of non-sendable type 'TrailingView.Type' in an isolated closure
 81 |   }
 82 |
 83 |   var body: some View {
    |                       `- warning: capture of non-sendable type 'TrailingView.Type' in an isolated closure
 84 |
 85 |     // It's all contained in an HStack whose alignment and spacing is configurable
macro expansion #Preview:150:30: error: 'InsetGroupedListStyle' is unavailable in macOS
`- /Users/admin/builder/spi-builder-workspace/Sources/LeaderView/Leader.swift:280:2: note: expanded code originates here
144 | // MARK: - Preview
145 |
146 | #Preview {
    | `- note: in expansion of macro 'Preview' here
147 |
148 |   @Previewable @State var dotDiameter: Double = DefaultDotDiameter
    :
278 |   .listStyle(InsetGroupedListStyle())
279 |
280 | }
    +--- macro expansion #Preview --------------------------------------
    |148 |
    |149 |                   }
    |150 |                   .listStyle(InsetGroupedListStyle())
    |    |                              `- error: 'InsetGroupedListStyle' is unavailable in macOS
    |151 |                 }
    |152 |             }
    +-------------------------------------------------------------------
281 |
SwiftUI.InsetGroupedListStyle:5:15: note: 'InsetGroupedListStyle' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public struct InsetGroupedListStyle : ListStyle {
  |               `- note: 'InsetGroupedListStyle' has been explicitly marked unavailable here
6 |     public init()
7 |     nonisolated public static func _makeView<SelectionValue>(value: _GraphValue<_ListValue<InsetGroupedListStyle, SelectionValue>>, inputs: _ViewInputs) -> _ViewOutputs where SelectionValue : Hashable
BUILD FAILURE 6.2 macosSpm