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 LeaderView, reference 1.0.0 (5c4303), with Swift 6.0 (beta) for macOS (SPM) on 14 Sep 2024 21:21:21 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.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.0
Building package at path:  $PWD
https://github.com/jnozzi/LeaderView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.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
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
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.0 macosSpm