The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CGLayout, reference 0.7.2 (c059f2), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 20:10:58 UTC.

Swift 6 data race errors: 37

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

    |                                                  `- 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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:470:23: warning: sending value of non-Sendable type 'LayoutGuide<NSView>' 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 value of non-Sendable type 'LayoutGuide<NSView>' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated value of non-Sendable type 'LayoutGuide<NSView>' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
471 |         items.insert(element, at: index)
472 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:490:23: warning: sending value of non-Sendable type 'LayoutGuide<CALayer>' 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 value of non-Sendable type 'LayoutGuide<CALayer>' risks causing data races; this is an error in the Swift 6 language mode
    |                       `- note: sending task-isolated value of non-Sendable type 'LayoutGuide<CALayer>' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
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 |     }
[6/20] 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: add '@MainActor' to make static property 'horizontal' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
    |                       `- 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)
[7/20] Compiling CGLayout backend.anchors.cglayout.swift
/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: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: add '@MainActor' to make static property 'xy' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'horizontal' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'leadingHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'trailingHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'leadingVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'trailingVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'centerHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'centerVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'sizeHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'sizeVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'size' part of global actor 'MainActor'
    |                `- 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
 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
 36 |             self.isNeedLayout = false
 37 |         }
[8/20] Compiling CGLayout system.cglayout.swift
/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: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: add '@MainActor' to make static property 'xy' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'horizontal' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'leadingHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'trailingHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'leadingVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'trailingVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'centerHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'centerVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'sizeHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'sizeVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'size' part of global actor 'MainActor'
    |                `- 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
 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
 36 |             self.isNeedLayout = false
 37 |         }
[9/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 |     }
[10/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 |     }
[11/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 requirement from protocol 'LayoutElementsContainer'; 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 requirement from protocol 'LayoutElementsContainer'; 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 |
[12/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 requirement from protocol 'LayoutElementsContainer'; 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 requirement from protocol 'LayoutElementsContainer'; 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 |
[13/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[14/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:251:39: note: property declared here
249 | /* Get and set the CALayer for this view. The layer is not encoded by the view.
250 |  */
251 | @property (nullable, strong) CALayer *layer API_AVAILABLE(macos(10.5));
    |                                       `- note: property declared here
