Build Information
Successful build of CGLayout, reference 0.7.2 (c059f2
), with Swift 6.0 for macOS (SPM) on 8 Oct 2024 05:43:46 UTC.
Swift 6 data race errors: 37
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
491 | items.insert(element, at: index)
492 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift:79:17: note: calls to instance method 'addChildElement' from outside of its actor context are implicitly asynchronous
77 | }
78 |
79 | public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : LayoutGuide<CALayer> {
| `- note: calls to instance method 'addChildElement' from outside of its actor context are implicitly asynchronous
80 | layer?.add(layoutGuide: subItem)
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:497:50: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
494 | ///
495 | /// - Parameter element: Layout guide for removing.
496 | public func removeArrangedElement<T: CALayer>(_ element: LayoutGuide<T>) {
| `- note: add '@MainActor' to make instance method 'removeArrangedElement' part of global actor 'MainActor'
497 | guard removeItem(element), ownerElement?.layer === element.superElement else { return }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
498 | element.removeFromSuperElement()
499 | }
AppKit.NSView:272:25: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | @MainActor open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:510:23: warning: call to main actor-isolated instance method 'addChildElement' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
507 | /// - element: View for addition
508 | /// - index: Index in list.
509 | public func insertArrangedElement(_ element: NSView, at index: Int) {
| `- note: add '@MainActor' to make instance method 'insertArrangedElement(_:at:)' part of global actor 'MainActor'
510 | ownerElement?.addChildElement(element)
| `- warning: call to main actor-isolated instance method 'addChildElement' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
511 | items.insert(element, at: index)
512 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift:92:17: note: calls to instance method 'addChildElement' from outside of its actor context are implicitly asynchronous
90 | layer?.addSublayer(subItem)
91 | }
92 | public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : NSView {
| `- note: calls to instance method 'addChildElement' from outside of its actor context are implicitly asynchronous
93 | addSubview(subItem)
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:517:61: warning: main actor-isolated property 'superElement' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
514 | ///
515 | /// - Parameter element: View for removing.
516 | public func removeArrangedElement(_ element: NSView) {
| `- note: add '@MainActor' to make instance method 'removeArrangedElement' part of global actor 'MainActor'
517 | guard removeItem(element), ownerElement === element.superElement else { return }
| `- warning: main actor-isolated property 'superElement' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
518 | element.removeFromSuperElement()
519 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:186:14: note: property declared here
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
| `- note: property declared here
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:518:17: warning: call to main actor-isolated instance method 'removeFromSuperElement()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
514 | ///
515 | /// - Parameter element: View for removing.
516 | public func removeArrangedElement(_ element: NSView) {
| `- note: add '@MainActor' to make instance method 'removeArrangedElement' part of global actor 'MainActor'
517 | guard removeItem(element), ownerElement === element.superElement else { return }
518 | element.removeFromSuperElement()
| `- warning: call to main actor-isolated instance method 'removeFromSuperElement()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
519 | }
520 | /// Adds a layout guide to the end of the `arrangedItems` list.
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:182:10: note: calls to instance method 'removeFromSuperElement()' from outside of its actor context are implicitly asynchronous
180 | extension NSView: LayoutElement {
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
| `- note: calls to instance method 'removeFromSuperElement()' from outside of its actor context are implicitly asynchronous
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:530:23: warning: call to main actor-isolated instance method 'addChildElement' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
527 | /// - element: Layer for addition
528 | /// - index: Index in list.
529 | public func insertArrangedElement(_ element: CALayer, at index: Int) {
| `- note: add '@MainActor' to make instance method 'insertArrangedElement(_:at:)' part of global actor 'MainActor'
530 | ownerElement?.addChildElement(element)
| `- warning: call to main actor-isolated instance method 'addChildElement' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
531 | items.insert(element, at: index)
532 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift:89:17: note: calls to instance method 'addChildElement' from outside of its actor context are implicitly asynchronous
87 | addLayoutGuide(subItem)
88 | }
89 | public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : CALayer {
| `- note: calls to instance method 'addChildElement' from outside of its actor context are implicitly asynchronous
90 | layer?.addSublayer(subItem)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:537:50: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
534 | ///
535 | /// - Parameter element: Layer for removing.
536 | public func removeArrangedElement(_ element: CALayer) {
| `- note: add '@MainActor' to make instance method 'removeArrangedElement' part of global actor 'MainActor'
537 | guard removeItem(element), ownerElement?.layer === element.superElement else { return }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
538 | element.removeFromSuperElement()
539 | }
AppKit.NSView:272:25: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | @MainActor open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:470:23: warning: sending task-isolated value of type 'LayoutGuide<NSView>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
468 | /// - index: Index in list.
469 | public func insertArrangedElement<T: NSView>(_ element: LayoutGuide<T>, at index: Int) {
470 | ownerElement?.addChildElement(unsafeBitCast(element, to: LayoutGuide<NSView>.self))
| `- warning: sending task-isolated value of type 'LayoutGuide<NSView>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
471 | items.insert(element, at: index)
472 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:490:23: warning: sending task-isolated value of type 'LayoutGuide<CALayer>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
488 | /// - index: Index in list.
489 | public func insertArrangedElement<T: CALayer>(_ element: LayoutGuide<T>, at index: Int) {
490 | ownerElement?.addChildElement(unsafeBitCast(element, to: LayoutGuide<CALayer>.self))
| `- warning: sending task-isolated value of type 'LayoutGuide<CALayer>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
491 | items.insert(element, at: index)
492 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:530:23: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
528 | /// - index: Index in list.
529 | public func insertArrangedElement(_ element: CALayer, at index: Int) {
530 | ownerElement?.addChildElement(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'element' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
531 | items.insert(element, at: index)
532 | }
[4/19] Compiling CGLayout scroll.layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:125:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:126:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:127:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:188:17: warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
186 | self.velocity += F * CGFloat(physicsTimeStep)
187 | // print("v:", velocity, oldVelocity)
188 | let oldPosition = self.position
| `- warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
189 | self.position += -velocity * CGFloat(physicsTimeStep)
190 | // print("p:", oldPosition, self.position)
[5/20] Compiling CGLayout support.cglayout.swift
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:180:19: note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
178 | #if os(macOS)
179 | public typealias CGRect = NSRect
180 | extension NSView: LayoutElement {
| `- note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:196:9: note: 'frame' declared here
194 | public protocol LayoutElement: class, RectBasedElement, LayoutCoordinateSpace {
195 | /// External representation of layout entity in coordinate space
196 | var frame: CGRect { get set }
| `- note: 'frame' declared here
197 | /// Internal coordinate space of layout entity
198 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:198:9: note: 'bounds' declared here
196 | var frame: CGRect { get set }
197 | /// Internal coordinate space of layout entity
198 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
199 | /// Internal space for layout subelements
200 | var layoutBounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:188:9: warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
186 | weak var superElement: LayoutElement? { return superview }
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
| `- warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
189 | }
190 | extension NSScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:200:9: note: 'layoutBounds' declared here
198 | var bounds: CGRect { get set }
199 | /// Internal space for layout subelements
200 | var layoutBounds: CGRect { get }
| `- note: 'layoutBounds' declared here
201 | /// Layout element that maintains this layout entity
202 | var superElement: LayoutElement? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:186:14: warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
| `- warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:202:9: note: 'superElement' declared here
200 | var layoutBounds: CGRect { get }
201 | /// Layout element that maintains this layout entity
202 | var superElement: LayoutElement? { get }
| `- note: 'superElement' declared here
203 | /// Entity that represents element in layout time
204 | var inLayoutTime: ElementInLayoutTime { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:184:9: warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
182 | func removeFromSuperElement() { removeFromSuperview() }
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
| `- warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:204:9: note: 'inLayoutTime' declared here
202 | var superElement: LayoutElement? { get }
203 | /// Entity that represents element in layout time
204 | var inLayoutTime: ElementInLayoutTime { get }
| `- note: 'inLayoutTime' declared here
205 | /// Removes layout element from hierarchy
206 | func removeFromSuperElement()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:182:10: warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
180 | extension NSView: LayoutElement {
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
| |- warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'removeFromSuperElement()' to make this instance method not isolated to the actor
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:206:10: note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
204 | var inLayoutTime: ElementInLayoutTime { get }
205 | /// Removes layout element from hierarchy
206 | func removeFromSuperElement()
| `- note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
207 | }
208 | extension Equatable where Self: LayoutElement {
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:188:9: note: 'frame' declared here
186 | public protocol RectBasedElement {
187 | /// External representation of layout entity in coordinate space
188 | var frame: CGRect { get set }
| `- note: 'frame' declared here
189 | /// Internal coordinate space of layout entity
190 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:190:9: note: 'bounds' declared here
188 | var frame: CGRect { get set }
189 | /// Internal coordinate space of layout entity
190 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
191 | }
192 |
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:9: note: 'bounds' declared here
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- note: 'bounds' declared here
30 | var frame: CGRect { get }
31 | }
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:9: note: 'frame' declared here
28 |
29 | var bounds: CGRect { get }
30 | var frame: CGRect { get }
| `- note: 'frame' declared here
31 | }
32 | #if os(iOS) || os(tvOS)
AppKit.NSControl:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | open var doubleValue: Double { get set }
30 | @available(macOS 10.10, *)
31 | @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
| |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
32 | open func sizeToFit()
33 | open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:194:22: note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:290:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
288 | /// - Parameter size: The size for which the view should calculate its best-fitting size
289 | /// - Returns: A new size that fits the receiver’s content
290 | func sizeThatFits(_ size: CGSize) -> CGSize
| `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:196:16: warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdjustableLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
| `- warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
197 | }
198 | extension NSView: AnchoredLayoutElement {}
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:296:9: note: 'contentConstraint' declared here
294 | public protocol AdjustableLayoutElement: LayoutElement {
295 | /// Constraint, that defines content size of element
296 | var contentConstraint: RectBasedConstraint { get }
| `- note: 'contentConstraint' declared here
297 | }
298 | extension AdjustableLayoutElement where Self: AdaptiveLayoutElement {
[6/20] Compiling CGLayout workspace.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[7/20] Compiling CGLayout layoutBlock.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[8/20] Compiling CGLayout layoutConstraint.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:166:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
164 | /// - Parameter layoutGuide: Layout guide for binding
165 | func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
166 | unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:186:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
184 | /// - Parameter layoutGuide: Layout guide for binding
185 | func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
186 | unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
187 | }
188 | }
[9/20] Compiling CGLayout layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:166:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
164 | /// - Parameter layoutGuide: Layout guide for binding
165 | func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
166 | unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
167 | }
168 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:186:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
184 | /// - Parameter layoutGuide: Layout guide for binding
185 | func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
186 | unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
187 | }
188 | }
[10/20] Compiling CGLayout backend.anchors.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' 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
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' 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
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' 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
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' 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
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' 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
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' 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
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' 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
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:35:13: warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | @available(macOS 10.12, iOS 10.0, *)
13 | public class LayoutManager<Item: LayoutElement>: NSObject {
| `- note: generic class 'LayoutManager' does not conform to the 'Sendable' protocol
14 | var deinitialization: ((LayoutManager<Item>) -> Void)?
15 | weak var item: LayoutElement!
:
33 | private func scheduleLayout() {
34 | RunLoop.current.perform {
35 | self.scheme.layout()
| `- warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | self.isNeedLayout = false
37 | }
[11/20] Compiling CGLayout system.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' 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
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' 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
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' 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
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' 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
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' 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
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' 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
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' 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
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:35:13: warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | @available(macOS 10.12, iOS 10.0, *)
13 | public class LayoutManager<Item: LayoutElement>: NSObject {
| `- note: generic class 'LayoutManager' does not conform to the 'Sendable' protocol
14 | var deinitialization: ((LayoutManager<Item>) -> Void)?
15 | weak var item: LayoutElement!
:
33 | private func scheduleLayout() {
34 | RunLoop.current.perform {
35 | self.scheme.layout()
| `- warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | self.isNeedLayout = false
37 | }
[12/20] Compiling CGLayout deprecated.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
[13/20] Compiling CGLayout anchors.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
[14/20] Compiling CGLayout private.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[15/20] Compiling CGLayout rtl.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[16/20] Compiling CGLayout common.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
/Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift:73:17: warning: main actor-isolated instance method 'addChildElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | public protocol LayoutElementsContainer: LayoutElement {
18 | func addChildElement<SubItem: LayoutElement>(_ subItem: SubItem)
| `- note: mark the protocol requirement 'addChildElement' 'async' to allow actor-isolated conformances
19 | }
20 |
:
70 |
71 | #if os(macOS)
72 | extension NSView: LayoutElementsContainer {
| `- note: add '@preconcurrency' to the 'LayoutElementsContainer' conformance to defer isolation checking to run time
73 | public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : LayoutElement {
| |- warning: main actor-isolated instance method 'addChildElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addChildElement' to make this instance method not isolated to the actor
74 | debugFatalError(true, "\(self) cannot add subitem \(subItem). Reason: Undefined type of subitem")
75 |
[17/20] Compiling CGLayout container.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
/Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift:73:17: warning: main actor-isolated instance method 'addChildElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | public protocol LayoutElementsContainer: LayoutElement {
18 | func addChildElement<SubItem: LayoutElement>(_ subItem: SubItem)
| `- note: mark the protocol requirement 'addChildElement' 'async' to allow actor-isolated conformances
19 | }
20 |
:
70 |
71 | #if os(macOS)
72 | extension NSView: LayoutElementsContainer {
| `- note: add '@preconcurrency' to the 'LayoutElementsContainer' conformance to defer isolation checking to run time
73 | public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : LayoutElement {
| |- warning: main actor-isolated instance method 'addChildElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addChildElement' to make this instance method not isolated to the actor
74 | debugFatalError(true, "\(self) cannot add subitem \(subItem). Reason: Undefined type of subitem")
75 |
[18/20] Emitting module CGLayout
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
/Users/admin/builder/spi-builder-workspace/Sources/Classes/container.cglayout.swift:73:17: warning: main actor-isolated instance method 'addChildElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 |
17 | public protocol LayoutElementsContainer: LayoutElement {
18 | func addChildElement<SubItem: LayoutElement>(_ subItem: SubItem)
| `- note: mark the protocol requirement 'addChildElement' 'async' to allow actor-isolated conformances
19 | }
20 |
:
70 |
71 | #if os(macOS)
72 | extension NSView: LayoutElementsContainer {
| `- note: add '@preconcurrency' to the 'LayoutElementsContainer' conformance to defer isolation checking to run time
73 | public func addChildElement<SubItem>(_ subItem: SubItem) where SubItem : LayoutElement {
| |- warning: main actor-isolated instance method 'addChildElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'addChildElement' to make this instance method not isolated to the actor
74 | debugFatalError(true, "\(self) cannot add subitem \(subItem). Reason: Undefined type of subitem")
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' 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
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' 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
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' 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
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' 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
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' 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
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' 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
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' 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
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' 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
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:125:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:126:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:127:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' 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
128 | }
129 |
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:180:19: note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
178 | #if os(macOS)
179 | public typealias CGRect = NSRect
180 | extension NSView: LayoutElement {
| `- note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:196:9: note: 'frame' declared here
194 | public protocol LayoutElement: class, RectBasedElement, LayoutCoordinateSpace {
195 | /// External representation of layout entity in coordinate space
196 | var frame: CGRect { get set }
| `- note: 'frame' declared here
197 | /// Internal coordinate space of layout entity
198 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:198:9: note: 'bounds' declared here
196 | var frame: CGRect { get set }
197 | /// Internal coordinate space of layout entity
198 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
199 | /// Internal space for layout subelements
200 | var layoutBounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:188:9: warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
186 | weak var superElement: LayoutElement? { return superview }
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
| `- warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
189 | }
190 | extension NSScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:200:9: note: 'layoutBounds' declared here
198 | var bounds: CGRect { get set }
199 | /// Internal space for layout subelements
200 | var layoutBounds: CGRect { get }
| `- note: 'layoutBounds' declared here
201 | /// Layout element that maintains this layout entity
202 | var superElement: LayoutElement? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:186:14: warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
| `- warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:202:9: note: 'superElement' declared here
200 | var layoutBounds: CGRect { get }
201 | /// Layout element that maintains this layout entity
202 | var superElement: LayoutElement? { get }
| `- note: 'superElement' declared here
203 | /// Entity that represents element in layout time
204 | var inLayoutTime: ElementInLayoutTime { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:184:9: warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
182 | func removeFromSuperElement() { removeFromSuperview() }
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
| `- warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:204:9: note: 'inLayoutTime' declared here
202 | var superElement: LayoutElement? { get }
203 | /// Entity that represents element in layout time
204 | var inLayoutTime: ElementInLayoutTime { get }
| `- note: 'inLayoutTime' declared here
205 | /// Removes layout element from hierarchy
206 | func removeFromSuperElement()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:182:10: warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
180 | extension NSView: LayoutElement {
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
| |- warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'removeFromSuperElement()' to make this instance method not isolated to the actor
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:206:10: note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
204 | var inLayoutTime: ElementInLayoutTime { get }
205 | /// Removes layout element from hierarchy
206 | func removeFromSuperElement()
| `- note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
207 | }
208 | extension Equatable where Self: LayoutElement {
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:188:9: note: 'frame' declared here
186 | public protocol RectBasedElement {
187 | /// External representation of layout entity in coordinate space
188 | var frame: CGRect { get set }
| `- note: 'frame' declared here
189 | /// Internal coordinate space of layout entity
190 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:190:9: note: 'bounds' declared here
188 | var frame: CGRect { get set }
189 | /// Internal coordinate space of layout entity
190 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
191 | }
192 |
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:9: note: 'bounds' declared here
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- note: 'bounds' declared here
30 | var frame: CGRect { get }
31 | }
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:9: note: 'frame' declared here
28 |
29 | var bounds: CGRect { get }
30 | var frame: CGRect { get }
| `- note: 'frame' declared here
31 | }
32 | #if os(iOS) || os(tvOS)
AppKit.NSControl:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | open var doubleValue: Double { get set }
30 | @available(macOS 10.10, *)
31 | @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
| |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
32 | open func sizeToFit()
33 | open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:194:22: note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:290:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
288 | /// - Parameter size: The size for which the view should calculate its best-fitting size
289 | /// - Returns: A new size that fits the receiver’s content
290 | func sizeThatFits(_ size: CGSize) -> CGSize
| `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
291 | }
292 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:196:16: warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdjustableLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
| `- warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
197 | }
198 | extension NSView: AnchoredLayoutElement {}
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:296:9: note: 'contentConstraint' declared here
294 | public protocol AdjustableLayoutElement: LayoutElement {
295 | /// Constraint, that defines content size of element
296 | var contentConstraint: RectBasedConstraint { get }
| `- note: 'contentConstraint' declared here
297 | }
298 | extension AdjustableLayoutElement where Self: AdaptiveLayoutElement {
[19/20] Compiling CGLayout coordinate.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:170:76: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
168 | extension LayoutCoordinateSpace where Self: NSView {
169 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
170 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, to: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
171 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, to: item) }) }
172 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:171:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
167 | #if os(macOS)
168 | extension LayoutCoordinateSpace where Self: NSView {
169 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
170 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, to: item) }) }
171 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, to: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
172 |
173 | return Self.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:176:76: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
174 | }
175 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
176 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, from: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, from: item) }) }
178 |
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:177:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
173 | return Self.convert(point: point, from: self, to: item)
174 | }
175 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
176 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, from: item) }) }
177 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, from: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
178 |
179 | return Self.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:182:76: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 | }
181 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
182 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, to: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
183 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, to: item) }) }
184 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:183:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
179 | return Self.convert(point: point, from: item, to: self)
180 | }
181 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
182 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, to: item) }) }
183 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, to: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
184 |
185 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:190:76: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
188 | }
189 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
190 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, from: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
191 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, from: item) }) }
192 |
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:191:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
187 | return rect
188 | }
189 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
190 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, from: item) }) }
191 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, from: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
192 |
193 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:322:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
318 | #if os(macOS)
319 | extension LayoutGuide where Super: NSView {
320 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
321 | if let item = item as? NSView { return convert(point, to: item) }
322 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(point, to: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
323 |
324 | return LayoutGuide.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:328:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | return LayoutGuide.convert(point: point, from: self, to: item)
325 | }
326 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
327 | if let item = item as? NSView { return convert(point, from: item) }
328 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(point, from: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
329 |
330 | return LayoutGuide.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:334:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
330 | return LayoutGuide.convert(point: point, from: item, to: self)
331 | }
332 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
333 | if let item = item as? NSView { return convert(rect, to: item) }
334 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(rect, to: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
335 |
336 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:342:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
338 | return rect
339 | }
340 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
341 | if let item = item as? NSView { return convert(rect, from: item) }
342 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(rect, from: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
343 |
344 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:451:56: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
449 | public func convert(_ point: CGPoint, to view: NSView) -> CGPoint {
450 | let pointInSuper = CGPoint(x: frame.origin.x + point.x - bounds.origin.x, y: frame.origin.y + point.y - bounds.origin.y)
451 | return syncGuard(mainThread: ownerElement!.convert(pointInSuper, to: view))
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
452 | }
453 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:455:68: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
453 |
454 | public func convert(_ point: CGPoint, from view: NSView) -> CGPoint {
455 | let pointInSuper = syncGuard(mainThread: ownerElement!.convert(point, from: view))
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
456 | return CGPoint(x: pointInSuper.x - frame.origin.x + bounds.origin.x, y: pointInSuper.y - frame.origin.y + bounds.origin.y)
457 | }
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:461:56: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
459 | public func convert(_ rect: CGRect, to view: NSView) -> CGRect {
460 | let rectInSuper = CGRect(x: frame.origin.x + rect.origin.x - bounds.origin.x, y: frame.origin.y + rect.origin.y - bounds.origin.y, width: rect.width, height: rect.height)
461 | return syncGuard(mainThread: ownerElement!.convert(rectInSuper, to: view))
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
462 | }
463 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:465:67: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
463 |
464 | public func convert(_ rect: CGRect, from view: NSView) -> CGRect {
465 | let rectInSuper = syncGuard(mainThread: ownerElement!.convert(rect, from: view))
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
466 | return CGRect(x: rectInSuper.origin.x - frame.origin.x + bounds.origin.x, y: rectInSuper.origin.y - frame.origin.y + bounds.origin.y, width: rectInSuper.width, height: rectInSuper.height)
467 | }
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[20/20] Compiling CGLayout core.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:170:76: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
168 | extension LayoutCoordinateSpace where Self: NSView {
169 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
170 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, to: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
171 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, to: item) }) }
172 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:171:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
167 | #if os(macOS)
168 | extension LayoutCoordinateSpace where Self: NSView {
169 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
170 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, to: item) }) }
171 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, to: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
172 |
173 | return Self.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:176:76: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
174 | }
175 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
176 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, from: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, from: item) }) }
178 |
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:177:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
173 | return Self.convert(point: point, from: self, to: item)
174 | }
175 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
176 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, from: item) }) }
177 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, from: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
178 |
179 | return Self.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:182:76: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 | }
181 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
182 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, to: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
183 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, to: item) }) }
184 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:183:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
179 | return Self.convert(point: point, from: item, to: self)
180 | }
181 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
182 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, to: item) }) }
183 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, to: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
184 |
185 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:190:76: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
188 | }
189 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
190 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, from: item) }) }
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
191 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, from: item) }) }
192 |
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:191:57: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
187 | return rect
188 | }
189 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
190 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, from: item) }) }
191 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, from: item) }) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
192 |
193 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:322:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
318 | #if os(macOS)
319 | extension LayoutGuide where Super: NSView {
320 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
321 | if let item = item as? NSView { return convert(point, to: item) }
322 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(point, to: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
323 |
324 | return LayoutGuide.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:328:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
324 | return LayoutGuide.convert(point: point, from: self, to: item)
325 | }
326 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
327 | if let item = item as? NSView { return convert(point, from: item) }
328 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(point, from: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
329 |
330 | return LayoutGuide.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:334:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
330 | return LayoutGuide.convert(point: point, from: item, to: self)
331 | }
332 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
333 | if let item = item as? NSView { return convert(rect, to: item) }
334 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(rect, to: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
335 |
336 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:342:71: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
338 | return rect
339 | }
340 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
341 | if let item = item as? NSView { return convert(rect, from: item) }
342 | if let item = item as? CALayer, let layer = ownerElement?.layer { return convert(rect, from: item, superLayer: layer) }
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
343 |
344 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:451:56: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
449 | public func convert(_ point: CGPoint, to view: NSView) -> CGPoint {
450 | let pointInSuper = CGPoint(x: frame.origin.x + point.x - bounds.origin.x, y: frame.origin.y + point.y - bounds.origin.y)
451 | return syncGuard(mainThread: ownerElement!.convert(pointInSuper, to: view))
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
452 | }
453 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:455:68: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
453 |
454 | public func convert(_ point: CGPoint, from view: NSView) -> CGPoint {
455 | let pointInSuper = syncGuard(mainThread: ownerElement!.convert(point, from: view))
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
456 | return CGPoint(x: pointInSuper.x - frame.origin.x + bounds.origin.x, y: pointInSuper.y - frame.origin.y + bounds.origin.y)
457 | }
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:461:56: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
459 | public func convert(_ rect: CGRect, to view: NSView) -> CGRect {
460 | let rectInSuper = CGRect(x: frame.origin.x + rect.origin.x - bounds.origin.x, y: frame.origin.y + rect.origin.y - bounds.origin.y, width: rect.width, height: rect.height)
461 | return syncGuard(mainThread: ownerElement!.convert(rectInSuper, to: view))
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
462 | }
463 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:465:67: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
463 |
464 | public func convert(_ rect: CGRect, from view: NSView) -> CGRect {
465 | let rectInSuper = syncGuard(mainThread: ownerElement!.convert(rect, from: view))
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
466 | return CGRect(x: rectInSuper.origin.x - frame.origin.x + bounds.origin.x, y: rectInSuper.origin.y - frame.origin.y + bounds.origin.y, width: rectInSuper.width, height: rectInSuper.height)
467 | }
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' 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
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' 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
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' 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
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' 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
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' 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
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
Build complete! (13.20s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CGLayout",
"name" : "CGLayout",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CGLayout",
"targets" : [
"CGLayout"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CGLayoutTests",
"module_type" : "SwiftTarget",
"name" : "CGLayoutTests",
"path" : "Tests/CGLayoutTests",
"sources" : [
"CGLayoutTests.swift",
"Tests.swift",
"XCTestManifests.swift",
"support_linux.tests.swift"
],
"target_dependencies" : [
"CGLayout"
],
"type" : "test"
},
{
"c99name" : "CGLayout",
"module_type" : "SwiftTarget",
"name" : "CGLayout",
"path" : "Sources/Classes",
"product_memberships" : [
"CGLayout"
],
"sources" : [
"common.cglayout.swift",
"container.cglayout.swift",
"coordinate.cglayout.swift",
"core.cglayout.swift",
"deprecated.cglayout.swift",
"evolution.cglayout/anchors.cglayout.swift",
"evolution.cglayout/backend.anchors.cglayout.swift",
"evolution.cglayout/system.cglayout.swift",
"evolution.cglayout/workspace.cglayout.swift",
"layoutBlock.cglayout.swift",
"layoutConstraint.cglayout.swift",
"layoutGuide.cglayout.swift",
"private.cglayout.swift",
"rtl.cglayout.swift",
"scroll.layoutGuide.cglayout.swift",
"stack.layoutGuide.cglayout.swift",
"support.cglayout.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.