The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LeaderView, reference main (5c4303), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 01:04:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jnozzi/LeaderView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jnozzi/LeaderView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "leaderview",
      "name": "LeaderView",
      "url": "https://github.com/jnozzi/LeaderView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LeaderView",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jnozzi/LeaderView.git
[1/9] Fetching leaderview
Fetched https://github.com/jnozzi/LeaderView.git from cache (0.56s)
Creating working copy for https://github.com/jnozzi/LeaderView.git
Working copy of https://github.com/jnozzi/LeaderView.git resolved at main (5c43035)
warning: '.resolve-product-dependencies': dependency 'leaderview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/jnozzi/LeaderView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.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 [#SendableMetatypes]
130 |       .frame(minWidth: 0)
131 |       .layoutPriority(LeaderPriority)
132 |       .alignmentGuide(alignment) { $0[alignment] }
    |                                       `- warning: capture of non-Sendable type 'LeadingView.Type' in an isolated closure [#SendableMetatypes]
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 [#SendableMetatypes]
130 |       .frame(minWidth: 0)
131 |       .layoutPriority(LeaderPriority)
132 |       .alignmentGuide(alignment) { $0[alignment] }
    |                                       `- warning: capture of non-Sendable type 'TrailingView.Type' in an isolated closure [#SendableMetatypes]
133 |
134 |       // Finally, render the trailing view with the given priority
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
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
BUILD FAILURE 6.3 macosSpm