Build Information
Successful build of CGLayout, reference master (62d3ab
), with Swift 6.0 for macOS (SPM) on 8 Oct 2024 05:43:44 UTC.
Swift 6 data race errors: 35
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-o-d-e-n/CGLayout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/k-o-d-e-n/CGLayout
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 62d3ab1 Update README.md
Cloned https://github.com/k-o-d-e-n/CGLayout.git
Revision (git rev-parse @):
62d3ab15e690bb56136e924a9be7115583f3a94b
SUCCESS checkout https://github.com/k-o-d-e-n/CGLayout.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "cglayout",
"name": "CGLayout",
"url": "https://github.com/k-o-d-e-n/CGLayout.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CGLayout",
"dependencies": [
]
}
]
}
Fetching https://github.com/k-o-d-e-n/CGLayout.git
[1/2754] Fetching cglayout
Fetched https://github.com/k-o-d-e-n/CGLayout.git from cache (1.48s)
Creating working copy for https://github.com/k-o-d-e-n/CGLayout.git
Working copy of https://github.com/k-o-d-e-n/CGLayout.git resolved at master (62d3ab1)
warning: '.resolve-product-dependencies': dependency 'cglayout' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/k-o-d-e-n/CGLayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4A847ED0836F2485.txt
[3/19] Compiling CGLayout scroll.layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:125:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:126:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:127:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:188:17: warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
186 | self.velocity += F * CGFloat(physicsTimeStep)
187 | // print("v:", velocity, oldVelocity)
188 | let oldPosition = self.position
| `- warning: initialization of immutable value 'oldPosition' was never used; consider replacing with assignment to '_' or removing it
189 | self.position += -velocity * CGFloat(physicsTimeStep)
190 | // print("p:", oldPosition, self.position)
[4/19] Compiling CGLayout stack.layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:439:23: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
436 | let layer: CALayer
437 | var child: LayoutElement { layer }
438 | func add(to container: V) {
| `- note: add '@MainActor' to make instance method 'add(to:)' part of global actor 'MainActor'
439 | container.layer?.addSublayer(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
440 | }
441 | }
AppKit.NSView:272:25: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | @MainActor open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:449:23: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
446 | let view: NSView
447 | var child: LayoutElement { view }
448 | func add(to container: V) {
| `- note: add '@MainActor' to make instance method 'add(to:)' part of global actor 'MainActor'
449 | container.addSubview(view)
| `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
450 | }
451 | }
AppKit.NSView:29:15: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
27 | @available(macOS 10.5, *)
28 | open func viewDidUnhide()
29 | open func addSubview(_ view: NSView)
| `- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
30 | open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
31 | open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:459:23: warning: call to main actor-isolated instance method 'add(layoutGuide:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
456 | let lg: LayoutGuide<Owner>
457 | var child: LayoutElement { lg }
458 | func add(to container: V) {
| `- note: add '@MainActor' to make instance method 'add(to:)' part of global actor 'MainActor'
459 | container.add(layoutGuide: lg)
| `- warning: call to main actor-isolated instance method 'add(layoutGuide:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
460 | }
461 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:183:14: note: calls to instance method 'add(layoutGuide:)' from outside of its actor context are implicitly asynchronous
181 | ///
182 | /// - Parameter layoutGuide: Layout guide for binding
183 | func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
| `- note: calls to instance method 'add(layoutGuide:)' from outside of its actor context are implicitly asynchronous
184 | unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
185 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:469:23: warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
466 | let lg: LayoutGuide<Owner>
467 | var child: LayoutElement { lg }
468 | func add(to container: V) {
| `- note: add '@MainActor' to make instance method 'add(to:)' part of global actor 'MainActor'
469 | container.layer?.add(layoutGuide: lg)
| `- warning: main actor-isolated property 'layer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
470 | }
471 | }
AppKit.NSView:272:25: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | @MainActor open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/stack.layoutGuide.cglayout.swift:459:23: warning: sending 'self.lg' risks causing data races; this is an error in the Swift 6 language mode
457 | var child: LayoutElement { lg }
458 | func add(to container: V) {
459 | container.add(layoutGuide: lg)
| |- warning: sending 'self.lg' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.lg' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
460 | }
461 | }
[5/20] Compiling CGLayout support.cglayout.swift
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:180:19: note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
178 | #if os(macOS)
179 | public typealias CGRect = NSRect
180 | extension NSView: LayoutElement {
| `- note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:167:9: note: 'frame' declared here
165 | public protocol LayoutElement: class, RectBasedElement, LayoutCoordinateSpace {
166 | /// External representation of layout entity in coordinate space
167 | var frame: CGRect { get set }
| `- note: 'frame' declared here
168 | /// Internal coordinate space of layout entity
169 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:169:9: note: 'bounds' declared here
167 | var frame: CGRect { get set }
168 | /// Internal coordinate space of layout entity
169 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
170 | /// Internal space for layout subelements
171 | var layoutBounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:188:9: warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
186 | weak var superElement: LayoutElement? { return superview }
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
| `- warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
189 | }
190 | extension NSScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:171:9: note: 'layoutBounds' declared here
169 | var bounds: CGRect { get set }
170 | /// Internal space for layout subelements
171 | var layoutBounds: CGRect { get }
| `- note: 'layoutBounds' declared here
172 | /// Layout element that maintains this layout entity
173 | var superElement: LayoutElement? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:186:14: warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
| `- warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:173:9: note: 'superElement' declared here
171 | var layoutBounds: CGRect { get }
172 | /// Layout element that maintains this layout entity
173 | var superElement: LayoutElement? { get }
| `- note: 'superElement' declared here
174 | /// Entity that represents element in layout time
175 | var inLayoutTime: ElementInLayoutTime { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:184:9: warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
182 | func removeFromSuperElement() { removeFromSuperview() }
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
| `- warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:175:9: note: 'inLayoutTime' declared here
173 | var superElement: LayoutElement? { get }
174 | /// Entity that represents element in layout time
175 | var inLayoutTime: ElementInLayoutTime { get }
| `- note: 'inLayoutTime' declared here
176 | /// Removes layout element from hierarchy
177 | func removeFromSuperElement()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:182:10: warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
180 | extension NSView: LayoutElement {
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
| |- warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'removeFromSuperElement()' to make this instance method not isolated to the actor
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:177:10: note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
175 | var inLayoutTime: ElementInLayoutTime { get }
176 | /// Removes layout element from hierarchy
177 | func removeFromSuperElement()
| `- note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
178 | }
179 | extension Equatable where Self: LayoutElement {
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:159:9: note: 'frame' declared here
157 | public protocol RectBasedElement {
158 | /// External representation of layout entity in coordinate space
159 | var frame: CGRect { get set }
| `- note: 'frame' declared here
160 | /// Internal coordinate space of layout entity
161 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:161:9: note: 'bounds' declared here
159 | var frame: CGRect { get set }
160 | /// Internal coordinate space of layout entity
161 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
162 | }
163 |
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:9: note: 'bounds' declared here
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- note: 'bounds' declared here
30 | }
31 | #if os(iOS) || os(tvOS)
AppKit.NSControl:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | open var doubleValue: Double { get set }
30 | @available(macOS 10.10, *)
31 | @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
| |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
32 | open func sizeToFit()
33 | open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:194:22: note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:261:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
259 | /// - Parameter size: The size for which the view should calculate its best-fitting size
260 | /// - Returns: A new size that fits the receiver’s content
261 | func sizeThatFits(_ size: CGSize) -> CGSize
| `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:196:16: warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdjustableLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
| `- warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
197 | }
198 | extension NSView: AnchoredLayoutElement {}
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:267:9: note: 'contentConstraint' declared here
265 | public protocol AdjustableLayoutElement: LayoutElement {
266 | /// Constraint, that defines content size of element
267 | var contentConstraint: RectBasedConstraint { get }
| `- note: 'contentConstraint' declared here
268 | }
269 | extension AdjustableLayoutElement where Self: AdaptiveLayoutElement {
[6/20] Compiling CGLayout workspace.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[7/20] Compiling CGLayout layoutBlock.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[8/20] Compiling CGLayout layoutConstraint.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:164:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
162 | /// - Parameter layoutGuide: Layout guide for binding
163 | func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
164 | unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
165 | }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:184:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
182 | /// - Parameter layoutGuide: Layout guide for binding
183 | func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
184 | unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
185 | }
186 | }
[9/20] Compiling CGLayout layoutGuide.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:164:9: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
162 | /// - Parameter layoutGuide: Layout guide for binding
163 | func add<T: CALayer>(layoutGuide: LayoutGuide<T>) {
164 | unsafeBitCast(layoutGuide, to: LayoutGuide<CALayer>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<CALayer>' can be replaced with 'unsafeDowncast'
165 | }
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/layoutGuide.cglayout.swift:184:13: warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
182 | /// - Parameter layoutGuide: Layout guide for binding
183 | func add<T: NSView>(layoutGuide: LayoutGuide<T>) {
184 | unsafeBitCast(layoutGuide, to: LayoutGuide<NSView>.self).ownerElement = self
| `- warning: 'unsafeBitCast' from 'LayoutGuide<T>' to 'LayoutGuide<NSView>' can be replaced with 'unsafeDowncast'
185 | }
186 | }
[10/20] Compiling CGLayout deprecated.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
[11/20] Compiling CGLayout anchors.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
[12/20] Compiling CGLayout coordinate.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:169: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
167 | extension LayoutCoordinateSpace where Self: NSView {
168 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
169 | 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
170 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, to: item) }) }
171 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:170: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
166 | #if os(macOS)
167 | extension LayoutCoordinateSpace where Self: NSView {
168 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
169 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, to: item) }) }
170 | 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
171 |
172 | return Self.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:175: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
173 | }
174 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
175 | 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
176 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, from: item) }) }
177 |
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:176: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
172 | return Self.convert(point: point, from: self, to: item)
173 | }
174 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
175 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, from: item) }) }
176 | 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
177 |
178 | return Self.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:181: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
179 | }
180 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
181 | 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
182 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, to: item) }) }
183 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:182: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
178 | return Self.convert(point: point, from: item, to: self)
179 | }
180 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
181 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, to: item) }) }
182 | 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
183 |
184 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:189: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
187 | }
188 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
189 | 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
190 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, from: item) }) }
191 |
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:190: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
186 | return rect
187 | }
188 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
189 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, from: item) }) }
190 | 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
191 |
192 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:321: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
317 | #if os(macOS)
318 | extension LayoutGuide where Super: NSView {
319 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
320 | if let item = item as? NSView { return convert(point, to: item) }
321 | 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
322 |
323 | return LayoutGuide.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:327: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
323 | return LayoutGuide.convert(point: point, from: self, to: item)
324 | }
325 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
326 | if let item = item as? NSView { return convert(point, from: item) }
327 | 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
328 |
329 | return LayoutGuide.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:333: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
329 | return LayoutGuide.convert(point: point, from: item, to: self)
330 | }
331 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
332 | if let item = item as? NSView { return convert(rect, to: item) }
333 | 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
334 |
335 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:341: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
337 | return rect
338 | }
339 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
340 | if let item = item as? NSView { return convert(rect, from: item) }
341 | 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
342 |
343 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:450: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
448 | public func convert(_ point: CGPoint, to view: NSView) -> CGPoint {
449 | let pointInSuper = CGPoint(x: frame.origin.x + point.x - bounds.origin.x, y: frame.origin.y + point.y - bounds.origin.y)
450 | 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
451 | }
452 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:454: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
452 |
453 | public func convert(_ point: CGPoint, from view: NSView) -> CGPoint {
454 | 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
455 | return CGPoint(x: pointInSuper.x - frame.origin.x + bounds.origin.x, y: pointInSuper.y - frame.origin.y + bounds.origin.y)
456 | }
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:460: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
458 | public func convert(_ rect: CGRect, to view: NSView) -> CGRect {
459 | 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)
460 | 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
461 | }
462 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:464: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
462 |
463 | public func convert(_ rect: CGRect, from view: NSView) -> CGRect {
464 | 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
465 | 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)
466 | }
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[13/20] Compiling CGLayout core.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:169: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
167 | extension LayoutCoordinateSpace where Self: NSView {
168 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
169 | 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
170 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, to: item) }) }
171 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:170: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
166 | #if os(macOS)
167 | extension LayoutCoordinateSpace where Self: NSView {
168 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
169 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, to: item) }) }
170 | 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
171 |
172 | return Self.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:175: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
173 | }
174 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
175 | 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
176 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(point, from: item) }) }
177 |
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:176: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
172 | return Self.convert(point: point, from: self, to: item)
173 | }
174 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
175 | if let item = item as? NSView { return syncGuard(mainThread: { convert(point, from: item) }) }
176 | 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
177 |
178 | return Self.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:181: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
179 | }
180 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
181 | 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
182 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, to: item) }) }
183 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:182: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
178 | return Self.convert(point: point, from: item, to: self)
179 | }
180 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
181 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, to: item) }) }
182 | 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
183 |
184 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:189: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
187 | }
188 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
189 | 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
190 | if let item = item as? CALayer, let layer = layer { return syncGuard(mainThread: { layer.convert(rect, from: item) }) }
191 |
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:190: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
186 | return rect
187 | }
188 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
189 | if let item = item as? NSView { return syncGuard(mainThread: { convert(rect, from: item) }) }
190 | 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
191 |
192 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:321: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
317 | #if os(macOS)
318 | extension LayoutGuide where Super: NSView {
319 | public func convert(point: CGPoint, to item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:to:)' part of global actor 'MainActor'
320 | if let item = item as? NSView { return convert(point, to: item) }
321 | 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
322 |
323 | return LayoutGuide.convert(point: point, from: self, to: item)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:327: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
323 | return LayoutGuide.convert(point: point, from: self, to: item)
324 | }
325 | public func convert(point: CGPoint, from item: LayoutElement) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'convert(point:from:)' part of global actor 'MainActor'
326 | if let item = item as? NSView { return convert(point, from: item) }
327 | 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
328 |
329 | return LayoutGuide.convert(point: point, from: item, to: self)
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:333: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
329 | return LayoutGuide.convert(point: point, from: item, to: self)
330 | }
331 | public func convert(rect: CGRect, to item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:to:)' part of global actor 'MainActor'
332 | if let item = item as? NSView { return convert(rect, to: item) }
333 | 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
334 |
335 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:341: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
337 | return rect
338 | }
339 | public func convert(rect: CGRect, from item: LayoutElement) -> CGRect {
| `- note: add '@MainActor' to make instance method 'convert(rect:from:)' part of global actor 'MainActor'
340 | if let item = item as? NSView { return convert(rect, from: item) }
341 | 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
342 |
343 | var rect = rect
AppKit.NSView:272:14: note: property declared here
270 | open var wantsLayer: Bool { get set }
271 | @available(macOS 10.5, *)
272 | open var layer: CALayer? { get set }
| `- note: property declared here
273 | @available(macOS 10.8, *)
274 | open var wantsUpdateLayer: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:450: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
448 | public func convert(_ point: CGPoint, to view: NSView) -> CGPoint {
449 | let pointInSuper = CGPoint(x: frame.origin.x + point.x - bounds.origin.x, y: frame.origin.y + point.y - bounds.origin.y)
450 | 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
451 | }
452 |
AppKit.NSView:92:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
92 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
93 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
94 | open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:454: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
452 |
453 | public func convert(_ point: CGPoint, from view: NSView) -> CGPoint {
454 | 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
455 | return CGPoint(x: pointInSuper.x - frame.origin.x + bounds.origin.x, y: pointInSuper.y - frame.origin.y + bounds.origin.y)
456 | }
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:460: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
458 | public func convert(_ rect: CGRect, to view: NSView) -> CGRect {
459 | 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)
460 | 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
461 | }
462 |
AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
105 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 | open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:464: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
462 |
463 | public func convert(_ rect: CGRect, from view: NSView) -> CGRect {
464 | 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
465 | 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)
466 | }
AppKit.NSView:101:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
99 | @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
100 | open func convertSize(_ size: NSSize, toView view: NSView?) -> NSSize
101 | open func convert(_ rect: NSRect, from view: NSView?) -> NSRect
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
102 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 | open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
[14/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
[15/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
[16/20] Compiling CGLayout private.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[17/20] Compiling CGLayout rtl.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[18/20] Emitting module CGLayout
/Users/admin/builder/spi-builder-workspace/Sources/Classes/common.cglayout.swift:123:1: warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
121 |
122 | #if os(macOS) || os(Linux)
123 | extension EdgeInsets: Equatable {
| |- warning: extension declares a conformance of imported type 'NSEdgeInsets' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
124 | public static func ==(lhs: EdgeInsets, rhs: EdgeInsets) -> Bool {
125 | return lhs.left == rhs.left && lhs.right == rhs.right
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/rtl.cglayout.swift:13:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public var isRTLMode: Bool = false
12 |
13 | public static var `default` = CGLConfiguration()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:15:23: warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 | struct CGRectAxisAnchor {
15 | public static var leading: RectAxisAnchor = Leading()
| |- warning: static property 'leading' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leading' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | struct Leading: RectAxisAnchor {
17 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:21:23: warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | }
21 | public static var trailing: RectAxisAnchor = Trailing()
| |- warning: static property 'trailing' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailing' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | struct Trailing: RectAxisAnchor {
23 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:27:23: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 | }
27 | public static var center: RectAxisAnchor = Center()
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | struct Center: RectAxisAnchor {
29 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/workspace.cglayout.swift:33:23: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | }
33 | public static var size: RectAxisAnchor = Size()
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | struct Size: RectAxisAnchor {
35 | func get(for rect: CGRect, in axis: RectAxis) -> CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:125:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
123 | }
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:126:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
124 |
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
128 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/scroll.layoutGuide.cglayout.swift:127:23: warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
125 | public static var horizontal: ScrollDirection = ScrollDirection(constraints: [.width()], rawValue: 1)
126 | public static var vertical: ScrollDirection = ScrollDirection(constraints: [.height()], rawValue: 2)
127 | public static var both: ScrollDirection = ScrollDirection(constraints: [.height(), .width()], rawValue: 0)
| |- warning: static property 'both' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'both' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'both' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | }
129 |
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:180:19: note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
178 | #if os(macOS)
179 | public typealias CGRect = NSRect
180 | extension NSView: LayoutElement {
| `- note: add '@preconcurrency' to the 'LayoutElement' conformance to defer isolation checking to run time
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:167:9: note: 'frame' declared here
165 | public protocol LayoutElement: class, RectBasedElement, LayoutCoordinateSpace {
166 | /// External representation of layout entity in coordinate space
167 | var frame: CGRect { get set }
| `- note: 'frame' declared here
168 | /// Internal coordinate space of layout entity
169 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:169:9: note: 'bounds' declared here
167 | var frame: CGRect { get set }
168 | /// Internal coordinate space of layout entity
169 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
170 | /// Internal space for layout subelements
171 | var layoutBounds: CGRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:188:9: warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
186 | weak var superElement: LayoutElement? { return superview }
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
| `- warning: main actor-isolated property 'layoutBounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
189 | }
190 | extension NSScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:171:9: note: 'layoutBounds' declared here
169 | var bounds: CGRect { get set }
170 | /// Internal space for layout subelements
171 | var layoutBounds: CGRect { get }
| `- note: 'layoutBounds' declared here
172 | /// Layout element that maintains this layout entity
173 | var superElement: LayoutElement? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:186:14: warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
| `- warning: main actor-isolated property 'superElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
187 | @objc public /// Internal space for layout subelements
188 | var layoutBounds: CGRect { return bounds }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:173:9: note: 'superElement' declared here
171 | var layoutBounds: CGRect { get }
172 | /// Layout element that maintains this layout entity
173 | var superElement: LayoutElement? { get }
| `- note: 'superElement' declared here
174 | /// Entity that represents element in layout time
175 | var inLayoutTime: ElementInLayoutTime { get }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:184:9: warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
182 | func removeFromSuperElement() { removeFromSuperview() }
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
| `- warning: main actor-isolated property 'inLayoutTime' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
185 | public /// Layout element that maintains this layout entity
186 | weak var superElement: LayoutElement? { return superview }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:175:9: note: 'inLayoutTime' declared here
173 | var superElement: LayoutElement? { get }
174 | /// Entity that represents element in layout time
175 | var inLayoutTime: ElementInLayoutTime { get }
| `- note: 'inLayoutTime' declared here
176 | /// Removes layout element from hierarchy
177 | func removeFromSuperElement()
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:182:10: warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
180 | extension NSView: LayoutElement {
181 | public /// Removes layout element from hierarchy
182 | func removeFromSuperElement() { removeFromSuperview() }
| |- warning: main actor-isolated instance method 'removeFromSuperElement()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'removeFromSuperElement()' to make this instance method not isolated to the actor
183 | public /// Entity that represents element in layout time
184 | var inLayoutTime: ElementInLayoutTime { return _MainThreadItemInLayoutTime(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:177:10: note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
175 | var inLayoutTime: ElementInLayoutTime { get }
176 | /// Removes layout element from hierarchy
177 | func removeFromSuperElement()
| `- note: mark the protocol requirement 'removeFromSuperElement()' 'async' to allow actor-isolated conformances
178 | }
179 | extension Equatable where Self: LayoutElement {
AppKit.NSView:60:25: warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- warning: main actor-isolated property 'frame' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:159:9: note: 'frame' declared here
157 | public protocol RectBasedElement {
158 | /// External representation of layout entity in coordinate space
159 | var frame: CGRect { get set }
| `- note: 'frame' declared here
160 | /// Internal coordinate space of layout entity
161 | var bounds: CGRect { get set }
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:161:9: note: 'bounds' declared here
159 | var frame: CGRect { get set }
160 | /// Internal coordinate space of layout entity
161 | var bounds: CGRect { get set }
| `- note: 'bounds' declared here
162 | }
163 |
AppKit.NSView:76:14: warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- warning: main actor-isolated property 'bounds' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Classes/coordinate.cglayout.swift:29:9: note: 'bounds' declared here
27 | func convert(rect: CGRect, from item: LayoutElement) -> CGRect
28 |
29 | var bounds: CGRect { get }
| `- note: 'bounds' declared here
30 | }
31 | #if os(iOS) || os(tvOS)
AppKit.NSControl:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | open var doubleValue: Double { get set }
30 | @available(macOS 10.10, *)
31 | @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
| |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
32 | open func sizeToFit()
33 | open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:194:22: note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdaptiveLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:261:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
259 | /// - Parameter size: The size for which the view should calculate its best-fitting size
260 | /// - Returns: A new size that fits the receiver’s content
261 | func sizeThatFits(_ size: CGSize) -> CGSize
| `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
262 | }
263 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/support.cglayout.swift:196:16: warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
192 | override var layoutBounds: CGRect { return documentView?.bounds ?? contentView.bounds }
193 | }
194 | extension NSControl: AdaptiveLayoutElement, AdjustableLayoutElement {
| `- note: add '@preconcurrency' to the 'AdjustableLayoutElement' conformance to defer isolation checking to run time
195 | /// Constraint, that defines content size for item
196 | public var contentConstraint: RectBasedConstraint { return _MainThreadSizeThatFitsConstraint(item: self) }
| `- warning: main actor-isolated property 'contentConstraint' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
197 | }
198 | extension NSView: AnchoredLayoutElement {}
/Users/admin/builder/spi-builder-workspace/Sources/Classes/core.cglayout.swift:267:9: note: 'contentConstraint' declared here
265 | public protocol AdjustableLayoutElement: LayoutElement {
266 | /// Constraint, that defines content size of element
267 | var contentConstraint: RectBasedConstraint { get }
| `- note: 'contentConstraint' declared here
268 | }
269 | extension AdjustableLayoutElement where Self: AdaptiveLayoutElement {
[19/20] Compiling CGLayout backend.anchors.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:35:13: warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | @available(macOS 10.12, iOS 10.0, *)
13 | public class LayoutManager<Item: LayoutElement>: NSObject {
| `- note: generic class 'LayoutManager' does not conform to the 'Sendable' protocol
14 | var deinitialization: ((LayoutManager<Item>) -> Void)?
15 | weak var item: LayoutElement!
:
33 | private func scheduleLayout() {
34 | RunLoop.current.perform {
35 | self.scheme.layout(in: self.item.layoutBounds)
| `- warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | self.isNeedLayout = false
37 | }
[20/20] Compiling CGLayout system.cglayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:300:23: warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
298 | }
299 |
300 | public static var vertical: CGRectAxis.Vertical = Vertical()
| |- warning: static property 'vertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'vertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'vertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 | public struct Vertical: RectAxis {
302 | public var isHorizontal: Bool { return false }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:286:23: warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
284 | }
285 |
286 | public static var horizontal: CGRectAxis.Horizontal = Horizontal()
| |- warning: static property 'horizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'horizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
287 | public struct Horizontal: RectAxis {
288 | public var isHorizontal: Bool { return true }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:267:23: warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
265 | public func offset(rect: CGRect, by value: CGFloat) -> CGRect { return base.offset(rect: rect, by: value) }
266 |
267 | public static var xy: CGRectAxis.XY = .init()
| |- warning: static property 'xy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'xy' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'xy' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | /// not completed
269 | public struct XY: RectAxis { // TODO:
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:179:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
177 | public func get(for rect: CGRect) -> CGFloat { return get(rect) }
178 | }
179 | public struct CenterAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
180 | public let axis = CGRectAxis.xy
181 | public var horizontal: AxisCenterAnchor<CGRectAxis.Horizontal> { return .horizontal }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:195:15: warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
193 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontal.get(for: rect), y: vertical.get(for: rect)) }
194 | }
195 | public struct OriginAnchor: RectAnchorPoint {
| |- warning: cannot use conformance of 'CGPoint' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGPoint')
196 | public let axis = CGRectAxis.xy
197 | let horizontalAnchor: HorizontalAnchor
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:211:15: warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
209 | public func get(for rect: CGRect) -> CGPoint { return CGPoint(x: horizontalAnchor.get(for: rect), y: verticalAnchor.get(for: rect)) }
210 | }
211 | public struct SizeAnchor: SizeRectAnchor {
| |- warning: cannot use conformance of 'CGSize' to 'Equatable' here; 'CoreGraphics' was not imported by this file; this is an error in the Swift 6 language mode
| |- note: The missing import of module 'CoreGraphics' will be added implicitly
| `- note: in associated type 'Self.Metric' (inferred as 'CGSize')
212 | public typealias Metric = CGSize
213 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:325:16: warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
323 |
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
| |- warning: static property 'leadingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:326:16: warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
324 | struct _RectAnchor {
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
| |- warning: static property 'trailingHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:327:16: warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
325 | static var leadingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(minOf:))
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
| |- warning: static property 'leadingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'leadingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'leadingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:328:16: warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
326 | static var trailingHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(maxOf:))
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
| |- warning: static property 'trailingVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'trailingVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'trailingVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:329:16: warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
327 | static var leadingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(minOf:))
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
| |- warning: static property 'centerHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:330:16: warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
328 | static var trailingVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(maxOf:))
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
| |- warning: static property 'centerVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:331:16: warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
329 | static var centerHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(midOf:))
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
| |- warning: static property 'center' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'center' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:332:16: warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
330 | static var centerVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(midOf:))
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
| |- warning: static property 'sizeHorizontal' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeHorizontal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeHorizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:333:16: warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | static var center = AnyAnchor<CGPoint>(getter: { CGPoint(x: CGRectAxis.horizontal.get(midOf: $0), y: CGRectAxis.vertical.get(midOf: $0)) })
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
| |- warning: static property 'sizeVertical' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sizeVertical' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sizeVertical' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/backend.anchors.cglayout.swift:334:16: warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
332 | static var sizeHorizontal = AnyAnchor<CGFloat>(getter: CGRectAxis.horizontal.get(sizeAt:))
333 | static var sizeVertical = AnyAnchor<CGFloat>(getter: CGRectAxis.vertical.get(sizeAt:))
334 | static var size = AnyAnchor<CGSize>(getter: { $0.size })//CGSize(width: CGRectAxis.horizontal.get(sizeAt: $0), height: CGRectAxis.vertical.get(sizeAt: $0)) })
| |- warning: static property 'size' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 | }
336 |
/Users/admin/builder/spi-builder-workspace/Sources/Classes/evolution.cglayout/system.cglayout.swift:35:13: warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | @available(macOS 10.12, iOS 10.0, *)
13 | public class LayoutManager<Item: LayoutElement>: NSObject {
| `- note: generic class 'LayoutManager' does not conform to the 'Sendable' protocol
14 | var deinitialization: ((LayoutManager<Item>) -> Void)?
15 | weak var item: LayoutElement!
:
33 | private func scheduleLayout() {
34 | RunLoop.current.perform {
35 | self.scheme.layout(in: self.item.layoutBounds)
| `- warning: capture of 'self' with non-sendable type 'LayoutManager<Item>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | self.isNeedLayout = false
37 | }
Build complete! (13.57s)
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.