The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SettingsKitUI, reference main (463b33), with Swift 6.0 for macOS (SPM) on 10 Mar 2026 01:10:12 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/HaarisIqubal/SettingsKitUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/HaarisIqubal/SettingsKitUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 463b337 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/HaarisIqubal/SettingsKitUI.git
Revision (git rev-parse @):
463b33700138311ee8a986b0ad148ce35edef239
SUCCESS checkout https://github.com/HaarisIqubal/SettingsKitUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/HaarisIqubal/SettingsKitUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/16] Compiling SettingsKitUI SettingsKitUI.swift
[6/16] Compiling SettingsKitUI SKPage.swift
[7/17] Compiling SettingsKitUI SKSection.swift
[8/17] Compiling SettingsKitUI SKFrom.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/17] Compiling SettingsKitUI SKList.swift
[10/17] Compiling SettingsKitUI SKNavigationRow.swift
[11/17] Compiling SettingsKitUI SKPickerRow.swift
[12/17] Compiling SettingsKitUI SKToggleRow.swift
[13/17] Emitting module SettingsKitUI
/Users/admin/builder/spi-builder-workspace/Sources/SettingsKitUI/Components/SKBaseRow.swift:153:32: error: unknown attribute 'MainActor'
151 | }
152 |
153 | private struct SKIconShapeKey: @MainActor EnvironmentKey {
    |                                `- error: unknown attribute 'MainActor'
154 |     @MainActor static let defaultValue: SKIconShape = .standard
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/SettingsKitUI/Components/SKBaseRow.swift:154:27: error: main actor-isolated static property 'defaultValue' cannot be used to satisfy nonisolated protocol requirement
151 | }
152 |
153 | private struct SKIconShapeKey: @MainActor EnvironmentKey {
    |                                           `- note: add '@preconcurrency' to the 'EnvironmentKey' conformance to defer isolation checking to run time
154 |     @MainActor static let defaultValue: SKIconShape = .standard
    |                           `- error: main actor-isolated static property 'defaultValue' cannot be used to satisfy nonisolated protocol requirement
155 | }
156 |
SwiftUICore.EnvironmentKey:4:16: note: 'defaultValue' declared here
2 | public protocol EnvironmentKey {
3 |     associatedtype Value
4 |     static var defaultValue: Self.Value { get }
  |                `- note: 'defaultValue' declared here
5 |     @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
6 |     static func _valuesEqual(_ lhs: Self.Value, _ rhs: Self.Value) -> Bool
[14/17] Compiling SettingsKitUI PreviewTest.swift
[15/17] Compiling SettingsKitUI SKActionRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/SettingsKitUI/Components/SKBaseRow.swift:153:32: error: unknown attribute 'MainActor'
151 | }
152 |
153 | private struct SKIconShapeKey: @MainActor EnvironmentKey {
    |                                `- error: unknown attribute 'MainActor'
154 |     @MainActor static let defaultValue: SKIconShape = .standard
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/SettingsKitUI/Components/SKBaseRow.swift:154:27: error: main actor-isolated static property 'defaultValue' cannot be used to satisfy nonisolated protocol requirement
151 | }
152 |
153 | private struct SKIconShapeKey: @MainActor EnvironmentKey {
    |                                           `- note: add '@preconcurrency' to the 'EnvironmentKey' conformance to defer isolation checking to run time
154 |     @MainActor static let defaultValue: SKIconShape = .standard
    |                           `- error: main actor-isolated static property 'defaultValue' cannot be used to satisfy nonisolated protocol requirement
155 | }
156 |
SwiftUICore.EnvironmentKey:4:16: note: 'defaultValue' declared here
2 | public protocol EnvironmentKey {
3 |     associatedtype Value
4 |     static var defaultValue: Self.Value { get }
  |                `- note: 'defaultValue' declared here
5 |     @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
6 |     static func _valuesEqual(_ lhs: Self.Value, _ rhs: Self.Value) -> Bool
[16/17] Compiling SettingsKitUI SKBaseRow.swift
/Users/admin/builder/spi-builder-workspace/Sources/SettingsKitUI/Components/SKBaseRow.swift:153:32: error: unknown attribute 'MainActor'
151 | }
152 |
153 | private struct SKIconShapeKey: @MainActor EnvironmentKey {
    |                                `- error: unknown attribute 'MainActor'
154 |     @MainActor static let defaultValue: SKIconShape = .standard
155 | }
/Users/admin/builder/spi-builder-workspace/Sources/SettingsKitUI/Components/SKBaseRow.swift:154:27: error: main actor-isolated static property 'defaultValue' cannot be used to satisfy nonisolated protocol requirement
151 | }
152 |
153 | private struct SKIconShapeKey: @MainActor EnvironmentKey {
    |                                           `- note: add '@preconcurrency' to the 'EnvironmentKey' conformance to defer isolation checking to run time
154 |     @MainActor static let defaultValue: SKIconShape = .standard
    |                           `- error: main actor-isolated static property 'defaultValue' cannot be used to satisfy nonisolated protocol requirement
155 | }
156 |
SwiftUICore.EnvironmentKey:4:16: note: 'defaultValue' declared here
2 | public protocol EnvironmentKey {
3 |     associatedtype Value
4 |     static var defaultValue: Self.Value { get }
  |                `- note: 'defaultValue' declared here
5 |     @available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *)
6 |     static func _valuesEqual(_ lhs: Self.Value, _ rhs: Self.Value) -> Bool
[17/17] Compiling SettingsKitUI SKSettingsView.swift
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2171] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.14s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3668] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.22s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.63s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
BUILD FAILURE 6.0 macosSpm