Build Information
Successful build of Mortar, reference 3.3.2 (a07e71), with Swift 6.1 for macOS (SPM) on 28 Feb 2026 15:35:07 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jmfieldman/Mortar.git
Reference: 3.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jmfieldman/Mortar
* tag 3.3.2 -> FETCH_HEAD
HEAD is now at a07e71f stacks for macOS
Cloned https://github.com/jmfieldman/Mortar.git
Revision (git rev-parse @):
a07e71f1ddd470946a64f1eaae788cf8a95d2bcb
SUCCESS checkout https://github.com/jmfieldman/Mortar.git at 3.3.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jmfieldman/Mortar.git
https://github.com/jmfieldman/Mortar.git
{
"dependencies" : [
{
"identity" : "combineex",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.46",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jmfieldman/CombineEx.git"
}
],
"manifest_display_name" : "Mortar",
"name" : "Mortar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "Mortar",
"targets" : [
"Mortar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MortarTests",
"module_type" : "SwiftTarget",
"name" : "MortarTests",
"path" : "MortarTests",
"sources" : [
"MortarLayoutTests.swift",
"TestUtilities.swift"
],
"target_dependencies" : [
"Mortar"
],
"type" : "test"
},
{
"c99name" : "Mortar",
"module_type" : "SwiftTarget",
"name" : "Mortar",
"path" : "Mortar",
"product_dependencies" : [
"CombineEx"
],
"product_memberships" : [
"Mortar"
],
"sources" : [
"Exports.swift",
"LayoutGuide+MortarCoordinate.swift",
"ManagedViews/CollectionView/ManagedCollectionView.swift",
"ManagedViews/CollectionView/ManagedCollectionViewCell.swift",
"ManagedViews/CollectionView/ManagedCollectionViewHeaderFooterView.swift",
"ManagedViews/CollectionView/ManagedCollectionViewSection.swift",
"ManagedViews/ManagedViewCommon.swift",
"ManagedViews/TableView/ManagedTableView.swift",
"ManagedViews/TableView/ManagedTableViewCell.swift",
"ManagedViews/TableView/ManagedTableViewDelegation.swift",
"ManagedViews/TableView/ManagedTableViewHeaderFooterView.swift",
"ManagedViews/TableView/ManagedTableViewSection.swift",
"ManagedViews/TableView/StandardCells/StandardTableViewCell.swift",
"Mortar.swift",
"MortarAnchorProvider.swift",
"MortarAxisPriorities.swift",
"MortarCGFloatable.swift",
"MortarConstraint.swift",
"MortarConstraintGroup.swift",
"MortarCoordinate.swift",
"MortarError.swift",
"MortarGestureRecognizer.swift",
"MortarObjectAttachments.swift",
"MortarReactive.swift",
"MortarScrollView.swift",
"MortarStyle.swift",
"MortarTextDelegation.swift",
"MortarViewAliases.swift",
"Operators.swift",
"View+LayoutStack.swift",
"View+MortarCoordinate.swift",
"View+ResultBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/45] Emitting module CombineEx
[5/49] Compiling CombineEx FlatMapLatest.swift
[6/49] Compiling CombineEx IgnoreFailure.swift
[7/49] Compiling CombineEx JustFailEmpty.swift
[8/49] Compiling CombineEx MapOnMainActor.swift
[9/49] Compiling CombineEx DeferredFutureDemuxer.swift
[10/49] Compiling CombineEx DemoteFailure.swift
[11/49] Compiling CombineEx EventHandling.swift
[12/49] Compiling CombineEx EventHandlingMainActor.swift
[13/49] Compiling CombineEx FilterProperty.swift
[14/49] Compiling CombineEx Sink.swift
[15/49] Compiling CombineEx MutableProperty.swift
[16/49] Compiling CombineEx PersistentProperty.swift
[17/49] Compiling CombineEx Property.swift
[18/49] Compiling CombineEx AttemptMap.swift
[19/49] Compiling CombineEx CombinePrevious.swift
[20/49] Compiling CombineEx CompleteAfter.swift
[21/49] Compiling CombineEx CompositeError.swift
[22/49] Compiling CombineEx Custom.swift
[23/49] Compiling CombineEx DeferredFuture+Operators.swift
[24/49] Compiling CombineEx DeferredFuture.swift
[25/49] Compiling CombineEx DeferredPublisher+Operators.swift
[26/49] Compiling CombineEx DeferredPublisher.swift
[27/49] Compiling CombineEx Exports.swift
[28/49] Compiling CombineEx PromoteFailure.swift
[29/49] Compiling CombineEx PropertyMap.swift
[30/49] Compiling CombineEx ReplaySubject.swift
[31/49] Compiling CombineEx SendableOverloads.swift
[32/49] Compiling CombineEx Aggregation+DeferredFuture.swift
[33/49] Compiling CombineEx Aggregation+DeferredPublisher.swift
[34/49] Compiling CombineEx Aggregation+Publisher.swift
[35/49] Compiling CombineEx Aggregation.swift
[36/49] Compiling CombineEx AsyncFuture.swift
[37/49] Compiling CombineEx MapOptional.swift
[38/49] Compiling CombineEx MapVoid.swift
[39/49] Compiling CombineEx Pipe.swift
[40/49] Compiling CombineEx PrependDynamic.swift
[41/49] Compiling CombineEx PropertyProtocol+Operators.swift
[42/49] Compiling CombineEx UIProperty.swift
[43/49] Compiling CombineEx Publisher+SchedulerExtensions.swift
[44/49] Compiling CombineEx UIScheduler.swift
[45/49] Compiling CombineEx Action.swift
[46/49] Compiling CombineEx ActionTrigger.swift
[47/49] Compiling CombineEx BindTarget.swift
[48/49] Compiling CombineEx KvoProperty.swift
[49/49] Compiling CombineEx SinkProviding.swift
[50/79] Emitting module Mortar
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:28:13: warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // MARK: Associated Properties
27 |
28 | private var kAssociatedPropertyKey = 0
| |- warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedPropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedPropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var kAssociatedMutablePropertyKey = 0
30 |
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:29:13: warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var kAssociatedPropertyKey = 0
29 | private var kAssociatedMutablePropertyKey = 0
| |- warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedMutablePropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedMutablePropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | func __AssociatedMutableProperty<T>(_ object: AnyObject, _ type: T.Type, _ initialValue: T, _ created: inout Bool) -> MutableProperty<T> {
/Users/admin/builder/spi-builder-workspace/Mortar/MortarCoordinate.swift:96:16: warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
42 |
43 | public protocol MortarCoordinateConvertible {
44 | var coordinate: MortarCoordinate { get }
| `- note: requirement 'coordinate' declared here
45 | }
46 |
:
93 | }
94 |
95 | extension MortarView: MortarCoordinateConvertible {
| `- note: add '@preconcurrency' to the 'MortarCoordinateConvertible' conformance to defer isolation checking to run time
96 | public var coordinate: MortarCoordinate {
| `- warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
97 | .init(
98 | item: self,
/Users/admin/builder/spi-builder-workspace/Mortar/MortarError.swift:10:16: warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public enum MortarError {
9 | static let errorSubject = MutableProperty<String?>(nil)
10 | static let installBag = NSObject()
| |- warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'installBag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static func emit(_ message: String) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:53:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
51 | OBJC_ROOT_CLASS
52 | OBJC_EXPORT
53 | @interface NSObject <NSObject> {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
54 | #pragma clang diagnostic push
55 | #pragma clang diagnostic ignored "-Wobjc-interface-ivars"
/Users/admin/builder/spi-builder-workspace/Mortar/MortarObjectAttachments.swift:8:13: warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | private var kPermanentObjDictAssociationKey = 0
| |- warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kPermanentObjDictAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kPermanentObjDictAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a dictionary used for storing permanently-associated values, creating one if it doesn't exist.
/Users/admin/builder/spi-builder-workspace/Mortar/MortarStyle.swift:12:13: warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | #endif
11 |
12 | private var kStyleBoxAssociationKey = 0
| |- warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kStyleBoxAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kStyleBoxAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A class that wraps an `[NSAttributedString.Key: Any]` for use with associated
/Users/admin/builder/spi-builder-workspace/Mortar/View+LayoutStack.swift:7:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
4 | //
5 |
6 | class MortarMainThreadLayoutStack {
| `- note: class 'MortarMainThreadLayoutStack' does not conform to the 'Sendable' protocol
7 | public static let shared = MortarMainThreadLayoutStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private var stackDepth: Int = 0
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'init(frame:)' to make this initializer not isolated to the actor
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:65:23: note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
60 |
61 | public protocol MortarFrameInitializable {
62 | init(frame: CGRect)
| `- note: mark the protocol requirement 'init(frame:)' 'async' to allow actor-isolated conformances
63 | }
64 |
65 | extension MortarView: MortarFrameInitializable {}
| `- note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
66 |
67 | public extension MortarFrameInitializable where Self: MortarView {
[51/82] Compiling Mortar MortarError.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarError.swift:10:16: warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public enum MortarError {
9 | static let errorSubject = MutableProperty<String?>(nil)
10 | static let installBag = NSObject()
| |- warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'installBag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static func emit(_ message: String) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:53:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
51 | OBJC_ROOT_CLASS
52 | OBJC_EXPORT
53 | @interface NSObject <NSObject> {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
54 | #pragma clang diagnostic push
55 | #pragma clang diagnostic ignored "-Wobjc-interface-ivars"
/Users/admin/builder/spi-builder-workspace/Mortar/MortarObjectAttachments.swift:8:13: warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | private var kPermanentObjDictAssociationKey = 0
| |- warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kPermanentObjDictAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kPermanentObjDictAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a dictionary used for storing permanently-associated values, creating one if it doesn't exist.
[52/82] Compiling Mortar MortarGestureRecognizer.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarError.swift:10:16: warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public enum MortarError {
9 | static let errorSubject = MutableProperty<String?>(nil)
10 | static let installBag = NSObject()
| |- warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'installBag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static func emit(_ message: String) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:53:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
51 | OBJC_ROOT_CLASS
52 | OBJC_EXPORT
53 | @interface NSObject <NSObject> {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
54 | #pragma clang diagnostic push
55 | #pragma clang diagnostic ignored "-Wobjc-interface-ivars"
/Users/admin/builder/spi-builder-workspace/Mortar/MortarObjectAttachments.swift:8:13: warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | private var kPermanentObjDictAssociationKey = 0
| |- warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kPermanentObjDictAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kPermanentObjDictAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a dictionary used for storing permanently-associated values, creating one if it doesn't exist.
[53/82] Compiling Mortar MortarObjectAttachments.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarError.swift:10:16: warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public enum MortarError {
9 | static let errorSubject = MutableProperty<String?>(nil)
10 | static let installBag = NSObject()
| |- warning: static property 'installBag' is not concurrency-safe because non-'Sendable' type 'NSObject' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'installBag' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static func emit(_ message: String) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:53:12: note: class 'NSObject' does not conform to the 'Sendable' protocol
51 | OBJC_ROOT_CLASS
52 | OBJC_EXPORT
53 | @interface NSObject <NSObject> {
| `- note: class 'NSObject' does not conform to the 'Sendable' protocol
54 | #pragma clang diagnostic push
55 | #pragma clang diagnostic ignored "-Wobjc-interface-ivars"
/Users/admin/builder/spi-builder-workspace/Mortar/MortarObjectAttachments.swift:8:13: warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | private var kPermanentObjDictAssociationKey = 0
| |- warning: var 'kPermanentObjDictAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kPermanentObjDictAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kPermanentObjDictAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Returns a dictionary used for storing permanently-associated values, creating one if it doesn't exist.
[54/82] Compiling Mortar MortarAnchorProvider.swift
[55/82] Compiling Mortar MortarAxisPriorities.swift
[56/82] Compiling Mortar MortarCGFloatable.swift
[57/82] Compiling Mortar MortarTextDelegation.swift
[58/82] Compiling Mortar MortarViewAliases.swift
[59/82] Compiling Mortar Operators.swift
[60/82] Compiling Mortar MortarConstraint.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarConstraint.swift:80:37: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | }
63 |
64 | private func resolveSourceItem(_ item: Any?) throws -> Any? {
| `- note: add '@MainActor' to make global function 'resolveSourceItem' part of global actor 'MainActor'
65 | guard let item else {
66 | return nil
:
78 | switch reference {
79 | case let .parent(view, block):
80 | guard let parent = view.superview else {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
81 | MortarError.emit("Constraint source item must be a subview of a UIView")
82 | return nil
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Mortar/MortarConstraintGroup.swift:68:24: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 | // Turn off target `translatesAutoresizingMaskIntoConstraints` if it is a view
67 | if let targetView = targetItem as? MortarView {
68 | targetView.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 | }
70 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/Mortar/MortarCoordinate.swift:96:16: warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
42 |
43 | public protocol MortarCoordinateConvertible {
44 | var coordinate: MortarCoordinate { get }
| `- note: requirement 'coordinate' declared here
45 | }
46 |
:
93 | }
94 |
95 | extension MortarView: MortarCoordinateConvertible {
| `- note: add '@preconcurrency' to the 'MortarCoordinateConvertible' conformance to defer isolation checking to run time
96 | public var coordinate: MortarCoordinate {
| `- warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
97 | .init(
98 | item: self,
[61/82] Compiling Mortar MortarConstraintGroup.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarConstraint.swift:80:37: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | }
63 |
64 | private func resolveSourceItem(_ item: Any?) throws -> Any? {
| `- note: add '@MainActor' to make global function 'resolveSourceItem' part of global actor 'MainActor'
65 | guard let item else {
66 | return nil
:
78 | switch reference {
79 | case let .parent(view, block):
80 | guard let parent = view.superview else {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
81 | MortarError.emit("Constraint source item must be a subview of a UIView")
82 | return nil
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Mortar/MortarConstraintGroup.swift:68:24: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 | // Turn off target `translatesAutoresizingMaskIntoConstraints` if it is a view
67 | if let targetView = targetItem as? MortarView {
68 | targetView.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 | }
70 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/Mortar/MortarCoordinate.swift:96:16: warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
42 |
43 | public protocol MortarCoordinateConvertible {
44 | var coordinate: MortarCoordinate { get }
| `- note: requirement 'coordinate' declared here
45 | }
46 |
:
93 | }
94 |
95 | extension MortarView: MortarCoordinateConvertible {
| `- note: add '@preconcurrency' to the 'MortarCoordinateConvertible' conformance to defer isolation checking to run time
96 | public var coordinate: MortarCoordinate {
| `- warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
97 | .init(
98 | item: self,
[62/82] Compiling Mortar MortarCoordinate.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarConstraint.swift:80:37: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | }
63 |
64 | private func resolveSourceItem(_ item: Any?) throws -> Any? {
| `- note: add '@MainActor' to make global function 'resolveSourceItem' part of global actor 'MainActor'
65 | guard let item else {
66 | return nil
:
78 | switch reference {
79 | case let .parent(view, block):
80 | guard let parent = view.superview else {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
81 | MortarError.emit("Constraint source item must be a subview of a UIView")
82 | return nil
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Mortar/MortarConstraintGroup.swift:68:24: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 | // Turn off target `translatesAutoresizingMaskIntoConstraints` if it is a view
67 | if let targetView = targetItem as? MortarView {
68 | targetView.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 | }
70 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/Mortar/MortarCoordinate.swift:96:16: warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
42 |
43 | public protocol MortarCoordinateConvertible {
44 | var coordinate: MortarCoordinate { get }
| `- note: requirement 'coordinate' declared here
45 | }
46 |
:
93 | }
94 |
95 | extension MortarView: MortarCoordinateConvertible {
| `- note: add '@preconcurrency' to the 'MortarCoordinateConvertible' conformance to defer isolation checking to run time
96 | public var coordinate: MortarCoordinate {
| `- warning: main actor-isolated property 'coordinate' cannot be used to satisfy nonisolated requirement from protocol 'MortarCoordinateConvertible'; this is an error in the Swift 6 language mode
97 | .init(
98 | item: self,
[63/82] Compiling Mortar ManagedTableViewCell.swift
[64/82] Compiling Mortar ManagedTableViewDelegation.swift
[65/82] Compiling Mortar ManagedTableViewHeaderFooterView.swift
[66/82] Compiling Mortar ManagedCollectionViewHeaderFooterView.swift
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:28:13: warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // MARK: Associated Properties
27 |
28 | private var kAssociatedPropertyKey = 0
| |- warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedPropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedPropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var kAssociatedMutablePropertyKey = 0
30 |
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:29:13: warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var kAssociatedPropertyKey = 0
29 | private var kAssociatedMutablePropertyKey = 0
| |- warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedMutablePropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedMutablePropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | func __AssociatedMutableProperty<T>(_ object: AnyObject, _ type: T.Type, _ initialValue: T, _ created: inout Bool) -> MutableProperty<T> {
[67/82] Compiling Mortar ManagedCollectionViewSection.swift
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:28:13: warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // MARK: Associated Properties
27 |
28 | private var kAssociatedPropertyKey = 0
| |- warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedPropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedPropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var kAssociatedMutablePropertyKey = 0
30 |
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:29:13: warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var kAssociatedPropertyKey = 0
29 | private var kAssociatedMutablePropertyKey = 0
| |- warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedMutablePropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedMutablePropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | func __AssociatedMutableProperty<T>(_ object: AnyObject, _ type: T.Type, _ initialValue: T, _ created: inout Bool) -> MutableProperty<T> {
[68/82] Compiling Mortar ManagedViewCommon.swift
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:28:13: warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // MARK: Associated Properties
27 |
28 | private var kAssociatedPropertyKey = 0
| |- warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedPropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedPropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var kAssociatedMutablePropertyKey = 0
30 |
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:29:13: warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var kAssociatedPropertyKey = 0
29 | private var kAssociatedMutablePropertyKey = 0
| |- warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedMutablePropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedMutablePropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | func __AssociatedMutableProperty<T>(_ object: AnyObject, _ type: T.Type, _ initialValue: T, _ created: inout Bool) -> MutableProperty<T> {
[69/82] Compiling Mortar ManagedTableView.swift
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:28:13: warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | // MARK: Associated Properties
27 |
28 | private var kAssociatedPropertyKey = 0
| |- warning: var 'kAssociatedPropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedPropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedPropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | private var kAssociatedMutablePropertyKey = 0
30 |
/Users/admin/builder/spi-builder-workspace/Mortar/ManagedViews/ManagedViewCommon.swift:29:13: warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | private var kAssociatedPropertyKey = 0
29 | private var kAssociatedMutablePropertyKey = 0
| |- warning: var 'kAssociatedMutablePropertyKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kAssociatedMutablePropertyKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kAssociatedMutablePropertyKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | func __AssociatedMutableProperty<T>(_ object: AnyObject, _ type: T.Type, _ initialValue: T, _ created: inout Bool) -> MutableProperty<T> {
[70/82] Compiling Mortar Exports.swift
[71/82] Compiling Mortar LayoutGuide+MortarCoordinate.swift
[72/82] Compiling Mortar ManagedCollectionView.swift
[73/82] Compiling Mortar ManagedCollectionViewCell.swift
[74/82] Compiling Mortar MortarReactive.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarStyle.swift:12:13: warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | #endif
11 |
12 | private var kStyleBoxAssociationKey = 0
| |- warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kStyleBoxAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kStyleBoxAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A class that wraps an `[NSAttributedString.Key: Any]` for use with associated
[75/82] Compiling Mortar MortarScrollView.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarStyle.swift:12:13: warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | #endif
11 |
12 | private var kStyleBoxAssociationKey = 0
| |- warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kStyleBoxAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kStyleBoxAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A class that wraps an `[NSAttributedString.Key: Any]` for use with associated
[76/82] Compiling Mortar MortarStyle.swift
/Users/admin/builder/spi-builder-workspace/Mortar/MortarStyle.swift:12:13: warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | #endif
11 |
12 | private var kStyleBoxAssociationKey = 0
| |- warning: var 'kStyleBoxAssociationKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kStyleBoxAssociationKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'kStyleBoxAssociationKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A class that wraps an `[NSAttributedString.Key: Any]` for use with associated
[77/82] Compiling Mortar View+LayoutStack.swift
/Users/admin/builder/spi-builder-workspace/Mortar/View+LayoutStack.swift:7:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
4 | //
5 |
6 | class MortarMainThreadLayoutStack {
| `- note: class 'MortarMainThreadLayoutStack' does not conform to the 'Sendable' protocol
7 | public static let shared = MortarMainThreadLayoutStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private var stackDepth: Int = 0
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'init(frame:)' to make this initializer not isolated to the actor
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:65:23: note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
60 |
61 | public protocol MortarFrameInitializable {
62 | init(frame: CGRect)
| `- note: mark the protocol requirement 'init(frame:)' 'async' to allow actor-isolated conformances
63 | }
64 |
65 | extension MortarView: MortarFrameInitializable {}
| `- note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
66 |
67 | public extension MortarFrameInitializable where Self: MortarView {
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:71:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | /// - Parameter subviewBoxes: A closure that returns an array of `MortarAddViewBox` instances.
70 | init(@MortarAddSubviewsBuilder _ subviewBoxes: () -> [MortarAddViewBox]) {
71 | self.init(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 | MortarMainThreadLayoutStack.execute {
73 | process(subviewBoxes())
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:73:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
71 | self.init(frame: .zero)
72 | MortarMainThreadLayoutStack.execute {
73 | process(subviewBoxes())
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:80:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | /// - Parameter subviewBoxes: A closure that takes the current view and returns an array of `MortarAddViewBox` instances.
79 | init(@MortarAddSubviewsBuilder _ subviewBoxes: (Self) -> [MortarAddViewBox]) {
80 | self.init(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | MortarMainThreadLayoutStack.execute {
82 | process(subviewBoxes(self))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:82:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
80 | self.init(frame: .zero)
81 | MortarMainThreadLayoutStack.execute {
82 | process(subviewBoxes(self))
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:98:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
96 | func configure(@MortarAddSubviewsBuilder _ configureBlock: () -> [MortarAddViewBox]) -> Self {
97 | MortarMainThreadLayoutStack.execute {
98 | process(configureBlock())
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 | return self
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:109:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
107 | func configure(@MortarAddSubviewsBuilder _ configureBlock: (Self) -> [MortarAddViewBox]) -> Self {
108 | MortarMainThreadLayoutStack.execute {
109 | process(configureBlock(self))
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | return self
[78/82] Compiling Mortar View+MortarCoordinate.swift
/Users/admin/builder/spi-builder-workspace/Mortar/View+LayoutStack.swift:7:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
4 | //
5 |
6 | class MortarMainThreadLayoutStack {
| `- note: class 'MortarMainThreadLayoutStack' does not conform to the 'Sendable' protocol
7 | public static let shared = MortarMainThreadLayoutStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private var stackDepth: Int = 0
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'init(frame:)' to make this initializer not isolated to the actor
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:65:23: note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
60 |
61 | public protocol MortarFrameInitializable {
62 | init(frame: CGRect)
| `- note: mark the protocol requirement 'init(frame:)' 'async' to allow actor-isolated conformances
63 | }
64 |
65 | extension MortarView: MortarFrameInitializable {}
| `- note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
66 |
67 | public extension MortarFrameInitializable where Self: MortarView {
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:71:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | /// - Parameter subviewBoxes: A closure that returns an array of `MortarAddViewBox` instances.
70 | init(@MortarAddSubviewsBuilder _ subviewBoxes: () -> [MortarAddViewBox]) {
71 | self.init(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 | MortarMainThreadLayoutStack.execute {
73 | process(subviewBoxes())
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:73:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
71 | self.init(frame: .zero)
72 | MortarMainThreadLayoutStack.execute {
73 | process(subviewBoxes())
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:80:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | /// - Parameter subviewBoxes: A closure that takes the current view and returns an array of `MortarAddViewBox` instances.
79 | init(@MortarAddSubviewsBuilder _ subviewBoxes: (Self) -> [MortarAddViewBox]) {
80 | self.init(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | MortarMainThreadLayoutStack.execute {
82 | process(subviewBoxes(self))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:82:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
80 | self.init(frame: .zero)
81 | MortarMainThreadLayoutStack.execute {
82 | process(subviewBoxes(self))
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:98:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
96 | func configure(@MortarAddSubviewsBuilder _ configureBlock: () -> [MortarAddViewBox]) -> Self {
97 | MortarMainThreadLayoutStack.execute {
98 | process(configureBlock())
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 | return self
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:109:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
107 | func configure(@MortarAddSubviewsBuilder _ configureBlock: (Self) -> [MortarAddViewBox]) -> Self {
108 | MortarMainThreadLayoutStack.execute {
109 | process(configureBlock(self))
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | return self
[79/82] Compiling Mortar View+ResultBuilder.swift
/Users/admin/builder/spi-builder-workspace/Mortar/View+LayoutStack.swift:7:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
4 | //
5 |
6 | class MortarMainThreadLayoutStack {
| `- note: class 'MortarMainThreadLayoutStack' does not conform to the 'Sendable' protocol
7 | public static let shared = MortarMainThreadLayoutStack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MortarMainThreadLayoutStack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | private var stackDepth: Int = 0
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- warning: main actor-isolated initializer 'init(frame:)' cannot be used to satisfy nonisolated requirement from protocol 'MortarFrameInitializable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'init(frame:)' to make this initializer not isolated to the actor
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:65:23: note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
60 |
61 | public protocol MortarFrameInitializable {
62 | init(frame: CGRect)
| `- note: mark the protocol requirement 'init(frame:)' 'async' to allow actor-isolated conformances
63 | }
64 |
65 | extension MortarView: MortarFrameInitializable {}
| `- note: add '@preconcurrency' to the 'MortarFrameInitializable' conformance to defer isolation checking to run time
66 |
67 | public extension MortarFrameInitializable where Self: MortarView {
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:71:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | /// - Parameter subviewBoxes: A closure that returns an array of `MortarAddViewBox` instances.
70 | init(@MortarAddSubviewsBuilder _ subviewBoxes: () -> [MortarAddViewBox]) {
71 | self.init(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 | MortarMainThreadLayoutStack.execute {
73 | process(subviewBoxes())
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:73:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
71 | self.init(frame: .zero)
72 | MortarMainThreadLayoutStack.execute {
73 | process(subviewBoxes())
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:80:14: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | /// - Parameter subviewBoxes: A closure that takes the current view and returns an array of `MortarAddViewBox` instances.
79 | init(@MortarAddSubviewsBuilder _ subviewBoxes: (Self) -> [MortarAddViewBox]) {
80 | self.init(frame: .zero)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | MortarMainThreadLayoutStack.execute {
82 | process(subviewBoxes(self))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:83:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
81 | @interface NSView : NSResponder <NSAnimatablePropertyContainer, NSUserInterfaceItemIdentification, NSDraggingDestination, NSAppearanceCustomization, NSAccessibilityElement, NSAccessibility>
82 |
83 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:82:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
80 | self.init(frame: .zero)
81 | MortarMainThreadLayoutStack.execute {
82 | process(subviewBoxes(self))
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | }
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:98:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
96 | func configure(@MortarAddSubviewsBuilder _ configureBlock: () -> [MortarAddViewBox]) -> Self {
97 | MortarMainThreadLayoutStack.execute {
98 | process(configureBlock())
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | }
100 | return self
/Users/admin/builder/spi-builder-workspace/Mortar/View+ResultBuilder.swift:109:13: warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | /// Processes an array of `MortarAddViewBox` instances and adds their views to the current view.
51 | /// - Parameter addViewBoxes: An array of `MortarAddViewBox` instances.
52 | func process(_ addViewBoxes: [MortarAddViewBox]) {
| |- note: calls to instance method 'process' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
53 | if let stackView = self as? MortarStackView {
54 | addViewBoxes.compactMap(\.view).forEach { stackView.addArrangedSubview($0) }
:
107 | func configure(@MortarAddSubviewsBuilder _ configureBlock: (Self) -> [MortarAddViewBox]) -> Self {
108 | MortarMainThreadLayoutStack.execute {
109 | process(configureBlock(self))
| `- warning: call to main actor-isolated instance method 'process' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 | }
111 | return self
[80/82] Compiling Mortar ManagedTableViewSection.swift
[81/82] Compiling Mortar StandardTableViewCell.swift
[82/82] Compiling Mortar Mortar.swift
Build complete! (14.00s)
Fetching https://github.com/jmfieldman/CombineEx.git
[1/1292] Fetching combineex
Fetched https://github.com/jmfieldman/CombineEx.git from cache (0.88s)
Computing version for https://github.com/jmfieldman/CombineEx.git
Computed https://github.com/jmfieldman/CombineEx.git at 0.0.75 (1.37s)
Creating working copy for https://github.com/jmfieldman/CombineEx.git
Working copy of https://github.com/jmfieldman/CombineEx.git resolved at 0.0.75
Build complete.
{
"dependencies" : [
{
"identity" : "combineex",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.46",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jmfieldman/CombineEx.git"
}
],
"manifest_display_name" : "Mortar",
"name" : "Mortar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "Mortar",
"targets" : [
"Mortar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MortarTests",
"module_type" : "SwiftTarget",
"name" : "MortarTests",
"path" : "MortarTests",
"sources" : [
"MortarLayoutTests.swift",
"TestUtilities.swift"
],
"target_dependencies" : [
"Mortar"
],
"type" : "test"
},
{
"c99name" : "Mortar",
"module_type" : "SwiftTarget",
"name" : "Mortar",
"path" : "Mortar",
"product_dependencies" : [
"CombineEx"
],
"product_memberships" : [
"Mortar"
],
"sources" : [
"Exports.swift",
"LayoutGuide+MortarCoordinate.swift",
"ManagedViews/CollectionView/ManagedCollectionView.swift",
"ManagedViews/CollectionView/ManagedCollectionViewCell.swift",
"ManagedViews/CollectionView/ManagedCollectionViewHeaderFooterView.swift",
"ManagedViews/CollectionView/ManagedCollectionViewSection.swift",
"ManagedViews/ManagedViewCommon.swift",
"ManagedViews/TableView/ManagedTableView.swift",
"ManagedViews/TableView/ManagedTableViewCell.swift",
"ManagedViews/TableView/ManagedTableViewDelegation.swift",
"ManagedViews/TableView/ManagedTableViewHeaderFooterView.swift",
"ManagedViews/TableView/ManagedTableViewSection.swift",
"ManagedViews/TableView/StandardCells/StandardTableViewCell.swift",
"Mortar.swift",
"MortarAnchorProvider.swift",
"MortarAxisPriorities.swift",
"MortarCGFloatable.swift",
"MortarConstraint.swift",
"MortarConstraintGroup.swift",
"MortarCoordinate.swift",
"MortarError.swift",
"MortarGestureRecognizer.swift",
"MortarObjectAttachments.swift",
"MortarReactive.swift",
"MortarScrollView.swift",
"MortarStyle.swift",
"MortarTextDelegation.swift",
"MortarViewAliases.swift",
"Operators.swift",
"View+LayoutStack.swift",
"View+MortarCoordinate.swift",
"View+ResultBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.