Build Information
Successful build of AlecrimCoreData with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Alecrim/AlecrimCoreData.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Alecrim/AlecrimCoreData
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4571d32 Merge branch 'release/7.0-beta.2'
Cloned https://github.com/Alecrim/AlecrimCoreData.git
Revision (git rev-parse @):
4571d3215997d2550f967736d746245bc635dcbb
SUCCESS checkout https://github.com/Alecrim/AlecrimCoreData.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Alecrim/AlecrimCoreData.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/26] Emitting module AlecrimCoreData
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:36: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:67: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:191: warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableCellView:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSTableCellView : NSView {
| `- note: type declared here
3 | open var objectValue: Any? { get set }
4 | @IBOutlet unowned(unsafe) open var textField: NSTextField? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:99: warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| |- warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'AppKit' will be added implicitly
19 | //
20 | var reloadData = false
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:55: warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | import CoreData
11 |
12 | open class CustomPersistentContainer<Context: NSManagedObjectContext> {
| `- note: 'Context' previously declared here
13 |
14 | // MARK: -
:
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:29: warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:13:12: warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
11 |
12 | @objc(ALCPersistentContainer)
13 | open class PersistentContainer: BasePersistentContainer {
| `- warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
14 |
15 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:105:12: warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
103 | // MARK: -
104 |
105 | open class BasePersistentContainer: NSPersistentContainer {
| `- warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
106 |
107 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:12:23: warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
| |- warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBatchSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultBatchSize' 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
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Query.swift:135:33: warning: generic parameter 'Entity' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | // MARK: -
13 |
14 | public struct Query<Entity: ManagedObject> {
| `- note: 'Entity' previously declared here
15 |
16 | public let context: ManagedObjectContext
:
133 | }
134 |
135 | public struct QueryIterator<Entity>: IteratorProtocol {
| `- warning: generic parameter 'Entity' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
136 | private let entities: [Entity]
137 | private var index: Int
[4/28] Compiling AlecrimCoreData PersistentContainerAuxiliarTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:12:23: warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
| |- warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBatchSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultBatchSize' 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
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
[5/28] Compiling AlecrimCoreData PersistentContainerType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:12:23: warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
| |- warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBatchSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultBatchSize' 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
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
[6/28] Compiling AlecrimCoreData Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:12:23: warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
| |- warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBatchSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultBatchSize' 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
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
[7/28] Compiling AlecrimCoreData FetchedResultsControllerDelegate.swift
[8/28] Compiling AlecrimCoreData FetchedResultsSectionInfo.swift
[9/28] Compiling AlecrimCoreData KeyPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
[10/28] Compiling AlecrimCoreData Predicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
[11/28] Compiling AlecrimCoreData Query.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Query.swift:135:33: warning: generic parameter 'Entity' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | // MARK: -
13 |
14 | public struct Query<Entity: ManagedObject> {
| `- note: 'Entity' previously declared here
15 |
16 | public let context: ManagedObjectContext
:
133 | }
134 |
135 | public struct QueryIterator<Entity>: IteratorProtocol {
| `- warning: generic parameter 'Entity' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
136 | private let entities: [Entity]
137 | private var index: Int
[12/28] Compiling AlecrimCoreData Queryable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Query.swift:135:33: warning: generic parameter 'Entity' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
12 | // MARK: -
13 |
14 | public struct Query<Entity: ManagedObject> {
| `- note: 'Entity' previously declared here
15 |
16 | public let context: ManagedObjectContext
:
133 | }
134 |
135 | public struct QueryIterator<Entity>: IteratorProtocol {
| `- warning: generic parameter 'Entity' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
136 | private let entities: [Entity]
137 | private var index: Int
[13/28] Compiling AlecrimCoreData Expression.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:12:23: warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
| |- warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBatchSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultBatchSize' 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
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
14 | }
[14/28] Compiling AlecrimCoreData FetchRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:12:23: warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
| |- warning: static property 'defaultBatchSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultBatchSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultBatchSize' 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
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
14 | }
[15/28] Compiling AlecrimCoreData ManagedObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:13:12: warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
11 |
12 | @objc(ALCPersistentContainer)
13 | open class PersistentContainer: BasePersistentContainer {
| `- warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
14 |
15 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:105:12: warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
103 | // MARK: -
104 |
105 | open class BasePersistentContainer: NSPersistentContainer {
| `- warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
106 |
107 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:60:115: warning: 'NSPersistentStoreUbiquitousContainerIdentifierKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
58 | #if os(macOS) || os(iOS)
59 | if let ubiquitousConfiguration = ubiquitousConfiguration {
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
| `- warning: 'NSPersistentStoreUbiquitousContainerIdentifierKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:61:115: warning: 'NSPersistentStoreUbiquitousContentURLKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
59 | if let ubiquitousConfiguration = ubiquitousConfiguration {
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
| `- warning: 'NSPersistentStoreUbiquitousContentURLKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:62:107: warning: 'NSPersistentStoreUbiquitousContentNameKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
| `- warning: 'NSPersistentStoreUbiquitousContentNameKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
63 | }
64 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:75:162: warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
73 | #if os(macOS) || os(iOS)
74 | if let _ = ubiquitousConfiguration {
75 | (persistentContainer as? PersistentContainer)?.didImportUbiquitousContentNotificationObserver = NotificationCenter.default.addObserver(forName: .NSPersistentStoreDidImportUbiquitousContentChanges, object: persistentContainer.persistentStoreCoordinator, queue: nil) { [weak persistentContainer] notification in
| `- warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
76 | guard let context = persistentContainer?.viewContext.parent ?? persistentContainer?.viewContext else {
77 | return
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:158:31: warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 | open func configureManagedObjectContext(_ context: NSManagedObjectContext) {
157 | context.automaticallyMergesChangesFromParent = true
158 | context.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
| `- warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
CoreData.NSMergeByPropertyObjectTrumpMergePolicy:2:12: note: var declared here
1 | @available(macOS 10.4, *)
2 | public var NSMergeByPropertyObjectTrumpMergePolicy: AnyObject
| `- note: var declared here
[16/28] Compiling AlecrimCoreData ManagedObjectContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:13:12: warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
11 |
12 | @objc(ALCPersistentContainer)
13 | open class PersistentContainer: BasePersistentContainer {
| `- warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
14 |
15 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:105:12: warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
103 | // MARK: -
104 |
105 | open class BasePersistentContainer: NSPersistentContainer {
| `- warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
106 |
107 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:60:115: warning: 'NSPersistentStoreUbiquitousContainerIdentifierKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
58 | #if os(macOS) || os(iOS)
59 | if let ubiquitousConfiguration = ubiquitousConfiguration {
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
| `- warning: 'NSPersistentStoreUbiquitousContainerIdentifierKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:61:115: warning: 'NSPersistentStoreUbiquitousContentURLKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
59 | if let ubiquitousConfiguration = ubiquitousConfiguration {
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
| `- warning: 'NSPersistentStoreUbiquitousContentURLKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:62:107: warning: 'NSPersistentStoreUbiquitousContentNameKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
| `- warning: 'NSPersistentStoreUbiquitousContentNameKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
63 | }
64 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:75:162: warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
73 | #if os(macOS) || os(iOS)
74 | if let _ = ubiquitousConfiguration {
75 | (persistentContainer as? PersistentContainer)?.didImportUbiquitousContentNotificationObserver = NotificationCenter.default.addObserver(forName: .NSPersistentStoreDidImportUbiquitousContentChanges, object: persistentContainer.persistentStoreCoordinator, queue: nil) { [weak persistentContainer] notification in
| `- warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
76 | guard let context = persistentContainer?.viewContext.parent ?? persistentContainer?.viewContext else {
77 | return
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:158:31: warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 | open func configureManagedObjectContext(_ context: NSManagedObjectContext) {
157 | context.automaticallyMergesChangesFromParent = true
158 | context.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
| `- warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
CoreData.NSMergeByPropertyObjectTrumpMergePolicy:2:12: note: var declared here
1 | @available(macOS 10.4, *)
2 | public var NSMergeByPropertyObjectTrumpMergePolicy: AnyObject
| `- note: var declared here
[17/28] Compiling AlecrimCoreData PersistentContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:13:12: warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
11 |
12 | @objc(ALCPersistentContainer)
13 | open class PersistentContainer: BasePersistentContainer {
| `- warning: class 'PersistentContainer' must restate inherited '@unchecked Sendable' conformance
14 |
15 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:105:12: warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
103 | // MARK: -
104 |
105 | open class BasePersistentContainer: NSPersistentContainer {
| `- warning: class 'BasePersistentContainer' must restate inherited '@unchecked Sendable' conformance
106 |
107 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:60:115: warning: 'NSPersistentStoreUbiquitousContainerIdentifierKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
58 | #if os(macOS) || os(iOS)
59 | if let ubiquitousConfiguration = ubiquitousConfiguration {
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
| `- warning: 'NSPersistentStoreUbiquitousContainerIdentifierKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:61:115: warning: 'NSPersistentStoreUbiquitousContentURLKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
59 | if let ubiquitousConfiguration = ubiquitousConfiguration {
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
| `- warning: 'NSPersistentStoreUbiquitousContentURLKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:62:107: warning: 'NSPersistentStoreUbiquitousContentNameKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
60 | persistentStoreDescription.setOption(ubiquitousConfiguration.containerIdentifier as NSString, forKey: NSPersistentStoreUbiquitousContainerIdentifierKey)
61 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentRelativePath as NSString, forKey: NSPersistentStoreUbiquitousContentURLKey)
62 | persistentStoreDescription.setOption(ubiquitousConfiguration.contentName as NSString, forKey: NSPersistentStoreUbiquitousContentNameKey)
| `- warning: 'NSPersistentStoreUbiquitousContentNameKey' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
63 | }
64 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:75:162: warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
73 | #if os(macOS) || os(iOS)
74 | if let _ = ubiquitousConfiguration {
75 | (persistentContainer as? PersistentContainer)?.didImportUbiquitousContentNotificationObserver = NotificationCenter.default.addObserver(forName: .NSPersistentStoreDidImportUbiquitousContentChanges, object: persistentContainer.persistentStoreCoordinator, queue: nil) { [weak persistentContainer] notification in
| `- warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
76 | guard let context = persistentContainer?.viewContext.parent ?? persistentContainer?.viewContext else {
77 | return
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/PersistentContainer.swift:158:31: warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
156 | open func configureManagedObjectContext(_ context: NSManagedObjectContext) {
157 | context.automaticallyMergesChangesFromParent = true
158 | context.mergePolicy = NSMergeByPropertyObjectTrumpMergePolicy
| `- warning: reference to var 'NSMergeByPropertyObjectTrumpMergePolicy' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
CoreData.NSMergeByPropertyObjectTrumpMergePolicy:2:12: note: var declared here
1 | @available(macOS 10.4, *)
2 | public var NSMergeByPropertyObjectTrumpMergePolicy: AnyObject
| `- note: var declared here
[18/28] Compiling AlecrimCoreData SortDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
[19/28] Compiling AlecrimCoreData FetchRequestController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Query/Config.swift:13:23: warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public struct Config {
12 | public static var defaultBatchSize: Int = 20
13 | public static var defaultComparisonOptions: NSComparisonPredicate.Options = [.caseInsensitive, .diacriticInsensitive]
| |- warning: static property 'defaultComparisonOptions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultComparisonOptions' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultComparisonOptions' 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
14 | }
15 |
[20/28] Compiling AlecrimCoreData UICollectionView+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:55: warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | import CoreData
11 |
12 | open class CustomPersistentContainer<Context: NSManagedObjectContext> {
| `- note: 'Context' previously declared here
13 |
14 | // MARK: -
:
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:29: warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
[21/28] Compiling AlecrimCoreData UITableView+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:55: warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | import CoreData
11 |
12 | open class CustomPersistentContainer<Context: NSManagedObjectContext> {
| `- note: 'Context' previously declared here
13 |
14 | // MARK: -
:
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:29: warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
[22/28] Compiling AlecrimCoreData CustomPersistentContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:55: warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | import CoreData
11 |
12 | open class CustomPersistentContainer<Context: NSManagedObjectContext> {
| `- note: 'Context' previously declared here
13 |
14 | // MARK: -
:
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: generic parameter 'Context' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
/Users/admin/builder/spi-builder-workspace/Sources/Core/Persistent Container/CustomPersistentContainer.swift:59:29: warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
57 | extension CustomPersistentContainer {
58 |
59 | fileprivate final class HelperPersistentContainer<Context: NSManagedObjectContext>: PersistentContainer {
| `- warning: class 'HelperPersistentContainer' must restate inherited '@unchecked Sendable' conformance
60 |
61 | private lazy var _viewContext: NSManagedObjectContext = {
[23/28] Compiling AlecrimCoreData NSArrayController+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:37:35: warning: main actor-isolated property 'numberOfSections' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
35 | }
36 | .willChangeContent {
37 | if collectionView.numberOfSections == 0 {
| `- warning: main actor-isolated property 'numberOfSections' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
38 | reloadData = true
39 | }
AppKit.NSCollectionView:39:25: note: property declared here
37 | open var backgroundColors: [NSColor]! { get set }
38 | @available(macOS 10.11, *)
39 | @MainActor open var numberOfSections: Int { get }
| `- note: property declared here
40 | @available(macOS 10.11, *)
41 | open func numberOfItems(inSection section: Int) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:87:36: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | //
86 | guard !reloadData else {
87 | collectionView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | reset()
89 | return
AppKit.NSCollectionView:9:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
7 | open var content: [Any] { get set }
8 | @available(macOS 10.11, *)
9 | @MainActor open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
10 | weak open var delegate: (any NSCollectionViewDelegate)? { get set }
11 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:95:59: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 | var updatedIndexPaths = [IndexPath]()
94 |
95 | let performer = animated ? collectionView.animator() : collectionView
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | performer.performBatchUpdates({
AppKit.NSView:363:26: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
361 | open var effectiveAppearance: NSAppearance { get }
362 | @available(macOS 10.5, *)
363 | @MainActor open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
364 | @available(macOS 10.5, *)
365 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: call to main actor-isolated instance method 'performBatchUpdates(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: call to main actor-isolated instance method 'performBatchUpdates(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
AppKit.NSCollectionView:167:26: note: calls to instance method 'performBatchUpdates(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
165 | open func moveItemAtIndexPath(_ indexPath: IndexPath, toIndexPath newIndexPath: IndexPath)
166 | @available(macOS 10.11, *)
167 | @MainActor open func performBatchUpdates(_ updates: (() -> Void)?, completionHandler: ((Bool) -> Void)? = nil)
| `- note: calls to instance method 'performBatchUpdates(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
168 | @available(macOS 10.11, *)
169 | open func performBatchUpdates(_ updates: (() -> Void)?) async -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:101:44: warning: call to main actor-isolated instance method 'insertSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | switch $0 {
100 | case .insert(let sectionIndex):
101 | collectionView.insertSections(IndexSet(integer: sectionIndex))
| `- warning: call to main actor-isolated instance method 'insertSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | case .delete(let sectionIndex):
AppKit.NSCollectionView:139:26: note: calls to instance method 'insertSections' from outside of its actor context are implicitly asynchronous
137 | open func indexPathsForVisibleSupplementaryElementsOfKind(_ elementKind: NSCollectionView.SupplementaryElementKind) -> Set<IndexPath>
138 | @available(macOS 10.11, *)
139 | @MainActor open func insertSections(_ sections: IndexSet)
| `- note: calls to instance method 'insertSections' from outside of its actor context are implicitly asynchronous
140 | @available(macOS 10.11, *)
141 | @MainActor open func deleteSections(_ sections: IndexSet)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:104:44: warning: call to main actor-isolated instance method 'deleteSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | case .delete(let sectionIndex):
104 | collectionView.deleteSections(IndexSet(integer: sectionIndex))
| `- warning: call to main actor-isolated instance method 'deleteSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | default:
AppKit.NSCollectionView:141:26: note: calls to instance method 'deleteSections' from outside of its actor context are implicitly asynchronous
139 | @MainActor open func insertSections(_ sections: IndexSet)
140 | @available(macOS 10.11, *)
141 | @MainActor open func deleteSections(_ sections: IndexSet)
| `- note: calls to instance method 'deleteSections' from outside of its actor context are implicitly asynchronous
142 | @available(macOS 10.11, *)
143 | open func reloadSections(_ sections: IndexSet)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:114:44: warning: call to main actor-isolated instance method 'insertItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 | switch $0 {
113 | case .insert(let indexPath):
114 | collectionView.insertItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'insertItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .delete(let indexPath):
AppKit.NSCollectionView:147:26: note: calls to instance method 'insertItems(at:)' from outside of its actor context are implicitly asynchronous
145 | open func moveSection(_ section: Int, toSection newSection: Int)
146 | @available(macOS 10.11, *)
147 | @MainActor open func insertItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'insertItems(at:)' from outside of its actor context are implicitly asynchronous
148 | @available(macOS 10.11, *)
149 | @available(swift, obsoleted: 3, renamed: "insertItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:117:44: warning: call to main actor-isolated instance method 'deleteItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .delete(let indexPath):
117 | collectionView.deleteItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'deleteItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |
119 | case .update(let indexPath):
AppKit.NSCollectionView:152:26: note: calls to instance method 'deleteItems(at:)' from outside of its actor context are implicitly asynchronous
150 | open func insertItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
151 | @available(macOS 10.11, *)
152 | @MainActor open func deleteItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'deleteItems(at:)' from outside of its actor context are implicitly asynchronous
153 | @available(macOS 10.11, *)
154 | @available(swift, obsoleted: 3, renamed: "deleteItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:121:48: warning: call to main actor-isolated instance method 'reloadItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 | case .update(let indexPath):
120 | if itemConfigurationHandler == nil {
121 | collectionView.reloadItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'reloadItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 | }
123 | else {
AppKit.NSCollectionView:157:26: note: calls to instance method 'reloadItems(at:)' from outside of its actor context are implicitly asynchronous
155 | open func deleteItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
156 | @available(macOS 10.11, *)
157 | @MainActor open func reloadItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'reloadItems(at:)' from outside of its actor context are implicitly asynchronous
158 | @available(macOS 10.11, *)
159 | @available(swift, obsoleted: 3, renamed: "reloadItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:128:44: warning: call to main actor-isolated instance method 'moveItem(at:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 |
127 | case .move(let oldIndexPath, let newIndexPath):
128 | collectionView.moveItem(at: oldIndexPath, to: newIndexPath)
| `- warning: call to main actor-isolated instance method 'moveItem(at:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |
130 | // workaround to be sure that cells will be refreshed
AppKit.NSCollectionView:162:26: note: calls to instance method 'moveItem(at:to:)' from outside of its actor context are implicitly asynchronous
160 | open func reloadItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
161 | @available(macOS 10.11, *)
162 | @MainActor open func moveItem(at indexPath: IndexPath, to newIndexPath: IndexPath)
| `- note: calls to instance method 'moveItem(at:to:)' from outside of its actor context are implicitly asynchronous
163 | @available(macOS 10.11, *)
164 | @available(swift, obsoleted: 3, renamed: "moveItem(at:to:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:139:54: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 | }, completionHandler: { _ in
138 | updatedIndexPaths.forEach {
139 | if let item = collectionView.item(at: $0) {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 | itemConfigurationHandler?(item, $0)
141 | }
AppKit.NSCollectionView:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:149:24: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to collectionView: NSCollectionView, sectionOffset: Int = 0, animated: Bool = false, itemConfigurationHandler: ((NSCollectionViewItem, IndexPath) -> Void)? = nil) -> Self {
| `- note: add '@MainActor' to make instance method 'bind(to:sectionOffset:animated:itemConfigurationHandler:)' part of global actor 'MainActor'
19 | //
20 | var reloadData = false
:
147 |
148 | //
149 | collectionView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
150 |
151 | //
AppKit.NSCollectionView:9:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
7 | open var content: [Any] { get set }
8 | @available(macOS 10.11, *)
9 | @MainActor open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
10 | weak open var delegate: (any NSCollectionViewDelegate)? { get set }
11 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:36: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:67: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:191: warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableCellView:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSTableCellView : NSView {
| `- note: type declared here
3 | open var objectValue: Any? { get set }
4 | @IBOutlet unowned(unsafe) open var textField: NSTextField? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:99: warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| |- warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'AppKit' will be added implicitly
19 | //
20 | var reloadData = false
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:37:30: warning: main actor-isolated property 'numberOfRows' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
35 | }
36 | .willChangeContent {
37 | if tableView.numberOfRows == 0 {
| `- warning: main actor-isolated property 'numberOfRows' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
38 | reloadData = true
39 | }
AppKit.NSTableView:26:14: note: property declared here
24 | open var tableColumns: [NSTableColumn] { get }
25 | open var numberOfColumns: Int { get }
26 | open var numberOfRows: Int { get }
| `- note: property declared here
27 | open func addTableColumn(_ tableColumn: NSTableColumn)
28 | open func removeTableColumn(_ tableColumn: NSTableColumn)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:87:31: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | //
86 | guard !reloadData else {
87 | tableView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | return
89 | }
AppKit.NSTableView:41:15: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
39 | open func scrollRowToVisible(_ row: Int)
40 | open func scrollColumnToVisible(_ column: Int)
41 | open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:92:54: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | //
92 | let performer = animated ? tableView.animator() : tableView
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | //
AppKit.NSView:363:26: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
361 | open var effectiveAppearance: NSAppearance { get }
362 | @available(macOS 10.5, *)
363 | @MainActor open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
364 | @available(macOS 10.5, *)
365 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:95:27: warning: call to main actor-isolated instance method 'beginUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | //
95 | performer.beginUpdates()
| `- warning: call to main actor-isolated instance method 'beginUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | //
AppKit.NSTableView:173:15: note: calls to instance method 'beginUpdates()' from outside of its actor context are implicitly asynchronous
171 | open var rowActionsVisible: Bool { get set }
172 | @available(macOS 10.7, *)
173 | open func beginUpdates()
| `- note: calls to instance method 'beginUpdates()' from outside of its actor context are implicitly asynchronous
174 | @available(macOS 10.7, *)
175 | open func endUpdates()
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:104:39: warning: call to main actor-isolated instance method 'reloadData(forRowIndexes:columnIndexes:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | case .update(let indexPath):
103 | if cellViewConfigurationHandler == nil {
104 | performer.reloadData(forRowIndexes: IndexSet(integer: indexPath.item), columnIndexes: IndexSet())
| `- warning: call to main actor-isolated instance method 'reloadData(forRowIndexes:columnIndexes:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | else {
AppKit.NSTableView:44:15: note: calls to instance method 'reloadData(forRowIndexes:columnIndexes:)' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
44 | open func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes: IndexSet)
| `- note: calls to instance method 'reloadData(forRowIndexes:columnIndexes:)' from outside of its actor context are implicitly asynchronous
45 | @available(macOS 10.6, *)
46 | @available(swift, obsoleted: 3, renamed: "reloadData(forRowIndexes:columnIndexes:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:111:35: warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
109 |
110 | case .delete(let indexPath):
111 | performer.removeRows(at: IndexSet(integer: indexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 |
113 | case .insert(let indexPath):
AppKit.NSTableView:182:15: note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
180 | open func insertRowsAtIndexes(_ indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
181 | @available(macOS 10.7, *)
182 | open func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
183 | @available(macOS 10.7, *)
184 | @available(swift, obsoleted: 3, renamed: "removeRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:114:35: warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 |
113 | case .insert(let indexPath):
114 | performer.insertRows(at: IndexSet(integer: indexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .move(let oldIndexPath, let newIndexPath):
AppKit.NSTableView:177:15: note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
175 | open func endUpdates()
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
178 | @available(macOS 10.7, *)
179 | @available(swift, obsoleted: 3, renamed: "insertRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:118:35: warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | case .move(let oldIndexPath, let newIndexPath):
117 | //performer.moveRow(at: oldIndexPath.item, to: newIndexPath.item)
118 | performer.removeRows(at: IndexSet(integer: oldIndexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 | performer.insertRows(at: IndexSet(integer: newIndexPath.item), withAnimation: animationOptions)
120 | }
AppKit.NSTableView:182:15: note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
180 | open func insertRowsAtIndexes(_ indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
181 | @available(macOS 10.7, *)
182 | open func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
183 | @available(macOS 10.7, *)
184 | @available(swift, obsoleted: 3, renamed: "removeRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:119:35: warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | //performer.moveRow(at: oldIndexPath.item, to: newIndexPath.item)
118 | performer.removeRows(at: IndexSet(integer: oldIndexPath.item), withAnimation: animationOptions)
119 | performer.insertRows(at: IndexSet(integer: newIndexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
120 | }
121 | }
AppKit.NSTableView:177:15: note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
175 | open func endUpdates()
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
178 | @available(macOS 10.7, *)
179 | @available(swift, obsoleted: 3, renamed: "insertRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:124:27: warning: call to main actor-isolated instance method 'endUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |
123 | //
124 | performer.endUpdates()
| `- warning: call to main actor-isolated instance method 'endUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |
126 | //
AppKit.NSTableView:175:15: note: calls to instance method 'endUpdates()' from outside of its actor context are implicitly asynchronous
173 | open func beginUpdates()
174 | @available(macOS 10.7, *)
175 | open func endUpdates()
| `- note: calls to instance method 'endUpdates()' from outside of its actor context are implicitly asynchronous
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:128:45: warning: call to main actor-isolated instance method 'view(atColumn:row:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 | //
127 | updatedIndexPaths.forEach {
128 | if let item = tableView.view(atColumn: 0, row: $0.item, makeIfNecessary: false) as? NSTableCellView {
| `- warning: call to main actor-isolated instance method 'view(atColumn:row:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | cellViewConfigurationHandler?(item, $0)
130 | }
AppKit.NSTableView:136:15: note: calls to instance method 'view(atColumn:row:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
134 | open func drawBackgroundInClipRect(_ clipRect: NSRect)
135 | @available(macOS 10.7, *)
136 | open func view(atColumn column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
| `- note: calls to instance method 'view(atColumn:row:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
137 | @available(macOS 10.7, *)
138 | @available(swift, obsoleted: 3, renamed: "view(atColumn:row:makeIfNecessary:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:135:19: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- note: add '@MainActor' to make instance method 'bind(to:animationOptions:sectionOffset:animated:cellViewConfigurationHandler:)' part of global actor 'MainActor'
19 | //
20 | var reloadData = false
:
133 |
134 | //
135 | tableView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | //
AppKit.NSTableView:41:15: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
39 | open func scrollRowToVisible(_ row: Int)
40 | open func scrollColumnToVisible(_ column: Int)
41 | open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: sending task-isolated value of type '() -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: sending task-isolated value of type '() -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: sending task-isolated value of type '(Bool) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: sending task-isolated value of type '(Bool) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
[24/28] Compiling AlecrimCoreData NSCollectionView+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:37:35: warning: main actor-isolated property 'numberOfSections' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
35 | }
36 | .willChangeContent {
37 | if collectionView.numberOfSections == 0 {
| `- warning: main actor-isolated property 'numberOfSections' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
38 | reloadData = true
39 | }
AppKit.NSCollectionView:39:25: note: property declared here
37 | open var backgroundColors: [NSColor]! { get set }
38 | @available(macOS 10.11, *)
39 | @MainActor open var numberOfSections: Int { get }
| `- note: property declared here
40 | @available(macOS 10.11, *)
41 | open func numberOfItems(inSection section: Int) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:87:36: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | //
86 | guard !reloadData else {
87 | collectionView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | reset()
89 | return
AppKit.NSCollectionView:9:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
7 | open var content: [Any] { get set }
8 | @available(macOS 10.11, *)
9 | @MainActor open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
10 | weak open var delegate: (any NSCollectionViewDelegate)? { get set }
11 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:95:59: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 | var updatedIndexPaths = [IndexPath]()
94 |
95 | let performer = animated ? collectionView.animator() : collectionView
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | performer.performBatchUpdates({
AppKit.NSView:363:26: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
361 | open var effectiveAppearance: NSAppearance { get }
362 | @available(macOS 10.5, *)
363 | @MainActor open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
364 | @available(macOS 10.5, *)
365 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: call to main actor-isolated instance method 'performBatchUpdates(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: call to main actor-isolated instance method 'performBatchUpdates(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
AppKit.NSCollectionView:167:26: note: calls to instance method 'performBatchUpdates(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
165 | open func moveItemAtIndexPath(_ indexPath: IndexPath, toIndexPath newIndexPath: IndexPath)
166 | @available(macOS 10.11, *)
167 | @MainActor open func performBatchUpdates(_ updates: (() -> Void)?, completionHandler: ((Bool) -> Void)? = nil)
| `- note: calls to instance method 'performBatchUpdates(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
168 | @available(macOS 10.11, *)
169 | open func performBatchUpdates(_ updates: (() -> Void)?) async -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:101:44: warning: call to main actor-isolated instance method 'insertSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | switch $0 {
100 | case .insert(let sectionIndex):
101 | collectionView.insertSections(IndexSet(integer: sectionIndex))
| `- warning: call to main actor-isolated instance method 'insertSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | case .delete(let sectionIndex):
AppKit.NSCollectionView:139:26: note: calls to instance method 'insertSections' from outside of its actor context are implicitly asynchronous
137 | open func indexPathsForVisibleSupplementaryElementsOfKind(_ elementKind: NSCollectionView.SupplementaryElementKind) -> Set<IndexPath>
138 | @available(macOS 10.11, *)
139 | @MainActor open func insertSections(_ sections: IndexSet)
| `- note: calls to instance method 'insertSections' from outside of its actor context are implicitly asynchronous
140 | @available(macOS 10.11, *)
141 | @MainActor open func deleteSections(_ sections: IndexSet)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:104:44: warning: call to main actor-isolated instance method 'deleteSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | case .delete(let sectionIndex):
104 | collectionView.deleteSections(IndexSet(integer: sectionIndex))
| `- warning: call to main actor-isolated instance method 'deleteSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | default:
AppKit.NSCollectionView:141:26: note: calls to instance method 'deleteSections' from outside of its actor context are implicitly asynchronous
139 | @MainActor open func insertSections(_ sections: IndexSet)
140 | @available(macOS 10.11, *)
141 | @MainActor open func deleteSections(_ sections: IndexSet)
| `- note: calls to instance method 'deleteSections' from outside of its actor context are implicitly asynchronous
142 | @available(macOS 10.11, *)
143 | open func reloadSections(_ sections: IndexSet)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:114:44: warning: call to main actor-isolated instance method 'insertItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 | switch $0 {
113 | case .insert(let indexPath):
114 | collectionView.insertItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'insertItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .delete(let indexPath):
AppKit.NSCollectionView:147:26: note: calls to instance method 'insertItems(at:)' from outside of its actor context are implicitly asynchronous
145 | open func moveSection(_ section: Int, toSection newSection: Int)
146 | @available(macOS 10.11, *)
147 | @MainActor open func insertItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'insertItems(at:)' from outside of its actor context are implicitly asynchronous
148 | @available(macOS 10.11, *)
149 | @available(swift, obsoleted: 3, renamed: "insertItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:117:44: warning: call to main actor-isolated instance method 'deleteItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .delete(let indexPath):
117 | collectionView.deleteItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'deleteItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |
119 | case .update(let indexPath):
AppKit.NSCollectionView:152:26: note: calls to instance method 'deleteItems(at:)' from outside of its actor context are implicitly asynchronous
150 | open func insertItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
151 | @available(macOS 10.11, *)
152 | @MainActor open func deleteItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'deleteItems(at:)' from outside of its actor context are implicitly asynchronous
153 | @available(macOS 10.11, *)
154 | @available(swift, obsoleted: 3, renamed: "deleteItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:121:48: warning: call to main actor-isolated instance method 'reloadItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 | case .update(let indexPath):
120 | if itemConfigurationHandler == nil {
121 | collectionView.reloadItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'reloadItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 | }
123 | else {
AppKit.NSCollectionView:157:26: note: calls to instance method 'reloadItems(at:)' from outside of its actor context are implicitly asynchronous
155 | open func deleteItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
156 | @available(macOS 10.11, *)
157 | @MainActor open func reloadItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'reloadItems(at:)' from outside of its actor context are implicitly asynchronous
158 | @available(macOS 10.11, *)
159 | @available(swift, obsoleted: 3, renamed: "reloadItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:128:44: warning: call to main actor-isolated instance method 'moveItem(at:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 |
127 | case .move(let oldIndexPath, let newIndexPath):
128 | collectionView.moveItem(at: oldIndexPath, to: newIndexPath)
| `- warning: call to main actor-isolated instance method 'moveItem(at:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |
130 | // workaround to be sure that cells will be refreshed
AppKit.NSCollectionView:162:26: note: calls to instance method 'moveItem(at:to:)' from outside of its actor context are implicitly asynchronous
160 | open func reloadItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
161 | @available(macOS 10.11, *)
162 | @MainActor open func moveItem(at indexPath: IndexPath, to newIndexPath: IndexPath)
| `- note: calls to instance method 'moveItem(at:to:)' from outside of its actor context are implicitly asynchronous
163 | @available(macOS 10.11, *)
164 | @available(swift, obsoleted: 3, renamed: "moveItem(at:to:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:139:54: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 | }, completionHandler: { _ in
138 | updatedIndexPaths.forEach {
139 | if let item = collectionView.item(at: $0) {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 | itemConfigurationHandler?(item, $0)
141 | }
AppKit.NSCollectionView:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:149:24: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to collectionView: NSCollectionView, sectionOffset: Int = 0, animated: Bool = false, itemConfigurationHandler: ((NSCollectionViewItem, IndexPath) -> Void)? = nil) -> Self {
| `- note: add '@MainActor' to make instance method 'bind(to:sectionOffset:animated:itemConfigurationHandler:)' part of global actor 'MainActor'
19 | //
20 | var reloadData = false
:
147 |
148 | //
149 | collectionView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
150 |
151 | //
AppKit.NSCollectionView:9:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
7 | open var content: [Any] { get set }
8 | @available(macOS 10.11, *)
9 | @MainActor open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
10 | weak open var delegate: (any NSCollectionViewDelegate)? { get set }
11 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:36: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:67: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:191: warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableCellView:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSTableCellView : NSView {
| `- note: type declared here
3 | open var objectValue: Any? { get set }
4 | @IBOutlet unowned(unsafe) open var textField: NSTextField? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:99: warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| |- warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'AppKit' will be added implicitly
19 | //
20 | var reloadData = false
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:37:30: warning: main actor-isolated property 'numberOfRows' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
35 | }
36 | .willChangeContent {
37 | if tableView.numberOfRows == 0 {
| `- warning: main actor-isolated property 'numberOfRows' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
38 | reloadData = true
39 | }
AppKit.NSTableView:26:14: note: property declared here
24 | open var tableColumns: [NSTableColumn] { get }
25 | open var numberOfColumns: Int { get }
26 | open var numberOfRows: Int { get }
| `- note: property declared here
27 | open func addTableColumn(_ tableColumn: NSTableColumn)
28 | open func removeTableColumn(_ tableColumn: NSTableColumn)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:87:31: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | //
86 | guard !reloadData else {
87 | tableView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | return
89 | }
AppKit.NSTableView:41:15: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
39 | open func scrollRowToVisible(_ row: Int)
40 | open func scrollColumnToVisible(_ column: Int)
41 | open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:92:54: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | //
92 | let performer = animated ? tableView.animator() : tableView
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | //
AppKit.NSView:363:26: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
361 | open var effectiveAppearance: NSAppearance { get }
362 | @available(macOS 10.5, *)
363 | @MainActor open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
364 | @available(macOS 10.5, *)
365 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:95:27: warning: call to main actor-isolated instance method 'beginUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | //
95 | performer.beginUpdates()
| `- warning: call to main actor-isolated instance method 'beginUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | //
AppKit.NSTableView:173:15: note: calls to instance method 'beginUpdates()' from outside of its actor context are implicitly asynchronous
171 | open var rowActionsVisible: Bool { get set }
172 | @available(macOS 10.7, *)
173 | open func beginUpdates()
| `- note: calls to instance method 'beginUpdates()' from outside of its actor context are implicitly asynchronous
174 | @available(macOS 10.7, *)
175 | open func endUpdates()
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:104:39: warning: call to main actor-isolated instance method 'reloadData(forRowIndexes:columnIndexes:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | case .update(let indexPath):
103 | if cellViewConfigurationHandler == nil {
104 | performer.reloadData(forRowIndexes: IndexSet(integer: indexPath.item), columnIndexes: IndexSet())
| `- warning: call to main actor-isolated instance method 'reloadData(forRowIndexes:columnIndexes:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | else {
AppKit.NSTableView:44:15: note: calls to instance method 'reloadData(forRowIndexes:columnIndexes:)' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
44 | open func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes: IndexSet)
| `- note: calls to instance method 'reloadData(forRowIndexes:columnIndexes:)' from outside of its actor context are implicitly asynchronous
45 | @available(macOS 10.6, *)
46 | @available(swift, obsoleted: 3, renamed: "reloadData(forRowIndexes:columnIndexes:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:111:35: warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
109 |
110 | case .delete(let indexPath):
111 | performer.removeRows(at: IndexSet(integer: indexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 |
113 | case .insert(let indexPath):
AppKit.NSTableView:182:15: note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
180 | open func insertRowsAtIndexes(_ indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
181 | @available(macOS 10.7, *)
182 | open func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
183 | @available(macOS 10.7, *)
184 | @available(swift, obsoleted: 3, renamed: "removeRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:114:35: warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 |
113 | case .insert(let indexPath):
114 | performer.insertRows(at: IndexSet(integer: indexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .move(let oldIndexPath, let newIndexPath):
AppKit.NSTableView:177:15: note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
175 | open func endUpdates()
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
178 | @available(macOS 10.7, *)
179 | @available(swift, obsoleted: 3, renamed: "insertRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:118:35: warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | case .move(let oldIndexPath, let newIndexPath):
117 | //performer.moveRow(at: oldIndexPath.item, to: newIndexPath.item)
118 | performer.removeRows(at: IndexSet(integer: oldIndexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 | performer.insertRows(at: IndexSet(integer: newIndexPath.item), withAnimation: animationOptions)
120 | }
AppKit.NSTableView:182:15: note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
180 | open func insertRowsAtIndexes(_ indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
181 | @available(macOS 10.7, *)
182 | open func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
183 | @available(macOS 10.7, *)
184 | @available(swift, obsoleted: 3, renamed: "removeRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:119:35: warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | //performer.moveRow(at: oldIndexPath.item, to: newIndexPath.item)
118 | performer.removeRows(at: IndexSet(integer: oldIndexPath.item), withAnimation: animationOptions)
119 | performer.insertRows(at: IndexSet(integer: newIndexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
120 | }
121 | }
AppKit.NSTableView:177:15: note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
175 | open func endUpdates()
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
178 | @available(macOS 10.7, *)
179 | @available(swift, obsoleted: 3, renamed: "insertRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:124:27: warning: call to main actor-isolated instance method 'endUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |
123 | //
124 | performer.endUpdates()
| `- warning: call to main actor-isolated instance method 'endUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |
126 | //
AppKit.NSTableView:175:15: note: calls to instance method 'endUpdates()' from outside of its actor context are implicitly asynchronous
173 | open func beginUpdates()
174 | @available(macOS 10.7, *)
175 | open func endUpdates()
| `- note: calls to instance method 'endUpdates()' from outside of its actor context are implicitly asynchronous
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:128:45: warning: call to main actor-isolated instance method 'view(atColumn:row:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 | //
127 | updatedIndexPaths.forEach {
128 | if let item = tableView.view(atColumn: 0, row: $0.item, makeIfNecessary: false) as? NSTableCellView {
| `- warning: call to main actor-isolated instance method 'view(atColumn:row:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | cellViewConfigurationHandler?(item, $0)
130 | }
AppKit.NSTableView:136:15: note: calls to instance method 'view(atColumn:row:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
134 | open func drawBackgroundInClipRect(_ clipRect: NSRect)
135 | @available(macOS 10.7, *)
136 | open func view(atColumn column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
| `- note: calls to instance method 'view(atColumn:row:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
137 | @available(macOS 10.7, *)
138 | @available(swift, obsoleted: 3, renamed: "view(atColumn:row:makeIfNecessary:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:135:19: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- note: add '@MainActor' to make instance method 'bind(to:animationOptions:sectionOffset:animated:cellViewConfigurationHandler:)' part of global actor 'MainActor'
19 | //
20 | var reloadData = false
:
133 |
134 | //
135 | tableView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | //
AppKit.NSTableView:41:15: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
39 | open func scrollRowToVisible(_ row: Int)
40 | open func scrollColumnToVisible(_ column: Int)
41 | open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: sending task-isolated value of type '() -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: sending task-isolated value of type '() -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: sending task-isolated value of type '(Bool) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: sending task-isolated value of type '(Bool) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
[25/28] Compiling AlecrimCoreData NSTableView+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:37:35: warning: main actor-isolated property 'numberOfSections' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
35 | }
36 | .willChangeContent {
37 | if collectionView.numberOfSections == 0 {
| `- warning: main actor-isolated property 'numberOfSections' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
38 | reloadData = true
39 | }
AppKit.NSCollectionView:39:25: note: property declared here
37 | open var backgroundColors: [NSColor]! { get set }
38 | @available(macOS 10.11, *)
39 | @MainActor open var numberOfSections: Int { get }
| `- note: property declared here
40 | @available(macOS 10.11, *)
41 | open func numberOfItems(inSection section: Int) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:87:36: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | //
86 | guard !reloadData else {
87 | collectionView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | reset()
89 | return
AppKit.NSCollectionView:9:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
7 | open var content: [Any] { get set }
8 | @available(macOS 10.11, *)
9 | @MainActor open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
10 | weak open var delegate: (any NSCollectionViewDelegate)? { get set }
11 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:95:59: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 | var updatedIndexPaths = [IndexPath]()
94 |
95 | let performer = animated ? collectionView.animator() : collectionView
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | performer.performBatchUpdates({
AppKit.NSView:363:26: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
361 | open var effectiveAppearance: NSAppearance { get }
362 | @available(macOS 10.5, *)
363 | @MainActor open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
364 | @available(macOS 10.5, *)
365 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: call to main actor-isolated instance method 'performBatchUpdates(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: call to main actor-isolated instance method 'performBatchUpdates(_:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
AppKit.NSCollectionView:167:26: note: calls to instance method 'performBatchUpdates(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
165 | open func moveItemAtIndexPath(_ indexPath: IndexPath, toIndexPath newIndexPath: IndexPath)
166 | @available(macOS 10.11, *)
167 | @MainActor open func performBatchUpdates(_ updates: (() -> Void)?, completionHandler: ((Bool) -> Void)? = nil)
| `- note: calls to instance method 'performBatchUpdates(_:completionHandler:)' from outside of its actor context are implicitly asynchronous
168 | @available(macOS 10.11, *)
169 | open func performBatchUpdates(_ updates: (() -> Void)?) async -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:101:44: warning: call to main actor-isolated instance method 'insertSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | switch $0 {
100 | case .insert(let sectionIndex):
101 | collectionView.insertSections(IndexSet(integer: sectionIndex))
| `- warning: call to main actor-isolated instance method 'insertSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | case .delete(let sectionIndex):
AppKit.NSCollectionView:139:26: note: calls to instance method 'insertSections' from outside of its actor context are implicitly asynchronous
137 | open func indexPathsForVisibleSupplementaryElementsOfKind(_ elementKind: NSCollectionView.SupplementaryElementKind) -> Set<IndexPath>
138 | @available(macOS 10.11, *)
139 | @MainActor open func insertSections(_ sections: IndexSet)
| `- note: calls to instance method 'insertSections' from outside of its actor context are implicitly asynchronous
140 | @available(macOS 10.11, *)
141 | @MainActor open func deleteSections(_ sections: IndexSet)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:104:44: warning: call to main actor-isolated instance method 'deleteSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | case .delete(let sectionIndex):
104 | collectionView.deleteSections(IndexSet(integer: sectionIndex))
| `- warning: call to main actor-isolated instance method 'deleteSections' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | default:
AppKit.NSCollectionView:141:26: note: calls to instance method 'deleteSections' from outside of its actor context are implicitly asynchronous
139 | @MainActor open func insertSections(_ sections: IndexSet)
140 | @available(macOS 10.11, *)
141 | @MainActor open func deleteSections(_ sections: IndexSet)
| `- note: calls to instance method 'deleteSections' from outside of its actor context are implicitly asynchronous
142 | @available(macOS 10.11, *)
143 | open func reloadSections(_ sections: IndexSet)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:114:44: warning: call to main actor-isolated instance method 'insertItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 | switch $0 {
113 | case .insert(let indexPath):
114 | collectionView.insertItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'insertItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .delete(let indexPath):
AppKit.NSCollectionView:147:26: note: calls to instance method 'insertItems(at:)' from outside of its actor context are implicitly asynchronous
145 | open func moveSection(_ section: Int, toSection newSection: Int)
146 | @available(macOS 10.11, *)
147 | @MainActor open func insertItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'insertItems(at:)' from outside of its actor context are implicitly asynchronous
148 | @available(macOS 10.11, *)
149 | @available(swift, obsoleted: 3, renamed: "insertItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:117:44: warning: call to main actor-isolated instance method 'deleteItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .delete(let indexPath):
117 | collectionView.deleteItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'deleteItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |
119 | case .update(let indexPath):
AppKit.NSCollectionView:152:26: note: calls to instance method 'deleteItems(at:)' from outside of its actor context are implicitly asynchronous
150 | open func insertItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
151 | @available(macOS 10.11, *)
152 | @MainActor open func deleteItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'deleteItems(at:)' from outside of its actor context are implicitly asynchronous
153 | @available(macOS 10.11, *)
154 | @available(swift, obsoleted: 3, renamed: "deleteItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:121:48: warning: call to main actor-isolated instance method 'reloadItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 | case .update(let indexPath):
120 | if itemConfigurationHandler == nil {
121 | collectionView.reloadItems(at: Set([indexPath]))
| `- warning: call to main actor-isolated instance method 'reloadItems(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 | }
123 | else {
AppKit.NSCollectionView:157:26: note: calls to instance method 'reloadItems(at:)' from outside of its actor context are implicitly asynchronous
155 | open func deleteItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
156 | @available(macOS 10.11, *)
157 | @MainActor open func reloadItems(at indexPaths: Set<IndexPath>)
| `- note: calls to instance method 'reloadItems(at:)' from outside of its actor context are implicitly asynchronous
158 | @available(macOS 10.11, *)
159 | @available(swift, obsoleted: 3, renamed: "reloadItems(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:128:44: warning: call to main actor-isolated instance method 'moveItem(at:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 |
127 | case .move(let oldIndexPath, let newIndexPath):
128 | collectionView.moveItem(at: oldIndexPath, to: newIndexPath)
| `- warning: call to main actor-isolated instance method 'moveItem(at:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |
130 | // workaround to be sure that cells will be refreshed
AppKit.NSCollectionView:162:26: note: calls to instance method 'moveItem(at:to:)' from outside of its actor context are implicitly asynchronous
160 | open func reloadItemsAtIndexPaths(_ indexPaths: Set<IndexPath>)
161 | @available(macOS 10.11, *)
162 | @MainActor open func moveItem(at indexPath: IndexPath, to newIndexPath: IndexPath)
| `- note: calls to instance method 'moveItem(at:to:)' from outside of its actor context are implicitly asynchronous
163 | @available(macOS 10.11, *)
164 | @available(swift, obsoleted: 3, renamed: "moveItem(at:to:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:139:54: warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
137 | }, completionHandler: { _ in
138 | updatedIndexPaths.forEach {
139 | if let item = collectionView.item(at: $0) {
| `- warning: call to main actor-isolated instance method 'item(at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 | itemConfigurationHandler?(item, $0)
141 | }
AppKit.NSCollectionView:105:26: note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
103 | open func itemAtIndex(_ index: Int) -> NSCollectionViewItem?
104 | @available(macOS 10.11, *)
105 | @MainActor open func item(at indexPath: IndexPath) -> NSCollectionViewItem?
| `- note: calls to instance method 'item(at:)' from outside of its actor context are implicitly asynchronous
106 | @available(macOS 10.11, *)
107 | @available(swift, obsoleted: 3, renamed: "item(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:149:24: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to collectionView: NSCollectionView, sectionOffset: Int = 0, animated: Bool = false, itemConfigurationHandler: ((NSCollectionViewItem, IndexPath) -> Void)? = nil) -> Self {
| `- note: add '@MainActor' to make instance method 'bind(to:sectionOffset:animated:itemConfigurationHandler:)' part of global actor 'MainActor'
19 | //
20 | var reloadData = false
:
147 |
148 | //
149 | collectionView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
150 |
151 | //
AppKit.NSCollectionView:9:26: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
7 | open var content: [Any] { get set }
8 | @available(macOS 10.11, *)
9 | @MainActor open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
10 | weak open var delegate: (any NSCollectionViewDelegate)? { get set }
11 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:36: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:67: warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableView:1:12: note: type declared here
1 | open class NSTableView : NSControl, NSUserInterfaceValidations, NSTextViewDelegate, NSDraggingSource, NSAccessibilityTable {
| `- note: type declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:191: warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- warning: cannot use class 'NSTableCellView' here; 'AppKit' was not imported by this file
19 | //
20 | var reloadData = false
AppKit.NSTableCellView:2:12: note: type declared here
1 | @available(macOS 10.7, *)
2 | open class NSTableCellView : NSView {
| `- note: type declared here
3 | open var objectValue: Any? { get set }
4 | @IBOutlet unowned(unsafe) open var textField: NSTextField? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:18:99: warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| |- warning: static property 'effectFade' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'AppKit' will be added implicitly
19 | //
20 | var reloadData = false
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:37:30: warning: main actor-isolated property 'numberOfRows' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
35 | }
36 | .willChangeContent {
37 | if tableView.numberOfRows == 0 {
| `- warning: main actor-isolated property 'numberOfRows' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
38 | reloadData = true
39 | }
AppKit.NSTableView:26:14: note: property declared here
24 | open var tableColumns: [NSTableColumn] { get }
25 | open var numberOfColumns: Int { get }
26 | open var numberOfRows: Int { get }
| `- note: property declared here
27 | open func addTableColumn(_ tableColumn: NSTableColumn)
28 | open func removeTableColumn(_ tableColumn: NSTableColumn)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:87:31: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 | //
86 | guard !reloadData else {
87 | tableView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
88 | return
89 | }
AppKit.NSTableView:41:15: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
39 | open func scrollRowToVisible(_ row: Int)
40 | open func scrollColumnToVisible(_ column: Int)
41 | open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:92:54: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
90 |
91 | //
92 | let performer = animated ? tableView.animator() : tableView
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | //
AppKit.NSView:363:26: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
361 | open var effectiveAppearance: NSAppearance { get }
362 | @available(macOS 10.5, *)
363 | @MainActor open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
364 | @available(macOS 10.5, *)
365 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:95:27: warning: call to main actor-isolated instance method 'beginUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
93 |
94 | //
95 | performer.beginUpdates()
| `- warning: call to main actor-isolated instance method 'beginUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
96 |
97 | //
AppKit.NSTableView:173:15: note: calls to instance method 'beginUpdates()' from outside of its actor context are implicitly asynchronous
171 | open var rowActionsVisible: Bool { get set }
172 | @available(macOS 10.7, *)
173 | open func beginUpdates()
| `- note: calls to instance method 'beginUpdates()' from outside of its actor context are implicitly asynchronous
174 | @available(macOS 10.7, *)
175 | open func endUpdates()
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:104:39: warning: call to main actor-isolated instance method 'reloadData(forRowIndexes:columnIndexes:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | case .update(let indexPath):
103 | if cellViewConfigurationHandler == nil {
104 | performer.reloadData(forRowIndexes: IndexSet(integer: indexPath.item), columnIndexes: IndexSet())
| `- warning: call to main actor-isolated instance method 'reloadData(forRowIndexes:columnIndexes:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 | }
106 | else {
AppKit.NSTableView:44:15: note: calls to instance method 'reloadData(forRowIndexes:columnIndexes:)' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
44 | open func reloadData(forRowIndexes rowIndexes: IndexSet, columnIndexes: IndexSet)
| `- note: calls to instance method 'reloadData(forRowIndexes:columnIndexes:)' from outside of its actor context are implicitly asynchronous
45 | @available(macOS 10.6, *)
46 | @available(swift, obsoleted: 3, renamed: "reloadData(forRowIndexes:columnIndexes:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:111:35: warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
109 |
110 | case .delete(let indexPath):
111 | performer.removeRows(at: IndexSet(integer: indexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 |
113 | case .insert(let indexPath):
AppKit.NSTableView:182:15: note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
180 | open func insertRowsAtIndexes(_ indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
181 | @available(macOS 10.7, *)
182 | open func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
183 | @available(macOS 10.7, *)
184 | @available(swift, obsoleted: 3, renamed: "removeRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:114:35: warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
112 |
113 | case .insert(let indexPath):
114 | performer.insertRows(at: IndexSet(integer: indexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |
116 | case .move(let oldIndexPath, let newIndexPath):
AppKit.NSTableView:177:15: note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
175 | open func endUpdates()
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
178 | @available(macOS 10.7, *)
179 | @available(swift, obsoleted: 3, renamed: "insertRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:118:35: warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | case .move(let oldIndexPath, let newIndexPath):
117 | //performer.moveRow(at: oldIndexPath.item, to: newIndexPath.item)
118 | performer.removeRows(at: IndexSet(integer: oldIndexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'removeRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 | performer.insertRows(at: IndexSet(integer: newIndexPath.item), withAnimation: animationOptions)
120 | }
AppKit.NSTableView:182:15: note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
180 | open func insertRowsAtIndexes(_ indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
181 | @available(macOS 10.7, *)
182 | open func removeRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'removeRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
183 | @available(macOS 10.7, *)
184 | @available(swift, obsoleted: 3, renamed: "removeRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:119:35: warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
117 | //performer.moveRow(at: oldIndexPath.item, to: newIndexPath.item)
118 | performer.removeRows(at: IndexSet(integer: oldIndexPath.item), withAnimation: animationOptions)
119 | performer.insertRows(at: IndexSet(integer: newIndexPath.item), withAnimation: animationOptions)
| `- warning: call to main actor-isolated instance method 'insertRows(at:withAnimation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
120 | }
121 | }
AppKit.NSTableView:177:15: note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
175 | open func endUpdates()
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
| `- note: calls to instance method 'insertRows(at:withAnimation:)' from outside of its actor context are implicitly asynchronous
178 | @available(macOS 10.7, *)
179 | @available(swift, obsoleted: 3, renamed: "insertRows(at:withAnimation:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:124:27: warning: call to main actor-isolated instance method 'endUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |
123 | //
124 | performer.endUpdates()
| `- warning: call to main actor-isolated instance method 'endUpdates()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
125 |
126 | //
AppKit.NSTableView:175:15: note: calls to instance method 'endUpdates()' from outside of its actor context are implicitly asynchronous
173 | open func beginUpdates()
174 | @available(macOS 10.7, *)
175 | open func endUpdates()
| `- note: calls to instance method 'endUpdates()' from outside of its actor context are implicitly asynchronous
176 | @available(macOS 10.7, *)
177 | open func insertRows(at indexes: IndexSet, withAnimation animationOptions: NSTableView.AnimationOptions = [])
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:128:45: warning: call to main actor-isolated instance method 'view(atColumn:row:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 | //
127 | updatedIndexPaths.forEach {
128 | if let item = tableView.view(atColumn: 0, row: $0.item, makeIfNecessary: false) as? NSTableCellView {
| `- warning: call to main actor-isolated instance method 'view(atColumn:row:makeIfNecessary:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 | cellViewConfigurationHandler?(item, $0)
130 | }
AppKit.NSTableView:136:15: note: calls to instance method 'view(atColumn:row:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
134 | open func drawBackgroundInClipRect(_ clipRect: NSRect)
135 | @available(macOS 10.7, *)
136 | open func view(atColumn column: Int, row: Int, makeIfNecessary: Bool) -> NSView?
| `- note: calls to instance method 'view(atColumn:row:makeIfNecessary:)' from outside of its actor context are implicitly asynchronous
137 | @available(macOS 10.7, *)
138 | @available(swift, obsoleted: 3, renamed: "view(atColumn:row:makeIfNecessary:)")
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSTableView+Extensions.swift:135:19: warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
16 | /// WARNING: To avoid memory leaks do not pass a func as the configuration handler, pass a closure with *weak* self.
17 | @discardableResult
18 | public func bind(to tableView: NSTableView, animationOptions: NSTableView.AnimationOptions = .effectFade, sectionOffset: Int = 0, animated: Bool = false, cellViewConfigurationHandler: ((NSTableCellView, IndexPath) -> Void)? = nil) -> Self {
| `- note: add '@MainActor' to make instance method 'bind(to:animationOptions:sectionOffset:animated:cellViewConfigurationHandler:)' part of global actor 'MainActor'
19 | //
20 | var reloadData = false
:
133 |
134 | //
135 | tableView.reloadData()
| `- warning: call to main actor-isolated instance method 'reloadData()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |
137 | //
AppKit.NSTableView:41:15: note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
39 | open func scrollRowToVisible(_ row: Int)
40 | open func scrollColumnToVisible(_ column: Int)
41 | open func reloadData()
| `- note: calls to instance method 'reloadData()' from outside of its actor context are implicitly asynchronous
42 | open func noteNumberOfRowsChanged()
43 | @available(macOS 10.6, *)
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: sending task-isolated value of type '() -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: sending task-isolated value of type '() -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
/Users/admin/builder/spi-builder-workspace/Sources/Convenience/NSCollectionView+Extensions.swift:97:27: warning: sending task-isolated value of type '(Bool) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
95 | let performer = animated ? collectionView.animator() : collectionView
96 |
97 | performer.performBatchUpdates({
| `- warning: sending task-isolated value of type '(Bool) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
98 | sectionChanges.forEach {
99 | switch $0 {
[26/28] Compiling AlecrimCoreData EntityObserver.swift
[27/28] Compiling AlecrimCoreData FetchRequestController+Extensions.swift
[28/28] Compiling AlecrimCoreData ManagedObjectContextType.swift
Build complete! (31.22s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AlecrimCoreData",
"name" : "AlecrimCoreData",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "AlecrimCoreData",
"targets" : [
"AlecrimCoreData"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AlecrimCoreData",
"module_type" : "SwiftTarget",
"name" : "AlecrimCoreData",
"path" : "Sources",
"product_memberships" : [
"AlecrimCoreData"
],
"sources" : [
"Convenience/EntityObserver.swift",
"Convenience/FetchRequestController+Extensions.swift",
"Convenience/ManagedObjectContextType.swift",
"Convenience/NSArrayController+Extensions.swift",
"Convenience/NSCollectionView+Extensions.swift",
"Convenience/NSTableView+Extensions.swift",
"Convenience/UICollectionView+Extensions.swift",
"Convenience/UITableView+Extensions.swift",
"Core/Persistent Container/CustomPersistentContainer.swift",
"Core/Persistent Container/ManagedObject.swift",
"Core/Persistent Container/ManagedObjectContext.swift",
"Core/Persistent Container/PersistentContainer.swift",
"Core/Persistent Container/PersistentContainerAuxiliarTypes.swift",
"Core/Persistent Container/PersistentContainerType.swift",
"Core/Query/Config.swift",
"Core/Query/Expression.swift",
"Core/Query/FetchRequest.swift",
"Core/Query/KeyPath.swift",
"Core/Query/Predicate.swift",
"Core/Query/Query.swift",
"Core/Query/Queryable.swift",
"Core/Query/SortDescriptor.swift",
"Fetch Request Controller/FetchRequestController.swift",
"Fetch Request Controller/FetchedResultsControllerDelegate.swift",
"Fetch Request Controller/FetchedResultsSectionInfo.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.