252 |
253 | /* Layer Backed Views: Return YES if this view supports directly setting the layer properties (such as the contents and backgroundColor) as opposed to filling in the contents with a drawRect: implementation. Most AppKit controls return YES if there is no subclassing involved that would alter the drawing appearance. It will return NO for views that do have subclassing that AppKit does not know about (such as, overriding drawRect:, or other drawing methods).
/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[15/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: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'size' part of global actor 'MainActor'
    |                       `- 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 {
[16/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: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'size' part of global actor 'MainActor'
    |                       `- 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 {
[17/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 requirement from protocol 'LayoutElementsContainer'; 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 requirement from protocol 'LayoutElementsContainer'; 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: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: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: add '@MainActor' to make static property 'xy' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'horizontal' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
    |                       `- 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: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: add '@MainActor' to make static property 'leadingHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'trailingHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'leadingVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'trailingVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'centerHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'centerVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'sizeHorizontal' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'sizeVertical' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'size' part of global actor 'MainActor'
    |                `- 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: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'size' part of global actor 'MainActor'
    |                       `- 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/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/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: add '@MainActor' to make static property 'horizontal' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'vertical' part of global actor 'MainActor'
    |                       `- 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: add '@MainActor' to make static property 'both' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | }
129 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_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: requirement '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: requirement 'frame' declared here
 197 |     /// Internal coordinate space of layout entity
 198 |     var bounds: CGRect { get set }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:198:9: note: requirement 'bounds' declared here
 196 |     var frame: CGRect { get set }
 197 |     /// Internal coordinate space of layout entity
 198 |     var bounds: CGRect { get set }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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: requirement 'layoutBounds' declared here
 198 |     var bounds: CGRect { get set }
 199 |     /// Internal space for layout subelements
 200 |     var layoutBounds: CGRect { get }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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: requirement 'superElement' declared here
 200 |     var layoutBounds: CGRect { get }
 201 |     /// Layout element that maintains this layout entity
 202 |     var superElement: LayoutElement? { get }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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: requirement 'inLayoutTime' declared here
 202 |     var superElement: LayoutElement? { get }
 203 |     /// Entity that represents element in layout time
 204 |     var inLayoutTime: ElementInLayoutTime { get }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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 {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:188:9: note: requirement 'frame' declared here
 186 | public protocol RectBasedElement {
 187 |     /// External representation of layout entity in coordinate space
 188 |     var frame: CGRect { get set }
     |         `- note: requirement 'frame' declared here
 189 |     /// Internal coordinate space of layout entity
 190 |     var bounds: CGRect { get set }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:190:9: note: requirement 'bounds' declared here
 188 |     var frame: CGRect { get set }
 189 |     /// Internal coordinate space of layout entity
 190 |     var bounds: CGRect { get set }
     |         `- note: requirement 'bounds' declared here
 191 | }
 192 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:9: note: requirement 'bounds' declared here
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
 29 |     var bounds: CGRect { get }
    |         `- note: requirement 'bounds' declared here
 30 |     var frame: CGRect { get }
 31 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:9: note: requirement 'frame' declared here
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |         `- note: requirement 'frame' declared here
 31 | }
 32 | #if os(iOS) || os(tvOS)
AppKit.NSControl.sizeThatFits:3:24: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'AdaptiveLayoutElement'; this is an error in the Swift 6 language mode
1 | class NSControl {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize}
  |                        |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'AdaptiveLayoutElement'; 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
4 |
/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 requirement from protocol 'AdjustableLayoutElement'; 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 requirement from protocol 'AdjustableLayoutElement'; 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: requirement 'contentConstraint' declared here
 294 | public protocol AdjustableLayoutElement: LayoutElement {
 295 |     /// Constraint, that defines content size of element
 296 |     var contentConstraint: RectBasedConstraint { get }
     |         `- note: requirement 'contentConstraint' declared here
 297 | }
 298 | extension AdjustableLayoutElement where Self: AdaptiveLayoutElement {
[18/20] Compiling CGLayout deprecated.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:247:38: error: type of expression is ambiguous without a type annotation
245 |     private var _limitFunc: (Anchor.Metric, Anchor.Metric) -> Anchor.Metric {
246 |         if CGLConfiguration.default.isRTLMode {
247 |             return anchor.isTrailing ? min : max
    |                                      `- error: type of expression is ambiguous without a type annotation
248 |         } else {
249 |             return anchor.isTrailing ? max : min
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:249:38: error: type of expression is ambiguous without a type annotation
247 |             return anchor.isTrailing ? min : max
248 |         } else {
249 |             return anchor.isTrailing ? max : min
    |                                      `- error: type of expression is ambiguous without a type annotation
250 |         }
251 |     }
[19/20] Compiling CGLayout anchors.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:247:38: error: type of expression is ambiguous without a type annotation
245 |     private var _limitFunc: (Anchor.Metric, Anchor.Metric) -> Anchor.Metric {
246 |         if CGLConfiguration.default.isRTLMode {
247 |             return anchor.isTrailing ? min : max
    |                                      `- error: type of expression is ambiguous without a type annotation
248 |         } else {
249 |             return anchor.isTrailing ? max : min
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/anchors.cglayout.swift:249:38: error: type of expression is ambiguous without a type annotation
247 |             return anchor.isTrailing ? min : max
248 |         } else {
249 |             return anchor.isTrailing ? max : min
    |                                      `- error: type of expression is ambiguous without a type annotation
250 |         }
251 |     }
[20/20] Compiling CGLayout support.cglayout.swift
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_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: requirement '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: requirement 'frame' declared here
 197 |     /// Internal coordinate space of layout entity
 198 |     var bounds: CGRect { get set }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutElement'; this is an error in the Swift 6 language mode
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:198:9: note: requirement 'bounds' declared here
 196 |     var frame: CGRect { get set }
 197 |     /// Internal coordinate space of layout entity
 198 |     var bounds: CGRect { get set }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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: requirement 'layoutBounds' declared here
 198 |     var bounds: CGRect { get set }
 199 |     /// Internal space for layout subelements
 200 |     var layoutBounds: CGRect { get }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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: requirement 'superElement' declared here
 200 |     var layoutBounds: CGRect { get }
 201 |     /// Layout element that maintains this layout entity
 202 |     var superElement: LayoutElement? { get }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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: requirement 'inLayoutTime' declared here
 202 |     var superElement: LayoutElement? { get }
 203 |     /// Entity that represents element in layout time
 204 |     var inLayoutTime: ElementInLayoutTime { get }
     |         `- note: requirement '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 requirement from protocol 'LayoutElement'; 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 requirement from protocol 'LayoutElement'; 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 {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:188:9: note: requirement 'frame' declared here
 186 | public protocol RectBasedElement {
 187 |     /// External representation of layout entity in coordinate space
 188 |     var frame: CGRect { get set }
     |         `- note: requirement 'frame' declared here
 189 |     /// Internal coordinate space of layout entity
 190 |     var bounds: CGRect { get set }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'RectBasedElement'; this is an error in the Swift 6 language mode
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:190:9: note: requirement 'bounds' declared here
 188 |     var frame: CGRect { get set }
 189 |     /// Internal coordinate space of layout entity
 190 |     var bounds: CGRect { get set }
     |         `- note: requirement 'bounds' declared here
 191 | }
 192 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:9: note: requirement 'bounds' declared here
 27 |     func convert(rect: CGRect, from item: LayoutElement) -> CGRect
 28 |
 29 |     var bounds: CGRect { get }
    |         `- note: requirement 'bounds' declared here
 30 |     var frame: CGRect { get }
 31 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
    |                  `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated requirement from protocol 'LayoutCoordinateSpace'; this is an error in the Swift 6 language mode
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_AVAILABLE(macos(10.5));
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:30:9: note: requirement 'frame' declared here
 28 |
 29 |     var bounds: CGRect { get }
 30 |     var frame: CGRect { get }
    |         `- note: requirement 'frame' declared here
 31 | }
 32 | #if os(iOS) || os(tvOS)
AppKit.NSControl.sizeThatFits:3:24: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'AdaptiveLayoutElement'; this is an error in the Swift 6 language mode
1 | class NSControl {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize}
  |                        |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'AdaptiveLayoutElement'; 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
4 |
/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 requirement from protocol 'AdjustableLayoutElement'; 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 requirement from protocol 'AdjustableLayoutElement'; 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: requirement 'contentConstraint' declared here
 294 | public protocol AdjustableLayoutElement: LayoutElement {
 295 |     /// Constraint, that defines content size of element
 296 |     var contentConstraint: RectBasedConstraint { get }
     |         `- note: requirement 'contentConstraint' declared here
 297 | }
 298 | extension AdjustableLayoutElement where Self: AdaptiveLayoutElement {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/18] Compiling CGLayout scroll.layoutGuide.cglayout.swift
/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)
[3/18] 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 |     }
[4/18] 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 |     }
[5/18] Compiling CGLayout private.cglayout.swift
[6/18] Compiling CGLayout rtl.cglayout.swift
[7/18] Compiling CGLayout stack.layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:426:39: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
424 |     ///   - index: Index in list.
425 |     public func insertArrangedElement<T: CALayer>(_ item: LayoutGuide<T>, at index: Int) {
426 |         ownerElement?.addChildElement(unsafeBitCast(item, to: LayoutGuide<CALayer>.self))
    |                                       `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
427 |         items.insert(item, at: index)
428 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:470:39: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
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: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
471 |         items.insert(element, at: index)
472 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:490:39: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
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: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
491 |         items.insert(element, at: index)
492 |     }
[8/19] Compiling CGLayout backend.anchors.cglayout.swift
/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 | }
[9/19] Compiling CGLayout system.cglayout.swift
/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 | }
[10/19] Compiling CGLayout workspace.cglayout.swift
[11/19] Compiling CGLayout layoutBlock.cglayout.swift
[12/19] Compiling CGLayout deprecated.cglayout.swift
[13/19] Compiling CGLayout anchors.cglayout.swift
[14/19] Compiling CGLayout support.cglayout.swift
[15/19] 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
[16/19] 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
[17/19] 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/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 | }
[18/19] Compiling CGLayout coordinate.cglayout.swift
[19/19] Compiling CGLayout core.cglayout.swift
Build complete! (2.70s)
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.