The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of AutomaticSettings, reference main (2b8cf3), with Swift 6.0 for macOS (SPM) on 7 Jan 2025 12:06:49 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krzysztofzablocki/AutomaticSettings.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/krzysztofzablocki/AutomaticSettings
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2b8cf3c Update Package.swift
Cloned https://github.com/krzysztofzablocki/AutomaticSettings.git
Revision (git rev-parse @):
2b8cf3cb09aba49a1d3c2f8049f2b364b11858b3
SUCCESS checkout https://github.com/krzysztofzablocki/AutomaticSettings.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "automaticsettings",
      "name": "AutomaticSettings",
      "url": "https://github.com/krzysztofzablocki/AutomaticSettings.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AutomaticSettings",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/krzysztofzablocki/AutomaticSettings.git
[10/454] Fetching automaticsettings
Fetched https://github.com/krzysztofzablocki/AutomaticSettings.git from cache (1.42s)
Creating working copy for https://github.com/krzysztofzablocki/AutomaticSettings.git
Working copy of https://github.com/krzysztofzablocki/AutomaticSettings.git resolved at main (2b8cf3c)
warning: '.resolve-product-dependencies': dependency 'automaticsettings' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/krzysztofzablocki/AutomaticSettings.git
https://github.com/krzysztofzablocki/AutomaticSettings.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AutomaticSettings",
  "name" : "AutomaticSettings",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AutomaticSettings",
      "targets" : [
        "AutomaticSettings"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AutomaticSettingsTests",
      "module_type" : "SwiftTarget",
      "name" : "AutomaticSettingsTests",
      "path" : "Tests/AutomaticSettingsTests",
      "sources" : [
        "AutomaticSettingsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "AutomaticSettings"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AutomaticSettings",
      "module_type" : "SwiftTarget",
      "name" : "AutomaticSettings",
      "path" : "Sources/AutomaticSettings",
      "product_memberships" : [
        "AutomaticSettings"
      ],
      "sources" : [
        "AutomaticSettingsProtocols.swift",
        "AutomaticSettingsViewDSL.swift",
        "AutomaticSettingsViewModel.swift",
        "Foundation+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/7] Compiling AutomaticSettings Foundation+Extensions.swift
[4/7] Compiling AutomaticSettings AutomaticSettingsViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:8:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 6 |     public var current: Settings
 7 |
 8 |     @ObservedObject
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 9 |     public private(set) var externalData: ExternalData
10 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:19:14: warning: main actor-isolated property 'externalData' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 7 |
 8 |     @ObservedObject
 9 |     public private(set) var externalData: ExternalData
   |                             `- note: mutation of this property is only permitted within the actor
10 |
11 |     private let initial: Settings
   :
17 |
18 |     public init(settings: Settings, externalData: ExternalData, save: @escaping (Settings) -> Void, dismiss: @escaping () -> Void) {
19 |         self.externalData = externalData
   |              `- warning: main actor-isolated property 'externalData' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
20 |         current = settings
21 |         initial = settings
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:44:20: warning: capture of 'self' with non-sendable type 'AutomaticSettingsViewModel<Settings, ExternalData>' in a `@Sendable` closure
 2 | import SwiftUI
 3 |
 4 | public class AutomaticSettingsViewModel<Settings: Equatable, ExternalData: ObservableObject>: ObservableObject {
   |              `- note: generic class 'AutomaticSettingsViewModel' does not conform to the 'Sendable' protocol
 5 |     @Published
 6 |     public var current: Settings
   :
42 |     public func binding<Type>(keyPath: WritableKeyPath<Settings, Type>, requiresRestart: Bool, uniqueIdentifier: String, sideEffect: (() -> Void)? = nil) -> Binding<Type> where Type: Equatable {
43 |         return Binding(get: {
44 |             return self.current[keyPath: keyPath]
   |                    `- warning: capture of 'self' with non-sendable type 'AutomaticSettingsViewModel<Settings, ExternalData>' in a `@Sendable` closure
45 |         }, set: {
46 |             self.change(keyPath: keyPath, requiresRestart: requiresRestart, uniqueIdentifier: uniqueIdentifier, to: $0, sideEffect: sideEffect)
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:44:42: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Settings, Type>' in a `@Sendable` closure
42 |     public func binding<Type>(keyPath: WritableKeyPath<Settings, Type>, requiresRestart: Bool, uniqueIdentifier: String, sideEffect: (() -> Void)? = nil) -> Binding<Type> where Type: Equatable {
43 |         return Binding(get: {
44 |             return self.current[keyPath: keyPath]
   |                                          `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Settings, Type>' in a `@Sendable` closure
45 |         }, set: {
46 |             self.change(keyPath: keyPath, requiresRestart: requiresRestart, uniqueIdentifier: uniqueIdentifier, to: $0, sideEffect: sideEffect)
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
  |              `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:46:13: warning: capture of 'self' with non-sendable type 'AutomaticSettingsViewModel<Settings, ExternalData>' in a `@Sendable` closure
 2 | import SwiftUI
 3 |
 4 | public class AutomaticSettingsViewModel<Settings: Equatable, ExternalData: ObservableObject>: ObservableObject {
   |              `- note: generic class 'AutomaticSettingsViewModel' does not conform to the 'Sendable' protocol
 5 |     @Published
 6 |     public var current: Settings
   :
44 |             return self.current[keyPath: keyPath]
45 |         }, set: {
46 |             self.change(keyPath: keyPath, requiresRestart: requiresRestart, uniqueIdentifier: uniqueIdentifier, to: $0, sideEffect: sideEffect)
   |             `- warning: capture of 'self' with non-sendable type 'AutomaticSettingsViewModel<Settings, ExternalData>' in a `@Sendable` closure
47 |         })
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:46:34: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Settings, Type>' in a `@Sendable` closure
44 |             return self.current[keyPath: keyPath]
45 |         }, set: {
46 |             self.change(keyPath: keyPath, requiresRestart: requiresRestart, uniqueIdentifier: uniqueIdentifier, to: $0, sideEffect: sideEffect)
   |                                  `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Settings, Type>' in a `@Sendable` closure
47 |         })
48 |     }
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
  |              `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:46:133: warning: capture of 'sideEffect' with non-sendable type '(() -> Void)?' in a `@Sendable` closure
44 |             return self.current[keyPath: keyPath]
45 |         }, set: {
46 |             self.change(keyPath: keyPath, requiresRestart: requiresRestart, uniqueIdentifier: uniqueIdentifier, to: $0, sideEffect: sideEffect)
   |                                                                                                                                     |- warning: capture of 'sideEffect' with non-sendable type '(() -> Void)?' in a `@Sendable` closure
   |                                                                                                                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |         })
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:8:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
 6 |     public var current: Settings
 7 |
 8 |     @ObservedObject
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
 9 |     public private(set) var externalData: ExternalData
10 |
[5/7] Emitting module AutomaticSettings
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:8:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 6 |     public var current: Settings
 7 |
 8 |     @ObservedObject
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 9 |     public private(set) var externalData: ExternalData
10 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:8:6: warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
 6 |     public var current: Settings
 7 |
 8 |     @ObservedObject
   |      |- warning: sending '$input_value' risks causing data races; this is an error in the Swift 6 language mode
   |      `- note: sending task-isolated '$input_value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
 9 |     public private(set) var externalData: ExternalData
10 |
[6/7] Compiling AutomaticSettings AutomaticSettingsProtocols.swift
[7/7] Compiling AutomaticSettings AutomaticSettingsViewDSL.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:144:13: warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
142 |             Text(name.automaticSettingsTitleCase)
143 |                 .fixedSize()
144 |             Spacer()
    |             `- warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
145 |             TextField(
146 |                 name.automaticSettingsTitleCase,
SwiftUICore.Spacer:4:50: note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
2 | @MainActor @frozen @preconcurrency public struct Spacer {
3 |     @MainActor @preconcurrency public var minLength: CGFloat?
4 |     @MainActor @inlinable @preconcurrency public init(minLength: CGFloat? = nil)
  |                                                  `- note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
5 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
6 |     public typealias Body = Never
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:167:13: warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 |             Text(name.automaticSettingsTitleCase)
166 |                 .fixedSize()
167 |             Spacer()
    |             `- warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
168 |             TextField(
169 |                 name.automaticSettingsTitleCase,
SwiftUICore.Spacer:4:50: note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
2 | @MainActor @frozen @preconcurrency public struct Spacer {
3 |     @MainActor @preconcurrency public var minLength: CGFloat?
4 |     @MainActor @inlinable @preconcurrency public init(minLength: CGFloat? = nil)
  |                                                  `- note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
5 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
6 |     public typealias Body = Never
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:171:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
169 |                 name.automaticSettingsTitleCase,
170 |                 text: Binding(get: {
171 |                     return self.viewModel.current[keyPath: keyPath] ?? ""
    |                            `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
172 |                 }, set: {
173 |                     self.viewModel.change(
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:171:60: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, String?>' in a `@Sendable` closure
169 |                 name.automaticSettingsTitleCase,
170 |                 text: Binding(get: {
171 |                     return self.viewModel.current[keyPath: keyPath] ?? ""
    |                                                            `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, String?>' in a `@Sendable` closure
172 |                 }, set: {
173 |                     self.viewModel.change(
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
  |              `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:173:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
171 |                     return self.viewModel.current[keyPath: keyPath] ?? ""
172 |                 }, set: {
173 |                     self.viewModel.change(
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
174 |                         keyPath: keyPath,
175 |                         requiresRestart: requiresRestart,
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:174:34: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, String?>' in a `@Sendable` closure
172 |                 }, set: {
173 |                     self.viewModel.change(
174 |                         keyPath: keyPath,
    |                                  `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, String?>' in a `@Sendable` closure
175 |                         requiresRestart: requiresRestart,
176 |                         uniqueIdentifier: uniqueIdentifier,
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
  |              `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:178:37: warning: capture of 'sideEffect' with non-sendable type '(() -> Void)?' in a `@Sendable` closure
176 |                         uniqueIdentifier: uniqueIdentifier,
177 |                         to: $0.automaticSettingsNilIfEmpty,
178 |                         sideEffect: sideEffect
    |                                     |- warning: capture of 'sideEffect' with non-sendable type '(() -> Void)?' in a `@Sendable` closure
    |                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 |                     )
180 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:195:13: warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
193 |             Text(name.automaticSettingsTitleCase)
194 |                 .fixedSize()
195 |             Spacer()
    |             `- warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
196 |             TextField(
197 |                 name.automaticSettingsTitleCase,
SwiftUICore.Spacer:4:50: note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
2 | @MainActor @frozen @preconcurrency public struct Spacer {
3 |     @MainActor @preconcurrency public var minLength: CGFloat?
4 |     @MainActor @inlinable @preconcurrency public init(minLength: CGFloat? = nil)
  |                                                  `- note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
5 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
6 |     public typealias Body = Never
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:199:28: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
197 |                 name.automaticSettingsTitleCase,
198 |                 text: Binding(get: {
199 |                     return self.viewModel.current[keyPath: keyPath].map { "\($0)" } ?? ""
    |                            `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
200 |                 }, set: {
201 |                     self.viewModel.change(
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:199:60: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, Number?>' in a `@Sendable` closure
197 |                 name.automaticSettingsTitleCase,
198 |                 text: Binding(get: {
199 |                     return self.viewModel.current[keyPath: keyPath].map { "\($0)" } ?? ""
    |                                                            `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, Number?>' in a `@Sendable` closure
200 |                 }, set: {
201 |                     self.viewModel.change(
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
  |              `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:201:21: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
199 |                     return self.viewModel.current[keyPath: keyPath].map { "\($0)" } ?? ""
200 |                 }, set: {
201 |                     self.viewModel.change(
    |                     `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
202 |                         keyPath: keyPath,
203 |                         requiresRestart: requiresRestart,
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:202:34: warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, Number?>' in a `@Sendable` closure
200 |                 }, set: {
201 |                     self.viewModel.change(
202 |                         keyPath: keyPath,
    |                                  `- warning: capture of 'keyPath' with non-sendable type 'WritableKeyPath<Self.Settings, Number?>' in a `@Sendable` closure
203 |                         requiresRestart: requiresRestart,
204 |                         uniqueIdentifier: uniqueIdentifier,
Swift.WritableKeyPath:1:14: note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
1 | public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
  |              `- note: generic class 'WritableKeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:206:37: warning: capture of 'sideEffect' with non-sendable type '(() -> Void)?' in a `@Sendable` closure
204 |                         uniqueIdentifier: uniqueIdentifier,
205 |                         to: $0.automaticSettingsNilIfEmpty.flatMap { Number($0) },
206 |                         sideEffect: sideEffect
    |                                     |- warning: capture of 'sideEffect' with non-sendable type '(() -> Void)?' in a `@Sendable` closure
    |                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
207 |                     )
208 |                 })
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewDSL.swift:222:13: warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
220 |             Text(label)
221 |                 .font(.body)
222 |             Spacer()
    |             `- warning: call to main actor-isolated initializer 'init(minLength:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 |             Text(value)
224 |                 .foregroundColor(.gray)
SwiftUICore.Spacer:4:50: note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
2 | @MainActor @frozen @preconcurrency public struct Spacer {
3 |     @MainActor @preconcurrency public var minLength: CGFloat?
4 |     @MainActor @inlinable @preconcurrency public init(minLength: CGFloat? = nil)
  |                                                  `- note: calls to initializer 'init(minLength:)' from outside of its actor context are implicitly asynchronous
5 |     @available(iOS 13.0, tvOS 13.0, watchOS 6.0, macOS 10.15, *)
6 |     public typealias Body = Never
/Users/admin/builder/spi-builder-workspace/Sources/AutomaticSettings/AutomaticSettingsViewModel.swift:8:6: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 6 |     public var current: Settings
 7 |
 8 |     @ObservedObject
   |      `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 9 |     public private(set) var externalData: ExternalData
10 |
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 5 |     }
 6 |     @MainActor @preconcurrency public init(initialValue: ObjectType)
 7 |     @MainActor @preconcurrency public init(wrappedValue: ObjectType)
   |                                       `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public var wrappedValue: ObjectType
 9 |     @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
Build complete! (11.30s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AutomaticSettings",
  "name" : "AutomaticSettings",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AutomaticSettings",
      "targets" : [
        "AutomaticSettings"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AutomaticSettingsTests",
      "module_type" : "SwiftTarget",
      "name" : "AutomaticSettingsTests",
      "path" : "Tests/AutomaticSettingsTests",
      "sources" : [
        "AutomaticSettingsTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "AutomaticSettings"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AutomaticSettings",
      "module_type" : "SwiftTarget",
      "name" : "AutomaticSettings",
      "path" : "Sources/AutomaticSettings",
      "product_memberships" : [
        "AutomaticSettings"
      ],
      "sources" : [
        "AutomaticSettingsProtocols.swift",
        "AutomaticSettingsViewDSL.swift",
        "AutomaticSettingsViewModel.swift",
        "Foundation+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.