Build Information
Successful build of DSFStepperView, reference 4.3.0 (9db5b3
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 12:54:27 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFStepperView.git
Reference: 4.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFStepperView
* tag 4.3.0 -> FETCH_HEAD
HEAD is now at 9db5b3a Update dependencies (fix Xcode 16 beta run-time crash)
Cloned https://github.com/dagronf/DSFStepperView.git
Revision (git rev-parse @):
9db5b3ab9981d6604c24e9f162a8eb21b0061baf
SUCCESS checkout https://github.com/dagronf/DSFStepperView.git at 4.3.0
Fetching https://github.com/dagronf/DSFAppearanceManager
[1/398] Fetching dsfappearancemanager
Fetched https://github.com/dagronf/DSFAppearanceManager from cache (1.09s)
Computing version for https://github.com/dagronf/DSFAppearanceManager
Computed https://github.com/dagronf/DSFAppearanceManager at 3.5.1 (0.65s)
Creating working copy for https://github.com/dagronf/DSFAppearanceManager
Working copy of https://github.com/dagronf/DSFAppearanceManager resolved at 3.5.1
========================================
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": "dsfstepperview",
"name": "DSFStepperView",
"url": "https://github.com/dagronf/DSFStepperView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFStepperView",
"dependencies": [
{
"identity": "dsfappearancemanager",
"name": "DSFAppearanceManager",
"url": "https://github.com/dagronf/DSFAppearanceManager",
"version": "3.5.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFAppearanceManager",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dagronf/DSFStepperView.git
[1/661] Fetching dsfstepperview
Fetched https://github.com/dagronf/DSFStepperView.git from cache (0.83s)
Fetching https://github.com/dagronf/DSFAppearanceManager from cache
Fetched https://github.com/dagronf/DSFAppearanceManager from cache (0.49s)
Computing version for https://github.com/dagronf/DSFAppearanceManager
Computed https://github.com/dagronf/DSFAppearanceManager at 3.5.1 (0.03s)
Creating working copy for https://github.com/dagronf/DSFStepperView.git
Working copy of https://github.com/dagronf/DSFStepperView.git resolved at 4.3.0 (9db5b3a)
Creating working copy for https://github.com/dagronf/DSFAppearanceManager
Working copy of https://github.com/dagronf/DSFAppearanceManager resolved at 3.5.1
warning: '.resolve-product-dependencies': dependency 'dsfstepperview' is not used by any target
Found 1 product dependencies
- DSFAppearanceManager
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dagronf/DSFStepperView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[2/8] Copying PrivacyInfo.xcprivacy
[3/8] Write swift-version--7754E27361AE5C74.txt
[5/20] Compiling DSFAppearanceManager DSFSimpleLock.swift
[6/21] Compiling DSFAppearanceManager WeakBox.swift
[7/21] Compiling DSFAppearanceManager AutoplayAnimatedImages.swift
[8/21] Compiling DSFAppearanceManager DSFDebounce.swift
[9/21] Compiling DSFAppearanceManager DSFAppearanceCache.swift
[10/21] Compiling DSFAppearanceManager DSFAppearanceManager+ChangeDetector.swift
[11/21] Compiling DSFAppearanceManager DSFAppearanceManager.swift
[12/21] Compiling DSFAppearanceManager NSView+Appearance.swift
[13/21] Emitting module DSFAppearanceManager
[14/21] Compiling DSFAppearanceManager NSAppearance+extensions.swift
[15/21] Compiling DSFAppearanceManager WeakBag.swift
[16/21] Compiling DSFAppearanceManager DSFAppearanceManager+Listeners.swift
[17/21] Compiling DSFAppearanceManager NSWindow+Appearance.swift
[18/31] Compiling DSFStepperView DSFDelayedRepeatingButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/private/DSFDelayedRepeatingButton.swift:85:18: warning: cannot access property 'eventTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
83 |
84 | deinit {
85 | self.eventTimer?.invalidate()
| `- warning: cannot access property 'eventTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
86 | self.eventTimer = nil
87 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/private/DSFDelayedRepeatingButton.swift:86:19: warning: cannot access property 'eventTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
84 | deinit {
85 | self.eventTimer?.invalidate()
86 | self.eventTimer = nil
| `- warning: cannot access property 'eventTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
87 | }
88 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[19/32] Compiling DSFStepperView resource_bundle_accessor.swift
[20/32] Compiling DSFStepperView ClampedValue.swift
[21/32] Compiling DSFStepperView DSFStepperView+iOS.swift
[22/32] Compiling DSFStepperView DSFStepperView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+macOS.swift:298:8: warning: main actor-isolated property 'observableCurrentObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
269 | private var isSettingPublishedValue = false
270 | private var cancellable: AnyObject?
271 | lazy private var observableCurrentObject: AnyObject? = {
| `- note: mutation of this property is only permitted within the actor
272 | if #available(OSX 10.15, *) {
273 | return CurrentValueSubject<CGFloat?, Never>(nil)
:
296 | }
297 | }
298 | self.observableCurrentObject = nil
| `- warning: main actor-isolated property 'observableCurrentObject' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
299 | }
300 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+macOS.swift:334:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
332 | public extension DSFStepperView {
333 | override func prepareForInterfaceBuilder() {
334 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
335 | }
336 |
:
354 | static let OptionalIndicatorValue = CGFloat.greatestFiniteMagnitude
355 |
356 | func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
357 |
358 | self.translatesAutoresizingMaskIntoConstraints = false
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+macOS.swift:293:25: warning: cannot access property 'cancellable' with a non-sendable type 'AnyObject?' from nonisolated deinit; this is an error in the Swift 6 language mode
291 | deinit {
292 | if #available(macOS 10.15, *) {
293 | if let cancel = self.cancellable as? AnyCancellable {
| `- warning: cannot access property 'cancellable' with a non-sendable type 'AnyObject?' from nonisolated deinit; this is an error in the Swift 6 language mode
294 | cancel.cancel()
295 | self.cancellable = nil
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+macOS.swift:295:22: warning: cannot access property 'cancellable' with a non-sendable type 'AnyObject?' from nonisolated deinit; this is an error in the Swift 6 language mode
293 | if let cancel = self.cancellable as? AnyCancellable {
294 | cancel.cancel()
295 | self.cancellable = nil
| `- warning: cannot access property 'cancellable' with a non-sendable type 'AnyObject?' from nonisolated deinit; this is an error in the Swift 6 language mode
296 | }
297 | }
[23/32] Compiling DSFStepperView DSFStepperView+utils.swift
[24/32] Compiling DSFStepperView DSFStepperView+localization.swift
[25/32] Compiling DSFStepperView DSFStepperView+textfield.swift
[26/32] Compiling DSFStepperView DSFStepperView+Delegate.swift
[27/32] Emitting module DSFStepperView
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:311:13: warning: static property '__demoConfig' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
79 | public struct DisplaySettings {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
80 | /// The allowable range of values
81 | let range: ClosedRange<CGFloat>
:
309 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, *)
310 | struct DemoValues {
311 | static let __demoConfig = DSFStepperView.SwiftUI.DisplaySettings(
| |- warning: static property '__demoConfig' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoConfig' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | range: 0 ... 100, increment: 1, allowsKeyboardInput: true
313 | )
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:315:13: warning: static property '__demoStyle' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
313 | )
314 |
315 | static let __demoStyle = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
316 | font: DSFFont.monospacedSystemFont(ofSize: 14, weight: .regular)
317 | )
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:319:13: warning: static property '__demoStyle1' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
317 | )
318 |
319 | static let __demoStyle1 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle1' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | font: DSFFont.monospacedSystemFont(ofSize: 10, weight: .regular)
321 | )
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:323:13: warning: static property '__demoStyle2' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
321 | )
322 |
323 | static let __demoStyle2 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle2' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 | textColor: DSFColor.systemRed,
325 | font: DSFFont.monospacedSystemFont(ofSize: 14, weight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:328:13: warning: static property '__demoStyle3' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
326 | )
327 |
328 | static let __demoStyle3 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle3' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | font: DSFFont.monospacedSystemFont(ofSize: 14, weight: .regular),
330 | strokeColor: DSFColor.systemBlue
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:333:13: warning: static property '__demoStyle4' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
331 | )
332 |
333 | static let __demoStyle4 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle4' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | textColor: DSFColor.white,
335 | font: DSFFont.monospacedDigitSystemFont(ofSize: 14, weight: .regular),
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:339:13: warning: static property '__demoStyle5' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
337 | )
338 |
339 | static let __demoStyle5 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle5' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 | font: DSFFont.monospacedDigitSystemFont(ofSize: 14, weight: .regular),
341 | indicatorColor: DSFColor.systemBlue
[28/32] Compiling DSFStepperView DSFStepperView+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:311:13: warning: static property '__demoConfig' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
79 | public struct DisplaySettings {
| `- note: consider making struct 'DisplaySettings' conform to the 'Sendable' protocol
80 | /// The allowable range of values
81 | let range: ClosedRange<CGFloat>
:
309 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, *)
310 | struct DemoValues {
311 | static let __demoConfig = DSFStepperView.SwiftUI.DisplaySettings(
| |- warning: static property '__demoConfig' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.DisplaySettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoConfig' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 | range: 0 ... 100, increment: 1, allowsKeyboardInput: true
313 | )
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:315:13: warning: static property '__demoStyle' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
313 | )
314 |
315 | static let __demoStyle = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
316 | font: DSFFont.monospacedSystemFont(ofSize: 14, weight: .regular)
317 | )
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:319:13: warning: static property '__demoStyle1' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
317 | )
318 |
319 | static let __demoStyle1 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle1' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
320 | font: DSFFont.monospacedSystemFont(ofSize: 10, weight: .regular)
321 | )
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:323:13: warning: static property '__demoStyle2' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
321 | )
322 |
323 | static let __demoStyle2 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle2' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 | textColor: DSFColor.systemRed,
325 | font: DSFFont.monospacedSystemFont(ofSize: 14, weight: .regular)
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:328:13: warning: static property '__demoStyle3' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
326 | )
327 |
328 | static let __demoStyle3 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle3' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | font: DSFFont.monospacedSystemFont(ofSize: 14, weight: .regular),
330 | strokeColor: DSFColor.systemBlue
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:333:13: warning: static property '__demoStyle4' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
331 | )
332 |
333 | static let __demoStyle4 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle4' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | textColor: DSFColor.white,
335 | font: DSFFont.monospacedDigitSystemFont(ofSize: 14, weight: .regular),
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:339:13: warning: static property '__demoStyle5' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// A style object to define the look and feel of a DSFStepperView.SwiftUI control
44 | public struct Style {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
45 | /// The color to draw the central value
46 | public var textColor: DSFColor?
:
337 | )
338 |
339 | static let __demoStyle5 = DSFStepperView.SwiftUI.Style(
| |- warning: static property '__demoStyle5' is not concurrency-safe because non-'Sendable' type 'DSFStepperView.SwiftUI.Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '__demoStyle5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 | font: DSFFont.monospacedDigitSystemFont(ofSize: 14, weight: .regular),
341 | indicatorColor: DSFColor.systemBlue
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:296:21: warning: capture of 'self' with non-sendable type 'DSFStepperView.SwiftUI.Coordinator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
272 | @available(macOS 10.15, macCatalyst 13.1.0, *)
273 | extension DSFStepperView.SwiftUI {
274 | public class Coordinator: NSObject, DSFStepperViewDelegateProtocol {
| `- note: class 'Coordinator' does not conform to the 'Sendable' protocol
275 | let parent: DSFStepperView.SwiftUI
276 |
:
294 |
295 | DispatchQueue.main.async { [weak self] in
296 | if let parent = self?.parent {
| `- warning: capture of 'self' with non-sendable type 'DSFStepperView.SwiftUI.Coordinator?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
297 | parent.floatValue = newValue
298 | parent.onValueChange?(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:297:26: warning: reference to captured var 'newValue' in concurrently-executing code; this is an error in the Swift 6 language mode
295 | DispatchQueue.main.async { [weak self] in
296 | if let parent = self?.parent {
297 | parent.floatValue = newValue
| `- warning: reference to captured var 'newValue' in concurrently-executing code; this is an error in the Swift 6 language mode
298 | parent.onValueChange?(newValue)
299 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:298:28: warning: reference to captured var 'newValue' in concurrently-executing code; this is an error in the Swift 6 language mode
296 | if let parent = self?.parent {
297 | parent.floatValue = newValue
298 | parent.onValueChange?(newValue)
| `- warning: reference to captured var 'newValue' in concurrently-executing code; this is an error in the Swift 6 language mode
299 | }
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/DSFStepperView+SwiftUI.swift:296:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
294 |
295 | DispatchQueue.main.async { [weak self] in
296 | if let parent = self?.parent {
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
297 | parent.floatValue = newValue
298 | parent.onValueChange?(newValue)
[28/32] Write Objects.LinkFileList
[30/32] Archiving libDSFStepperView-static.a
[31/32] Linking libDSFStepperView-shared.dylib
Build complete! (22.13s)
Build complete.
{
"dependencies" : [
{
"identity" : "dsfappearancemanager",
"requirement" : {
"range" : [
{
"lower_bound" : "3.5.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/DSFAppearanceManager"
}
],
"manifest_display_name" : "DSFStepperView",
"name" : "DSFStepperView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DSFStepperView",
"targets" : [
"DSFStepperView"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DSFStepperView-static",
"targets" : [
"DSFStepperView"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DSFStepperView-shared",
"targets" : [
"DSFStepperView"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFStepperViewTests",
"module_type" : "SwiftTarget",
"name" : "DSFStepperViewTests",
"path" : "Tests/DSFStepperViewTests",
"sources" : [
"DSFStepperViewTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DSFStepperView"
],
"type" : "test"
},
{
"c99name" : "DSFStepperView",
"module_type" : "SwiftTarget",
"name" : "DSFStepperView",
"path" : "Sources/DSFStepperView",
"product_dependencies" : [
"DSFAppearanceManager"
],
"product_memberships" : [
"DSFStepperView",
"DSFStepperView-static",
"DSFStepperView-shared"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFStepperView/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DSFStepperView+Delegate.swift",
"DSFStepperView+SwiftUI.swift",
"DSFStepperView+iOS.swift",
"DSFStepperView+macOS.swift",
"private/ClampedValue.swift",
"private/DSFDelayedRepeatingButton.swift",
"private/DSFStepperView+localization.swift",
"private/DSFStepperView+textfield.swift",
"private/DSFStepperView+utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.