The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SettingsKitUI, reference 0.2.2 (14fe4f), with Swift 6.1 for macOS (SPM) on 10 Mar 2026 05:05:01 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.1
Building package at path:  $PWD
https://github.com/HaarisIqubal/SettingsKitUI.git
https://github.com/HaarisIqubal/SettingsKitUI.git
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "SettingsKitUI",
  "name" : "SettingsKitUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "SettingsKitUI",
      "targets" : [
        "SettingsKitUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SettingsKitUITests",
      "module_type" : "SwiftTarget",
      "name" : "SettingsKitUITests",
      "path" : "Tests/SettingsKitUITests",
      "sources" : [
        "SettingsKitUITests.swift"
      ],
      "target_dependencies" : [
        "SettingsKitUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SettingsKitUI",
      "module_type" : "SwiftTarget",
      "name" : "SettingsKitUI",
      "path" : "Sources/SettingsKitUI",
      "product_memberships" : [
        "SettingsKitUI"
      ],
      "sources" : [
        "Components/SKActionRow.swift",
        "Components/SKBaseRow.swift",
        "Components/SKNavigationRow.swift",
        "Components/SKPickerRow.swift",
        "Components/SKToggleRow.swift",
        "Layouts/SKFrom.swift",
        "Layouts/SKList.swift",
        "Layouts/SKSection.swift",
        "PreviewTest.swift",
        "SettingsKitUI.swift",
        "Views/SKPage.swift",
        "Views/SKSettingsView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/16] Compiling SettingsKitUI PreviewTest.swift
[6/17] Compiling SettingsKitUI SKPage.swift
[7/17] Compiling SettingsKitUI SKFrom.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/17] Compiling SettingsKitUI SKToggleRow.swift
[9/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 requirement from protocol 'EnvironmentKey'
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 requirement from protocol 'EnvironmentKey'
155 | }
156 |
[10/17] Compiling SettingsKitUI SKNavigationRow.swift
[11/17] Compiling SettingsKitUI SKPickerRow.swift
[12/17] Compiling SettingsKitUI SKSection.swift
[13/17] Compiling SettingsKitUI SettingsKitUI.swift
[14/17] Compiling SettingsKitUI SKList.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 requirement from protocol 'EnvironmentKey'
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 requirement from protocol 'EnvironmentKey'
155 | }
156 |
[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 requirement from protocol 'EnvironmentKey'
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 requirement from protocol 'EnvironmentKey'
155 | }
156 |
[17/17] Compiling SettingsKitUI SKSettingsView.swift
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.71s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (4.38s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.91s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.67s)
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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/15] Compiling SettingsKitUI SKFrom.swift
[5/16] Compiling SettingsKitUI SKSection.swift
[6/16] Compiling SettingsKitUI SKList.swift
[7/16] Compiling SettingsKitUI SettingsKitUI.swift
[8/16] Compiling SettingsKitUI SKToggleRow.swift
[9/16] Compiling SettingsKitUI PreviewTest.swift
[10/16] Compiling SettingsKitUI SKPage.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/16] Compiling SettingsKitUI SKNavigationRow.swift
[12/16] Compiling SettingsKitUI SKPickerRow.swift
[13/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 requirement from protocol 'EnvironmentKey'
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 requirement from protocol 'EnvironmentKey'
155 | }
156 |
[14/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 requirement from protocol 'EnvironmentKey'
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 requirement from protocol 'EnvironmentKey'
155 | }
156 |
[15/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 requirement from protocol 'EnvironmentKey'
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 requirement from protocol 'EnvironmentKey'
155 | }
156 |
[16/16] Compiling SettingsKitUI SKSettingsView.swift
BUILD FAILURE 6.1 macosSpm