Build Information
Successful build of CircularProgress, reference main (576adc
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 20:25:47 UTC.
Swift 6 data race errors: 8
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/sindresorhus/CircularProgress.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sindresorhus/CircularProgress
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 576adc4 Tweaks
Cloned https://github.com/sindresorhus/CircularProgress.git
Revision (git rev-parse @):
576adc48fee51b27ac51f0271297f9f69571e9e6
SUCCESS checkout https://github.com/sindresorhus/CircularProgress.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": "circularprogress",
"name": "CircularProgress",
"url": "https://github.com/sindresorhus/CircularProgress.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CircularProgress",
"dependencies": [
]
}
]
}
Fetching https://github.com/sindresorhus/CircularProgress.git
[11/1063] Fetching circularprogress
Fetched https://github.com/sindresorhus/CircularProgress.git from cache (1.30s)
Creating working copy for https://github.com/sindresorhus/CircularProgress.git
Working copy of https://github.com/sindresorhus/CircularProgress.git resolved at main (576adc4)
warning: '.resolve-product-dependencies': dependency 'circularprogress' 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/sindresorhus/CircularProgress.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling CircularProgress CustomButton+Utilities.swift
[4/8] Compiling CircularProgress CheckmarkView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:101:13: warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
| |- warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeOut' 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
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
103 | }
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
[5/8] Emitting module CircularProgress
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:101:13: warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
| |- warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeOut' 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
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
103 | }
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:175:13: warning: static property 'helveticaNeueLight' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
173 |
174 | extension NSFont {
175 | static let helveticaNeueLight = NSFont(name: "HelveticaNeue-Light", size: 0)
| |- warning: static property 'helveticaNeueLight' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'helveticaNeueLight' 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
176 | }
177 |
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/CircularProgress/CircularProgress.swift:222:23: warning: main actor-isolated instance method 'prepareForInterfaceBuilder()' has different actor isolation from nonisolated overridden declaration; this is an error in the Swift 6 language mode
220 |
221 | @MainActor
222 | override public func prepareForInterfaceBuilder() {
| `- warning: main actor-isolated instance method 'prepareForInterfaceBuilder()' has different actor isolation from nonisolated overridden declaration; this is an error in the Swift 6 language mode
223 | super.prepareForInterfaceBuilder()
224 | commonInit()
AppKit.NSObject:7:15: note: overridden declaration is here
5 | open class func prepareForInterfaceBuilder()
6 | @available(macOS 10.10, *)
7 | open func prepareForInterfaceBuilder()
| `- note: overridden declaration is here
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:98:13: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
96 |
97 | extension CAMediaTimingFunction {
98 | static let `default` = CAMediaTimingFunction(name: .default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:99:13: warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
97 | extension CAMediaTimingFunction {
98 | static let `default` = CAMediaTimingFunction(name: .default)
99 | static let linear = CAMediaTimingFunction(name: .linear)
| |- warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'linear' 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
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:100:13: warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let `default` = CAMediaTimingFunction(name: .default)
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
| |- warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeIn' 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
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:102:13: warning: static property 'easeInOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
| |- warning: static property 'easeInOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeInOut' 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
103 | }
104 |
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:353:14: warning: static property 'onActionClosure' is not concurrency-safe because non-'Sendable' type 'AssociatedObject<NSControl.ActionClosure>' (aka 'AssociatedObject<(NSControl) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
336 |
337 |
338 | final class AssociatedObject<T: Any> {
| `- note: generic class 'AssociatedObject' does not conform to the 'Sendable' protocol
339 | subscript(index: AnyObject) -> T? {
340 | get {
:
351 |
352 | private enum AssociatedKeys {
353 | static let onActionClosure = AssociatedObject<ActionClosure>()
| |- warning: static property 'onActionClosure' is not concurrency-safe because non-'Sendable' type 'AssociatedObject<NSControl.ActionClosure>' (aka 'AssociatedObject<(NSControl) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onActionClosure' 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
354 | }
355 |
[6/8] Compiling CircularProgress CustomButton.swift
[7/8] Compiling CircularProgress Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:98:13: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
96 |
97 | extension CAMediaTimingFunction {
98 | static let `default` = CAMediaTimingFunction(name: .default)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:99:13: warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
97 | extension CAMediaTimingFunction {
98 | static let `default` = CAMediaTimingFunction(name: .default)
99 | static let linear = CAMediaTimingFunction(name: .linear)
| |- warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'linear' 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
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:100:13: warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let `default` = CAMediaTimingFunction(name: .default)
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
| |- warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeIn' 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
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:101:13: warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
| |- warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeOut' 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
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
103 | }
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:102:13: warning: static property 'easeInOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
| |- warning: static property 'easeInOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeInOut' 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
103 | }
104 |
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:175:13: warning: static property 'helveticaNeueLight' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
173 |
174 | extension NSFont {
175 | static let helveticaNeueLight = NSFont(name: "HelveticaNeue-Light", size: 0)
| |- warning: static property 'helveticaNeueLight' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'helveticaNeueLight' 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
176 | }
177 |
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/CircularProgress/Utilities.swift:353:14: warning: static property 'onActionClosure' is not concurrency-safe because non-'Sendable' type 'AssociatedObject<NSControl.ActionClosure>' (aka 'AssociatedObject<(NSControl) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
336 |
337 |
338 | final class AssociatedObject<T: Any> {
| `- note: generic class 'AssociatedObject' does not conform to the 'Sendable' protocol
339 | subscript(index: AnyObject) -> T? {
340 | get {
:
351 |
352 | private enum AssociatedKeys {
353 | static let onActionClosure = AssociatedObject<ActionClosure>()
| |- warning: static property 'onActionClosure' is not concurrency-safe because non-'Sendable' type 'AssociatedObject<NSControl.ActionClosure>' (aka 'AssociatedObject<(NSControl) -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'onActionClosure' 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
354 | }
355 |
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:92:52: warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
89 | ```
90 | */
91 | func asyncAfter(duration: TimeInterval, execute: @escaping () -> Void) {
| `- note: parameter 'execute' is implicitly non-sendable
92 | asyncAfter(deadline: .now() + duration, execute: execute)
| `- warning: passing non-sendable parameter 'execute' to function expecting a @Sendable closure
93 | }
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:117:45: warning: capture of 'timingFunction' with non-sendable type 'CAMediaTimingFunction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
115 | CATransaction.begin()
116 | CATransaction.setAnimationDuration(duration)
117 | CATransaction.setAnimationTimingFunction(timingFunction)
| `- warning: capture of 'timingFunction' with non-sendable type 'CAMediaTimingFunction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 |
119 | if let completion {
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:119:11: warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 | CATransaction.setAnimationTimingFunction(timingFunction)
118 |
119 | if let completion {
| |- warning: capture of 'completion' with non-sendable type '(() -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 | CATransaction.setCompletionBlock(completion)
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:123:4: warning: capture of 'animations' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
121 | }
122 |
123 | animations()
| |- warning: capture of 'animations' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
124 | CATransaction.commit()
125 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:117:45: warning: sending 'timingFunction' risks causing data races; this is an error in the Swift 6 language mode
115 | CATransaction.begin()
116 | CATransaction.setAnimationDuration(duration)
117 | CATransaction.setAnimationTimingFunction(timingFunction)
| |- warning: sending 'timingFunction' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'timingFunction' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
118 |
119 | if let completion {
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:119:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
117 | CATransaction.setAnimationTimingFunction(timingFunction)
118 |
119 | if let completion {
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
120 | CATransaction.setCompletionBlock(completion)
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:123:4: warning: sending 'animations' risks causing data races; this is an error in the Swift 6 language mode
121 | }
122 |
123 | animations()
| |- warning: sending 'animations' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'animations' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
124 | CATransaction.commit()
125 | }
[8/8] Compiling CircularProgress CircularProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:175:13: warning: static property 'helveticaNeueLight' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
173 |
174 | extension NSFont {
175 | static let helveticaNeueLight = NSFont(name: "HelveticaNeue-Light", size: 0)
| |- warning: static property 'helveticaNeueLight' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'helveticaNeueLight' 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
176 | }
177 |
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/CircularProgress/CircularProgress.swift:222:23: warning: main actor-isolated instance method 'prepareForInterfaceBuilder()' has different actor isolation from nonisolated overridden declaration; this is an error in the Swift 6 language mode
220 |
221 | @MainActor
222 | override public func prepareForInterfaceBuilder() {
| `- warning: main actor-isolated instance method 'prepareForInterfaceBuilder()' has different actor isolation from nonisolated overridden declaration; this is an error in the Swift 6 language mode
223 | super.prepareForInterfaceBuilder()
224 | commonInit()
AppKit.NSObject:7:15: note: overridden declaration is here
5 | open class func prepareForInterfaceBuilder()
6 | @available(macOS 10.10, *)
7 | open func prepareForInterfaceBuilder()
| `- note: overridden declaration is here
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/CircularProgress/Utilities.swift:101:13: warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
99 | static let linear = CAMediaTimingFunction(name: .linear)
100 | static let easeIn = CAMediaTimingFunction(name: .easeIn)
101 | static let easeOut = CAMediaTimingFunction(name: .easeOut)
| |- warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'easeOut' 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
102 | static let easeInOut = CAMediaTimingFunction(name: .easeInEaseOut)
103 | }
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.5, *)
2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
| `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
3 | public convenience init(name: CAMediaTimingFunctionName)
4 | @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
Build complete! (9.78s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CircularProgress",
"name" : "CircularProgress",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "CircularProgress",
"targets" : [
"CircularProgress"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CircularProgress",
"module_type" : "SwiftTarget",
"name" : "CircularProgress",
"path" : "Sources/CircularProgress",
"product_memberships" : [
"CircularProgress"
],
"sources" : [
"CheckmarkView.swift",
"CircularProgress.swift",
"Utilities.swift",
"Vendored/CustomButton+Utilities.swift",
"Vendored/CustomButton.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.