The Swift Package Index logo.Swift Package Index

Build Information

Successful build of DialKit, reference main (b44afc), with Swift 6.1 for macOS (SPM) on 29 Mar 2026 08:21:20 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikelikesdesign/dialkit-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mikelikesdesign/dialkit-ios
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b44afc4 Expand UIKit README guidance
Cloned https://github.com/mikelikesdesign/dialkit-ios.git
Revision (git rev-parse @):
b44afc4d1a4d9e64dcdce5b84862b4b21b7892e4
SUCCESS checkout https://github.com/mikelikesdesign/dialkit-ios.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mikelikesdesign/dialkit-ios.git
https://github.com/mikelikesdesign/dialkit-ios.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DialKit",
  "name" : "DialKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "DialKit",
      "targets" : [
        "DialKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DialKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DialKitTests",
      "path" : "Tests/DialKitTests",
      "sources" : [
        "DialKitTests.swift"
      ],
      "target_dependencies" : [
        "DialKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DialKitCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "DialKitCoreTests",
      "path" : "Tests/DialKitCoreTests",
      "sources" : [
        "DialKitCoreTests.swift"
      ],
      "target_dependencies" : [
        "DialKitCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DialKitCore",
      "module_type" : "SwiftTarget",
      "name" : "DialKitCore",
      "path" : "Sources/DialKitCore",
      "product_memberships" : [
        "DialKit"
      ],
      "sources" : [
        "DialControl.swift",
        "DialPanelState.swift",
        "DialStore.swift",
        "DialTypes.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DialKit",
      "module_type" : "SwiftTarget",
      "name" : "DialKit",
      "path" : "Sources/DialKit",
      "product_memberships" : [
        "DialKit"
      ],
      "sources" : [
        "DialKit.swift",
        "DialPanelView.swift",
        "DialRoot.swift"
      ],
      "target_dependencies" : [
        "DialKitCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Emitting module DialKitCore
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialStore.swift:88:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DialStore' may have shared mutable state; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public final class DialStore: ObservableObject {
    |                    `- note: class 'DialStore' does not conform to the 'Sendable' protocol
 88 |     public static let shared = DialStore()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DialStore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     @Published package private(set) var panels: [AnyDialPanelBox] = []
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialTypes.swift:71:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DialBezier' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct DialBezier: Hashable, Codable {
    |               `- note: consider making struct 'DialBezier' conform to the 'Sendable' protocol
 59 |     public var x1: Double
 60 |     public var y1: Double
    :
 69 |     }
 70 |
 71 |     public static let standard = DialBezier(x1: 0.25, y1: 0.1, x2: 0.25, y2: 1)
    |                       |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DialBezier' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialTypes.swift:95:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialSpring' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | }
 90 |
 91 | public enum DialSpring: Equatable, Codable {
    |             `- note: consider making enum 'DialSpring' conform to the 'Sendable' protocol
 92 |     case time(duration: Double, bounce: Double)
 93 |     case physics(stiffness: Double, damping: Double, mass: Double)
 94 |
 95 |     public static let `default` = DialSpring.time(duration: 0.35, bounce: 0.24)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialSpring' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 96 |
 97 |     package var editorMode: DialSpringEditorMode {
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialTypes.swift:166:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialTransition' may have shared mutable state; this is an error in the Swift 6 language mode
160 | }
161 |
162 | public enum DialTransition: Equatable, Codable {
    |             `- note: consider making enum 'DialTransition' conform to the 'Sendable' protocol
163 |     case easing(duration: Double, bezier: DialBezier)
164 |     case spring(DialSpring)
165 |
166 |     public static let `default` = DialTransition.spring(.default)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialTransition' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     public var mode: DialTransitionMode {
[5/8] Compiling DialKitCore DialControl.swift
[6/8] Compiling DialKitCore DialPanelState.swift
[7/8] Compiling DialKitCore DialStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialStore.swift:88:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DialStore' may have shared mutable state; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public final class DialStore: ObservableObject {
    |                    `- note: class 'DialStore' does not conform to the 'Sendable' protocol
 88 |     public static let shared = DialStore()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DialStore' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 |
 90 |     @Published package private(set) var panels: [AnyDialPanelBox] = []
[8/8] Compiling DialKitCore DialTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialTypes.swift:71:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DialBezier' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct DialBezier: Hashable, Codable {
    |               `- note: consider making struct 'DialBezier' conform to the 'Sendable' protocol
 59 |     public var x1: Double
 60 |     public var y1: Double
    :
 69 |     }
 70 |
 71 |     public static let standard = DialBezier(x1: 0.25, y1: 0.1, x2: 0.25, y2: 1)
    |                       |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'DialBezier' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 | }
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialTypes.swift:95:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialSpring' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | }
 90 |
 91 | public enum DialSpring: Equatable, Codable {
    |             `- note: consider making enum 'DialSpring' conform to the 'Sendable' protocol
 92 |     case time(duration: Double, bounce: Double)
 93 |     case physics(stiffness: Double, damping: Double, mass: Double)
 94 |
 95 |     public static let `default` = DialSpring.time(duration: 0.35, bounce: 0.24)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialSpring' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 96 |
 97 |     package var editorMode: DialSpringEditorMode {
/Users/admin/builder/spi-builder-workspace/Sources/DialKitCore/DialTypes.swift:166:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialTransition' may have shared mutable state; this is an error in the Swift 6 language mode
160 | }
161 |
162 | public enum DialTransition: Equatable, Codable {
    |             `- note: consider making enum 'DialTransition' conform to the 'Sendable' protocol
163 |     case easing(duration: Double, bezier: DialBezier)
164 |     case spring(DialSpring)
165 |
166 |     public static let `default` = DialTransition.spring(.default)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DialTransition' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |
168 |     public var mode: DialTransitionMode {
[9/12] Compiling DialKit DialRoot.swift
[10/12] Compiling DialKit DialKit.swift
[11/12] Emitting module DialKit
[12/12] Compiling DialKit DialPanelView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1466:90: warning: converting non-sendable function value to '@isolated(any) @Sendable () -> Bool' may introduce data races
1464 |             return AnyView(DialSliderRow(title: control.label, slider: slider))
1465 |         case let .toggle(toggle):
1466 |             return AnyView(DialToggleRow(title: control.label, isOn: Binding(get: toggle.get, set: toggle.set)))
     |                                                                                          `- warning: converting non-sendable function value to '@isolated(any) @Sendable () -> Bool' may introduce data races
1467 |         case let .text(text):
1468 |             let focusID = measurement ? nil : dialTextEntryFocusID(for: control.path)
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1466:107: warning: converting non-sendable function value to '@isolated(any) @Sendable (Bool) -> Void' may introduce data races
1464 |             return AnyView(DialSliderRow(title: control.label, slider: slider))
1465 |         case let .toggle(toggle):
1466 |             return AnyView(DialToggleRow(title: control.label, isOn: Binding(get: toggle.get, set: toggle.set)))
     |                                                                                                           `- warning: converting non-sendable function value to '@isolated(any) @Sendable (Bool) -> Void' may introduce data races
1467 |         case let .text(text):
1468 |             let focusID = measurement ? nil : dialTextEntryFocusID(for: control.path)
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1472:45: warning: converting non-sendable function value to '@isolated(any) @Sendable () -> String' may introduce data races
1470 |                 DialTextRow(
1471 |                     title: control.label,
1472 |                     text: Binding(get: text.get, set: text.set),
     |                                             `- warning: converting non-sendable function value to '@isolated(any) @Sendable () -> String' may introduce data races
1473 |                     placeholder: text.placeholder ?? "",
1474 |                     focusID: focusID,
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1472:60: warning: converting non-sendable function value to '@isolated(any) @Sendable (String) -> Void' may introduce data races
1470 |                 DialTextRow(
1471 |                     title: control.label,
1472 |                     text: Binding(get: text.get, set: text.set),
     |                                                            `- warning: converting non-sendable function value to '@isolated(any) @Sendable (String) -> Void' may introduce data races
1473 |                     placeholder: text.placeholder ?? "",
1474 |                     focusID: focusID,
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1487:50: warning: converting non-sendable function value to '@isolated(any) @Sendable () -> String' may introduce data races
1485 |                 DialColorRow(
1486 |                     title: control.label,
1487 |                     hexValue: Binding(get: color.get, set: color.set),
     |                                                  `- warning: converting non-sendable function value to '@isolated(any) @Sendable () -> String' may introduce data races
1488 |                     focusID: focusID,
1489 |                     onFocusChange: focusID.map { id in
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1487:66: warning: converting non-sendable function value to '@isolated(any) @Sendable (String) -> Void' may introduce data races
1485 |                 DialColorRow(
1486 |                     title: control.label,
1487 |                     hexValue: Binding(get: color.get, set: color.set),
     |                                                                  `- warning: converting non-sendable function value to '@isolated(any) @Sendable (String) -> Void' may introduce data races
1488 |                     focusID: focusID,
1489 |                     onFocusChange: focusID.map { id in
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1497:120: warning: converting non-sendable function value to '@isolated(any) @Sendable () -> String' may introduce data races
1495 |             )
1496 |         case let .select(select):
1497 |             return AnyView(DialSelectRow(title: control.label, options: select.options, selection: Binding(get: select.get, set: select.set)))
     |                                                                                                                        `- warning: converting non-sendable function value to '@isolated(any) @Sendable () -> String' may introduce data races
1498 |         case let .spring(spring):
1499 |             return AnyView(
/Users/admin/builder/spi-builder-workspace/Sources/DialKit/DialPanelView.swift:1497:137: warning: converting non-sendable function value to '@isolated(any) @Sendable (String) -> Void' may introduce data races
1495 |             )
1496 |         case let .select(select):
1497 |             return AnyView(DialSelectRow(title: control.label, options: select.options, selection: Binding(get: select.get, set: select.set)))
     |                                                                                                                                         `- warning: converting non-sendable function value to '@isolated(any) @Sendable (String) -> Void' may introduce data races
1498 |         case let .spring(spring):
1499 |             return AnyView(
Build complete! (9.56s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DialKit",
  "name" : "DialKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "DialKit",
      "targets" : [
        "DialKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DialKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DialKitTests",
      "path" : "Tests/DialKitTests",
      "sources" : [
        "DialKitTests.swift"
      ],
      "target_dependencies" : [
        "DialKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DialKitCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "DialKitCoreTests",
      "path" : "Tests/DialKitCoreTests",
      "sources" : [
        "DialKitCoreTests.swift"
      ],
      "target_dependencies" : [
        "DialKitCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DialKitCore",
      "module_type" : "SwiftTarget",
      "name" : "DialKitCore",
      "path" : "Sources/DialKitCore",
      "product_memberships" : [
        "DialKit"
      ],
      "sources" : [
        "DialControl.swift",
        "DialPanelState.swift",
        "DialStore.swift",
        "DialTypes.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DialKit",
      "module_type" : "SwiftTarget",
      "name" : "DialKit",
      "path" : "Sources/DialKit",
      "product_memberships" : [
        "DialKit"
      ],
      "sources" : [
        "DialKit.swift",
        "DialPanelView.swift",
        "DialRoot.swift"
      ],
      "target_dependencies" : [
        "DialKitCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.