The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SettingsKitUI, reference 0.2.2 (14fe4f), with Swift 6.0 for macOS (SPM) on 10 Mar 2026 01:07:50 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: 0.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/HaarisIqubal/SettingsKitUI
 * tag               0.2.2      -> FETCH_HEAD
HEAD is now at 14fe4fa Added new icon without background, and change icon background modifier introduced.
Cloned https://github.com/HaarisIqubal/SettingsKitUI.git
Revision (git rev-parse @):
14fe4fa5b5b5b5fd77218e01eaa35ad34aba8309
SUCCESS checkout https://github.com/HaarisIqubal/SettingsKitUI.git at 0.2.2
========================================
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 SKPage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/16] Compiling SettingsKitUI SettingsKitUI.swift
[7/16] Compiling SettingsKitUI SKFrom.swift
[8/16] Compiling SettingsKitUI SKSection.swift
[9/16] Compiling SettingsKitUI SKNavigationRow.swift
[10/16] Compiling SettingsKitUI SKPickerRow.swift
[11/16] Compiling SettingsKitUI PreviewTest.swift
[12/16] Compiling SettingsKitUI SKToggleRow.swift
[13/16] Compiling SettingsKitUI SKList.swift
[14/16] 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
[15/16] 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/16] 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.13s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (3.18s)
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.11s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.60s)
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
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
BUILD FAILURE 6.0 macosSpm