Build Information
Successful build of SwiftyUtils, reference master (84d11e
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 01:20:58 UTC.
Swift 6 data race errors: 4
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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tbaranes/SwiftyUtils.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tbaranes/SwiftyUtils
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 84d11ed Merge pull request #156 from mredig/master
Cloned https://github.com/tbaranes/SwiftyUtils.git
Revision (git rev-parse @):
84d11ed7cefea85f013e088c867f8929aa37454c
SUCCESS checkout https://github.com/tbaranes/SwiftyUtils.git at master
========================================
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": "swiftyutils",
"name": "SwiftyUtils",
"url": "https://github.com/tbaranes/SwiftyUtils.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyUtils",
"dependencies": [
]
}
]
}
Fetching https://github.com/tbaranes/SwiftyUtils.git
[1/3944] Fetching swiftyutils
Fetched https://github.com/tbaranes/SwiftyUtils.git from cache (1.01s)
Creating working copy for https://github.com/tbaranes/SwiftyUtils.git
Working copy of https://github.com/tbaranes/SwiftyUtils.git resolved at master (84d11ed)
warning: '.resolve-product-dependencies': dependency 'swiftyutils' 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/tbaranes/SwiftyUtils.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 -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--7754E27361AE5C74.txt
[3/57] Emitting module SwiftyUtils
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public struct SUByteCountFormatter {
18 | public static let shared = ByteCountFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 | }
20 |
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct SUEnergyFormatter {
30 | public static let shared = EnergyFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 | }
32 |
Foundation.EnergyFormatter:2:12: note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class EnergyFormatter : Formatter {
| `- note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:34:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct SUMassFormatter {
34 | public static let shared = MassFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
35 | }
36 |
Foundation.MassFormatter:2:12: note: class 'MassFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class MassFormatter : Formatter {
| `- note: class 'MassFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public struct SULengthFormatter {
38 | public static let shared = LengthFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 | }
40 |
Foundation.LengthFormatter:2:12: note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class LengthFormatter : Formatter {
| `- note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
[4/62] Compiling SwiftyUtils UITableViewExtension.swift
[5/62] Compiling SwiftyUtils UITextFieldExtension.swift
[6/62] Compiling SwiftyUtils UITextViewExtension.swift
[7/62] Compiling SwiftyUtils UIViewExtension.swift
[8/62] Compiling SwiftyUtils UIViewControllerExtension.swift
[9/62] Compiling SwiftyUtils UITesting.swift
[10/62] Compiling SwiftyUtils URLExtension.swift
[11/62] Compiling SwiftyUtils UserDefaultsExtension.swift
[12/62] Compiling SwiftyUtils ArrayExtension.swift
[13/62] Compiling SwiftyUtils DataExtension.swift
[14/62] Compiling SwiftyUtils DictionaryExtension.swift
[15/62] Compiling SwiftyUtils DoubleExtension.swift
[16/62] Compiling SwiftyUtils NSMutableAttributedStringExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:74: warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
4 | //
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
7 |
8 | // MARK: - Misc
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public struct SUByteCountFormatter {
18 | public static let shared = ByteCountFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 | }
20 |
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct SUEnergyFormatter {
30 | public static let shared = EnergyFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 | }
32 |
Foundation.EnergyFormatter:2:12: note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class EnergyFormatter : Formatter {
| `- note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:34:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct SUMassFormatter {
34 | public static let shared = MassFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
35 | }
36 |
Foundation.MassFormatter:2:12: note: class 'MassFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class MassFormatter : Formatter {
| `- note: class 'MassFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public struct SULengthFormatter {
38 | public static let shared = LengthFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 | }
40 |
Foundation.LengthFormatter:2:12: note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class LengthFormatter : Formatter {
| `- note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
[17/62] Compiling SwiftyUtils NSObjectExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:74: warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
4 | //
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
7 |
8 | // MARK: - Misc
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public struct SUByteCountFormatter {
18 | public static let shared = ByteCountFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 | }
20 |
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct SUEnergyFormatter {
30 | public static let shared = EnergyFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 | }
32 |
Foundation.EnergyFormatter:2:12: note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class EnergyFormatter : Formatter {
| `- note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:34:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct SUMassFormatter {
34 | public static let shared = MassFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
35 | }
36 |
Foundation.MassFormatter:2:12: note: class 'MassFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class MassFormatter : Formatter {
| `- note: class 'MassFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public struct SULengthFormatter {
38 | public static let shared = LengthFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 | }
40 |
Foundation.LengthFormatter:2:12: note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class LengthFormatter : Formatter {
| `- note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
[18/62] Compiling SwiftyUtils NSRangeExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:74: warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
4 | //
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
7 |
8 | // MARK: - Misc
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public struct SUByteCountFormatter {
18 | public static let shared = ByteCountFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 | }
20 |
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct SUEnergyFormatter {
30 | public static let shared = EnergyFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 | }
32 |
Foundation.EnergyFormatter:2:12: note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class EnergyFormatter : Formatter {
| `- note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:34:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct SUMassFormatter {
34 | public static let shared = MassFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
35 | }
36 |
Foundation.MassFormatter:2:12: note: class 'MassFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class MassFormatter : Formatter {
| `- note: class 'MassFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public struct SULengthFormatter {
38 | public static let shared = LengthFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 | }
40 |
Foundation.LengthFormatter:2:12: note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class LengthFormatter : Formatter {
| `- note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
[19/62] Compiling SwiftyUtils NotificationCenterExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:74: warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
4 | //
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
7 |
8 | // MARK: - Misc
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public struct SUByteCountFormatter {
18 | public static let shared = ByteCountFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 | }
20 |
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct SUEnergyFormatter {
30 | public static let shared = EnergyFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 | }
32 |
Foundation.EnergyFormatter:2:12: note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class EnergyFormatter : Formatter {
| `- note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:34:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct SUMassFormatter {
34 | public static let shared = MassFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
35 | }
36 |
Foundation.MassFormatter:2:12: note: class 'MassFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class MassFormatter : Formatter {
| `- note: class 'MassFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public struct SULengthFormatter {
38 | public static let shared = LengthFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 | }
40 |
Foundation.LengthFormatter:2:12: note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class LengthFormatter : Formatter {
| `- note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
[20/62] Compiling SwiftyUtils ReusableFormatters.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:74: warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
4 | //
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
7 |
8 | // MARK: - Misc
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public struct SUByteCountFormatter {
18 | public static let shared = ByteCountFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 | }
20 |
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct SUEnergyFormatter {
30 | public static let shared = EnergyFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 | }
32 |
Foundation.EnergyFormatter:2:12: note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class EnergyFormatter : Formatter {
| `- note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:34:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct SUMassFormatter {
34 | public static let shared = MassFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
35 | }
36 |
Foundation.MassFormatter:2:12: note: class 'MassFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class MassFormatter : Formatter {
| `- note: class 'MassFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public struct SULengthFormatter {
38 | public static let shared = LengthFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 | }
40 |
Foundation.LengthFormatter:2:12: note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class LengthFormatter : Formatter {
| `- note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
[21/62] Compiling SwiftyUtils TimerExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:74: warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'object' with non-sendable type 'AnyObject?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
ObjectiveC.NSObject:2:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSObject : NSObjectProtocol {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
3 | open class func load()
4 | open class func initialize()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
4 | //
5 |
6 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ObjectiveC'
7 |
8 | // MARK: - Misc
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift:25:92: warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
23 | queue: DispatchQueue) {
24 | queue.async {
25 | self.post(name: NSNotification.Name(rawValue: name), object: object, userInfo: userInfo)
| `- warning: capture of 'userInfo' with non-sendable type '[NSObject : AnyObject]?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
26 | }
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:18:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public struct SUByteCountFormatter {
18 | public static let shared = ByteCountFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ByteCountFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
19 | }
20 |
Foundation.ByteCountFormatter:2:12: note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.8, *)
2 | open class ByteCountFormatter : Formatter {
| `- note: class 'ByteCountFormatter' does not conform to the 'Sendable' protocol
3 | open class func string(fromByteCount byteCount: Int64, countStyle: ByteCountFormatter.CountStyle) -> String
4 | @available(swift, obsoleted: 3, renamed: "string(fromByteCount:countStyle:)")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:30:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct SUEnergyFormatter {
30 | public static let shared = EnergyFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EnergyFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
31 | }
32 |
Foundation.EnergyFormatter:2:12: note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class EnergyFormatter : Formatter {
| `- note: class 'EnergyFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:34:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public struct SUMassFormatter {
34 | public static let shared = MassFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MassFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
35 | }
36 |
Foundation.MassFormatter:2:12: note: class 'MassFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class MassFormatter : Formatter {
| `- note: class 'MassFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift:38:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public struct SULengthFormatter {
38 | public static let shared = LengthFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'LengthFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
39 | }
40 |
Foundation.LengthFormatter:2:12: note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.10, *)
2 | open class LengthFormatter : Formatter {
| `- note: class 'LengthFormatter' does not conform to the 'Sendable' protocol
3 | @NSCopying open var numberFormatter: NumberFormatter! { get set }
4 | open var unitStyle: Formatter.UnitStyle { get set }
[22/62] Compiling SwiftyUtils UIImageExtension.swift
[23/62] Compiling SwiftyUtils UILabelExtension.swift
[24/62] Compiling SwiftyUtils UIScreenExtension.swift
[25/62] Compiling SwiftyUtils UISliderExtension.swift
[26/62] Compiling SwiftyUtils UIStoryboardExtension.swift
[27/62] Compiling SwiftyUtils UISwitchExtension.swift
[28/62] Compiling SwiftyUtils BundleExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:26:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | case .height:
28 | constant = toView.bounds.height * multiplier
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:28:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
27 | case .height:
28 | constant = toView.bounds.height * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | default:
30 | break
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
[29/62] Compiling SwiftyUtils ColorExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:26:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | case .height:
28 | constant = toView.bounds.height * multiplier
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:28:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
27 | case .height:
28 | constant = toView.bounds.height * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | default:
30 | break
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
[30/62] Compiling SwiftyUtils DateExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:26:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | case .height:
28 | constant = toView.bounds.height * multiplier
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:28:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
27 | case .height:
28 | constant = toView.bounds.height * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | default:
30 | break
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
[31/62] Compiling SwiftyUtils FileManagerExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:26:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | case .height:
28 | constant = toView.bounds.height * multiplier
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:28:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
27 | case .height:
28 | constant = toView.bounds.height * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | default:
30 | break
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
[32/62] Compiling SwiftyUtils NSAttributedStringExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:26:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | case .height:
28 | constant = toView.bounds.height * multiplier
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:28:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
27 | case .height:
28 | constant = toView.bounds.height * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | default:
30 | break
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
[33/62] Compiling SwiftyUtils NSLayoutConstraintsExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:26:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
27 | case .height:
28 | constant = toView.bounds.height * multiplier
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift:28:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | /// - multiplier: the multiplier which will be applied to the constant.
22 | /// - toView: the view used to get the width or height to calculate the new constant.
23 | public func apply(multiplier: CGFloat, toView: SwiftyView) {
| `- note: add '@MainActor' to make instance method 'apply(multiplier:toView:)' part of global actor 'MainActor'
24 | switch firstAttribute {
25 | case .width:
26 | constant = toView.bounds.width * multiplier
27 | case .height:
28 | constant = toView.bounds.height * multiplier
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | default:
30 | break
AppKit.NSView:76:25: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | @MainActor open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
[34/62] Compiling SwiftyUtils UIApplicationExtension.swift
[35/62] Compiling SwiftyUtils UIButtonExtension.swift
[36/62] Compiling SwiftyUtils UICollectionViewExtension.swift
[37/62] Compiling SwiftyUtils UICollectionViewCellExtension.swift
[38/62] Compiling SwiftyUtils UIDeviceExtension.swift
[39/62] Compiling SwiftyUtils UIFontExtension.swift
[40/62] Compiling SwiftyUtils UnitTesting.swift
[41/62] Compiling SwiftyUtils SystemUtility.swift
[42/62] Compiling SwiftyUtils UserDefaultsBacked.swift
[43/62] Compiling SwiftyUtils AnyOptional.swift
[44/62] Compiling SwiftyUtils Injectable.swift
[45/62] Compiling SwiftyUtils Occupiable.swift
[46/62] Compiling SwiftyUtils Then.swift
[47/62] Compiling SwiftyUtils NibLoadable.swift
[48/62] Compiling SwiftyUtils NibOwnerLoadable.swift
[49/62] Compiling SwiftyUtils Reusable.swift
[50/62] Compiling SwiftyUtils UIElementPreview.swift
[51/62] Compiling SwiftyUtils Constants.swift
[52/62] Compiling SwiftyUtils NSViewExtension.swift
[53/62] Compiling SwiftyUtils CGFloatLiteral.swift
[54/62] Compiling SwiftyUtils CGPointExtension.swift
[55/62] Compiling SwiftyUtils CGRectExtensions.swift
[56/62] Compiling SwiftyUtils CGSizeExtension.swift
[57/62] Compiling SwiftyUtils IntExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | }
22 |
[58/62] Compiling SwiftyUtils MutableCollectionExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | }
22 |
[59/62] Compiling SwiftyUtils SequenceExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | }
22 |
[60/62] Compiling SwiftyUtils StringExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | }
22 |
[61/62] Compiling SwiftyUtils BindingExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | }
22 |
[62/62] Compiling SwiftyUtils UIAlertControllerExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:19:31: warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
17 | public static func mock(_ value: Value) -> Self {
18 | var value = value
19 | return Binding(get: { value },
| `- warning: reference to captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
20 | set: { value = $0 })
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/SwiftUI/BindingExtension.swift:20:31: warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
18 | var value = value
19 | return Binding(get: { value },
20 | set: { value = $0 })
| `- warning: mutation of captured var 'value' in concurrently-executing code; this is an error in the Swift 6 language mode
21 | }
22 |
Build complete! (21.17s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyUtils",
"name" : "SwiftyUtils",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "SwiftyUtils",
"targets" : [
"SwiftyUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyUtilsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyUtilsTests",
"path" : "Tests",
"sources" : [
"Extensions/AppKit/NSView/NSViewExtensionsTest.swift",
"Extensions/CoreGraphics/CGFloatLiteral/CGFloatLiteralTests.swift",
"Extensions/CoreGraphics/CGPoint/CGPointExtensionTests.swift",
"Extensions/CoreGraphics/CGRect/CGRectExtensionTest.swift",
"Extensions/CoreGraphics/CGSize/CGSizeExtensionTests.swift",
"Extensions/Foundation/Bundle/BundleExtensionTests.swift",
"Extensions/Foundation/Color/SwiftyColorTests.swift",
"Extensions/Foundation/Date/DateExtensionTests.swift",
"Extensions/Foundation/FileManager/FileManagerTests.swift",
"Extensions/Foundation/NSAttributedString/NSAttributedStringExtensionTests.swift",
"Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintExtensionTests.swift",
"Extensions/Foundation/NSMutableAttributedString/NSMutableAttributedStringExtensionTests.swift",
"Extensions/Foundation/NSObject/NSObjectExtensionTests.swift",
"Extensions/Foundation/NSRange/NSRangeExtensionTests.swift",
"Extensions/Foundation/ReusableFormatters/ReusableFormattersTests.swift",
"Extensions/Foundation/Timer/TimerExtensionTests.swift",
"Extensions/Foundation/URL/URLExtensionTests.swift",
"Extensions/Foundation/UserDefaults/UserDefaultsExtensionTests.swift",
"Extensions/Swift/Array/ArrayExtensionTests.swift",
"Extensions/Swift/Data/DataExtensionTests.swift",
"Extensions/Swift/Dictionary/DictionaryExtensionTests.swift",
"Extensions/Swift/Double/DoubleExtensionTests.swift",
"Extensions/Swift/Int/IntExtensionTests.swift",
"Extensions/Swift/MutableCollection/MutableExtensionTests.swift",
"Extensions/Swift/Sequence/SequenceExtensionTests.swift",
"Extensions/Swift/String/StringExtensionTests.swift",
"Extensions/UIKit/UIAlertController/UIAlertControllerExtensionTests.swift",
"Extensions/UIKit/UIButton/UIButtonExtensionTests.swift",
"Extensions/UIKit/UICollectionView/UICollectionViewExtensionTests.swift",
"Extensions/UIKit/UICollectionViewCell/UICollectionViewCellExtensionTests.swift",
"Extensions/UIKit/UIDevice/UIDeviceExtensionTests.swift",
"Extensions/UIKit/UIFont/UIFontExtensionTests.swift",
"Extensions/UIKit/UIImage/UIImageExtensionTests.swift",
"Extensions/UIKit/UILabel/UILabelExtensionTests.swift",
"Extensions/UIKit/UIScreen/UIScreenExtensionTests.swift",
"Extensions/UIKit/UISwitch/UISwitchExtensionTests.swift",
"Extensions/UIKit/UITableView/UITableViewTests.swift",
"Extensions/UIKit/UITextField/UITextFieldExtensionTests.swift",
"Extensions/UIKit/UITextView/UITextViewExtensionTests.swift",
"Extensions/UIKit/UIView/UIViewExtensionTests.swift",
"Extensions/UIKit/UIViewController/UIViewControllerExtensionTests.swift",
"Others/UITestingTests.swift",
"Others/UnitTestingTests.swift",
"Others/macOS/SystemUtilityTests.swift",
"PropertyWrappers/UserDefaultsBackedTests.swift",
"Protocols/Swift/AnyOptionalTests.swift",
"Protocols/Swift/OccupiableTests.swift",
"Protocols/Swift/ThenTest.swift",
"Protocols/UIKit/NibLoadableTests.swift",
"Protocols/UIKit/NibOwnerLoadableTests.swift",
"Vendors/UIKit/UICollectionViewCell/ReusableClassCollectionViewCell.swift",
"Vendors/UIKit/UICollectionViewCell/ReusableCollectionReusableView.swift",
"Vendors/UIKit/UICollectionViewCell/ReusableNibCollectionReusableView.swift",
"Vendors/UIKit/UICollectionViewCell/ReusableNibCollectionViewCell.swift",
"Vendors/UIKit/Vendor/UITableViewCell/ReusableClassHeaderFooterView.swift",
"Vendors/UIKit/Vendor/UITableViewCell/ReusableClassTableViewCell.swift",
"Vendors/UIKit/Vendor/UITableViewCell/ReusableNibHeaderFooterView.swift",
"Vendors/UIKit/Vendor/UITableViewCell/ReusableNibTableViewCell.swift",
"Vendors/UIKit/Views/NibLoadableView.swift",
"Vendors/UIKit/Views/NibOwnerLoadableView.swift"
],
"target_dependencies" : [
"SwiftyUtils"
],
"type" : "test"
},
{
"c99name" : "SwiftyUtils",
"module_type" : "SwiftTarget",
"name" : "SwiftyUtils",
"path" : "Sources",
"product_memberships" : [
"SwiftyUtils"
],
"sources" : [
"Constants.swift",
"Extensions/AppKit/NSView/NSViewExtension.swift",
"Extensions/CoreGraphics/CGFloatLiteral/CGFloatLiteral.swift",
"Extensions/CoreGraphics/CGPoint/CGPointExtension.swift",
"Extensions/CoreGraphics/CGRect/CGRectExtensions.swift",
"Extensions/CoreGraphics/CGSize/CGSizeExtension.swift",
"Extensions/Foundation/Bundle/BundleExtension.swift",
"Extensions/Foundation/Color/ColorExtension.swift",
"Extensions/Foundation/Date/DateExtension.swift",
"Extensions/Foundation/FileManager/FileManagerExtension.swift",
"Extensions/Foundation/NSAttributedString/NSAttributedStringExtension.swift",
"Extensions/Foundation/NSLayoutConstraint/NSLayoutConstraintsExtension.swift",
"Extensions/Foundation/NSMutableAttributedString/NSMutableAttributedStringExtension.swift",
"Extensions/Foundation/NSObject/NSObjectExtension.swift",
"Extensions/Foundation/NSRange/NSRangeExtension.swift",
"Extensions/Foundation/NotificationCenter/NotificationCenterExtension.swift",
"Extensions/Foundation/ReusableFormatters/ReusableFormatters.swift",
"Extensions/Foundation/Timer/TimerExtension.swift",
"Extensions/Foundation/URL/URLExtension.swift",
"Extensions/Foundation/UserDefaults/UserDefaultsExtension.swift",
"Extensions/Swift/Array/ArrayExtension.swift",
"Extensions/Swift/Data/DataExtension.swift",
"Extensions/Swift/Dictionary/DictionaryExtension.swift",
"Extensions/Swift/Double/DoubleExtension.swift",
"Extensions/Swift/Int/IntExtension.swift",
"Extensions/Swift/MutableCollection/MutableCollectionExtension.swift",
"Extensions/Swift/Sequence/SequenceExtension.swift",
"Extensions/Swift/String/StringExtension.swift",
"Extensions/SwiftUI/BindingExtension.swift",
"Extensions/UIKit/UIAlertController/UIAlertControllerExtension.swift",
"Extensions/UIKit/UIApplication/UIApplicationExtension.swift",
"Extensions/UIKit/UIButton/UIButtonExtension.swift",
"Extensions/UIKit/UICollectionView/UICollectionViewExtension.swift",
"Extensions/UIKit/UICollectionViewCell/UICollectionViewCellExtension.swift",
"Extensions/UIKit/UIDevice/UIDeviceExtension.swift",
"Extensions/UIKit/UIFont/UIFontExtension.swift",
"Extensions/UIKit/UIImage/UIImageExtension.swift",
"Extensions/UIKit/UILabel/UILabelExtension.swift",
"Extensions/UIKit/UIScreen/UIScreenExtension.swift",
"Extensions/UIKit/UISlider/UISliderExtension.swift",
"Extensions/UIKit/UIStoryboard/UIStoryboardExtension.swift",
"Extensions/UIKit/UISwitch/UISwitchExtension.swift",
"Extensions/UIKit/UITableView/UITableViewExtension.swift",
"Extensions/UIKit/UITextField/UITextFieldExtension.swift",
"Extensions/UIKit/UITextView/UITextViewExtension.swift",
"Extensions/UIKit/UIView/UIViewExtension.swift",
"Extensions/UIKit/UIViewController/UIViewControllerExtension.swift",
"Others/UITesting.swift",
"Others/UnitTesting.swift",
"Others/macOS/SystemUtility.swift",
"PropertyWrappers/UserDefaultsBacked.swift",
"Protocols/Swift/AnyOptional.swift",
"Protocols/Swift/Injectable.swift",
"Protocols/Swift/Occupiable.swift",
"Protocols/Swift/Then.swift",
"Protocols/UIKit/Nibs/NibLoadable.swift",
"Protocols/UIKit/Nibs/NibOwnerLoadable.swift",
"Protocols/UIKit/Reusable/Reusable.swift",
"SwiftUI/Preview/UIElementPreview.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.