Build Information
Successful build of AutoFlex, reference 0.3.6 (adfc04
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:23:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liam-i/AutoFlex.git
Reference: 0.3.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/liam-i/AutoFlex
* tag 0.3.6 -> FETCH_HEAD
HEAD is now at adfc04b feat: Add privacy manifest
Cloned https://github.com/liam-i/AutoFlex.git
Revision (git rev-parse @):
adfc04b3dfa90fb17625d6f1ca8b3b715477be44
SUCCESS checkout https://github.com/liam-i/AutoFlex.git at 0.3.6
========================================
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": "autoflex",
"name": "AutoFlex",
"url": "https://github.com/liam-i/AutoFlex.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AutoFlex",
"dependencies": [
]
}
]
}
Fetching https://github.com/liam-i/AutoFlex.git
[6/554] Fetching autoflex
Fetched https://github.com/liam-i/AutoFlex.git from cache (0.76s)
Creating working copy for https://github.com/liam-i/AutoFlex.git
Working copy of https://github.com/liam-i/AutoFlex.git resolved at 0.3.6 (adfc04b)
warning: '.resolve-product-dependencies': dependency 'autoflex' 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/liam-i/AutoFlex.git
{
"dependencies" : [
],
"manifest_display_name" : "AutoFlex",
"name" : "AutoFlex",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AutoFlex",
"targets" : [
"AutoFlex"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AutoFlex",
"module_type" : "SwiftTarget",
"name" : "AutoFlex",
"path" : "Sources",
"product_memberships" : [
"AutoFlex"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AutoFlex.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/6] Compiling AutoFlex resource_bundle_accessor.swift
[5/6] Emitting module AutoFlex
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:95:1: warning: extension declares a conformance of imported type 'Priority' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
93 | /// let prioritey: UILayoutPriority = 1000
94 | /// ```
95 | extension LayoutPriority: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Priority' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
96 | public typealias FloatLiteralType = Float
97 | public typealias IntegerLiteralType = Int
[6/6] Compiling AutoFlex AutoFlex.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:95:1: warning: extension declares a conformance of imported type 'Priority' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
93 | /// let prioritey: UILayoutPriority = 1000
94 | /// ```
95 | extension LayoutPriority: ExpressibleByFloatLiteral, ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Priority' to imported protocols 'ExpressibleByFloatLiteral', 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
96 | public typealias FloatLiteralType = Float
97 | public typealias IntegerLiteralType = Int
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:53:14: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
50 |
51 | extension AutoFlex where ExtendedViewType: LayoutView {
52 | public func constraints(_ closure: (LayoutMarker<ExtendedViewType>) -> Void) {
| `- note: add '@MainActor' to make instance method 'constraints' part of global actor 'MainActor'
53 | view.translatesAutoresizingMaskIntoConstraints = false
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | let marker = LayoutMarker(view)
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:60:48: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
58 | }
59 |
60 | public var top: NSLayoutYAxisAnchor { view.topAnchor }
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
61 | public var bottom: NSLayoutYAxisAnchor { view.bottomAnchor }
62 | public var leading: NSLayoutXAxisAnchor { view.leadingAnchor }
AppKit.NSView:11:25: note: property declared here
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:61:51: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 |
60 | public var top: NSLayoutYAxisAnchor { view.topAnchor }
61 | public var bottom: NSLayoutYAxisAnchor { view.bottomAnchor }
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | public var leading: NSLayoutXAxisAnchor { view.leadingAnchor }
63 | public var trailing: NSLayoutXAxisAnchor { view.trailingAnchor }
AppKit.NSView:13:14: note: property declared here
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:62:52: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
60 | public var top: NSLayoutYAxisAnchor { view.topAnchor }
61 | public var bottom: NSLayoutYAxisAnchor { view.bottomAnchor }
62 | public var leading: NSLayoutXAxisAnchor { view.leadingAnchor }
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | public var trailing: NSLayoutXAxisAnchor { view.trailingAnchor }
64 | public var centerX: NSLayoutXAxisAnchor { view.centerXAnchor }
AppKit.NSView:3:14: note: property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:63:53: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
61 | public var bottom: NSLayoutYAxisAnchor { view.bottomAnchor }
62 | public var leading: NSLayoutXAxisAnchor { view.leadingAnchor }
63 | public var trailing: NSLayoutXAxisAnchor { view.trailingAnchor }
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | public var centerX: NSLayoutXAxisAnchor { view.centerXAnchor }
65 | public var centerY: NSLayoutYAxisAnchor { view.centerYAnchor }
AppKit.NSView:5:14: note: property declared here
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:64:52: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
62 | public var leading: NSLayoutXAxisAnchor { view.leadingAnchor }
63 | public var trailing: NSLayoutXAxisAnchor { view.trailingAnchor }
64 | public var centerX: NSLayoutXAxisAnchor { view.centerXAnchor }
| `- warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | public var centerY: NSLayoutYAxisAnchor { view.centerYAnchor }
66 | public var width: NSLayoutDimension { view.widthAnchor }
AppKit.NSView:19:14: note: property declared here
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:65:52: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
63 | public var trailing: NSLayoutXAxisAnchor { view.trailingAnchor }
64 | public var centerX: NSLayoutXAxisAnchor { view.centerXAnchor }
65 | public var centerY: NSLayoutYAxisAnchor { view.centerYAnchor }
| `- warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | public var width: NSLayoutDimension { view.widthAnchor }
67 | public var height: NSLayoutDimension { view.heightAnchor }
AppKit.NSView:21:14: note: property declared here
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:66:48: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | public var centerX: NSLayoutXAxisAnchor { view.centerXAnchor }
65 | public var centerY: NSLayoutYAxisAnchor { view.centerYAnchor }
66 | public var width: NSLayoutDimension { view.widthAnchor }
| `- warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
67 | public var height: NSLayoutDimension { view.heightAnchor }
68 | public var firstBaseline: NSLayoutYAxisAnchor { view.firstBaselineAnchor }
AppKit.NSView:15:14: note: property declared here
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- note: property declared here
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:67:49: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
65 | public var centerY: NSLayoutYAxisAnchor { view.centerYAnchor }
66 | public var width: NSLayoutDimension { view.widthAnchor }
67 | public var height: NSLayoutDimension { view.heightAnchor }
| `- warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
68 | public var firstBaseline: NSLayoutYAxisAnchor { view.firstBaselineAnchor }
69 | public var lastBaseline: NSLayoutYAxisAnchor { view.lastBaselineAnchor }
AppKit.NSView:17:14: note: property declared here
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- note: property declared here
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:68:58: warning: main actor-isolated property 'firstBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
66 | public var width: NSLayoutDimension { view.widthAnchor }
67 | public var height: NSLayoutDimension { view.heightAnchor }
68 | public var firstBaseline: NSLayoutYAxisAnchor { view.firstBaselineAnchor }
| `- warning: main actor-isolated property 'firstBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
69 | public var lastBaseline: NSLayoutYAxisAnchor { view.lastBaselineAnchor }
70 | public var safeGuide: LayoutGuide { view.safeAreaLayoutGuide }
AppKit.NSView:23:14: note: property declared here
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
24 | @available(macOS 10.11, *)
25 | open var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:69:57: warning: main actor-isolated property 'lastBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
67 | public var height: NSLayoutDimension { view.heightAnchor }
68 | public var firstBaseline: NSLayoutYAxisAnchor { view.firstBaselineAnchor }
69 | public var lastBaseline: NSLayoutYAxisAnchor { view.lastBaselineAnchor }
| `- warning: main actor-isolated property 'lastBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
70 | public var safeGuide: LayoutGuide { view.safeAreaLayoutGuide }
71 | }
AppKit.NSView:25:14: note: property declared here
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
24 | @available(macOS 10.11, *)
25 | open var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
26 | @available(macOS 10.7, *)
27 | open var constraints: [NSLayoutConstraint] { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:70:46: warning: main actor-isolated property 'safeAreaLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
68 | public var firstBaseline: NSLayoutYAxisAnchor { view.firstBaselineAnchor }
69 | public var lastBaseline: NSLayoutYAxisAnchor { view.lastBaselineAnchor }
70 | public var safeGuide: LayoutGuide { view.safeAreaLayoutGuide }
| `- warning: main actor-isolated property 'safeAreaLayoutGuide' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
71 | }
72 |
AppKit.NSView:7:25: note: property declared here
5 | open var additionalSafeAreaInsets: NSEdgeInsets { get set }
6 | @available(macOS 11.0, *)
7 | @MainActor open var safeAreaLayoutGuide: NSLayoutGuide { get }
| `- note: property declared here
8 | @available(macOS 11.0, *)
9 | open var safeAreaRect: NSRect { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:235:39: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
232 | }
233 |
234 | private func makeTop(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeTop(to:info:relation:)' part of global actor 'MainActor'
235 | relation.constraint(for: view.topAnchor, to: {
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
236 | switch anchor ?? view.superview {
237 | case let to as LayoutView: return to.topAnchor
AppKit.NSView:11:25: note: property declared here
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:236:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
234 | private func makeTop(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
235 | relation.constraint(for: view.topAnchor, to: {
236 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
237 | case let to as LayoutView: return to.topAnchor
238 | case let to as NSLayoutYAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:237:59: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
235 | relation.constraint(for: view.topAnchor, to: {
236 | switch anchor ?? view.superview {
237 | case let to as LayoutView: return to.topAnchor
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
238 | case let to as NSLayoutYAxisAnchor: return to
239 | case let to as LayoutGuide: return to.topAnchor
AppKit.NSView:11:25: note: property declared here
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:246:39: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
243 | }
244 |
245 | private func makeBottom(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeBottom(to:info:relation:)' part of global actor 'MainActor'
246 | relation.constraint(for: view.bottomAnchor, to: {
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 | switch anchor ?? view.superview {
248 | case let to as LayoutView: return to.bottomAnchor
AppKit.NSView:13:14: note: property declared here
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:247:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
245 | private func makeBottom(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
246 | relation.constraint(for: view.bottomAnchor, to: {
247 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
248 | case let to as LayoutView: return to.bottomAnchor
249 | case let to as NSLayoutYAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:248:59: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
246 | relation.constraint(for: view.bottomAnchor, to: {
247 | switch anchor ?? view.superview {
248 | case let to as LayoutView: return to.bottomAnchor
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
249 | case let to as NSLayoutYAxisAnchor: return to
250 | case let to as LayoutGuide: return to.bottomAnchor
AppKit.NSView:13:14: note: property declared here
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:257:39: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
254 | }
255 |
256 | private func makeLeading(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeLeading(to:info:relation:)' part of global actor 'MainActor'
257 | relation.constraint(for: view.leadingAnchor, to: {
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
258 | switch anchor ?? view.superview {
259 | case let to as LayoutView: return to.leadingAnchor
AppKit.NSView:3:14: note: property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:258:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
256 | private func makeLeading(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
257 | relation.constraint(for: view.leadingAnchor, to: {
258 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
259 | case let to as LayoutView: return to.leadingAnchor
260 | case let to as NSLayoutXAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:259:59: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
257 | relation.constraint(for: view.leadingAnchor, to: {
258 | switch anchor ?? view.superview {
259 | case let to as LayoutView: return to.leadingAnchor
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
260 | case let to as NSLayoutXAxisAnchor: return to
261 | case let to as LayoutGuide: return to.leadingAnchor
AppKit.NSView:3:14: note: property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:268:39: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
265 | }
266 |
267 | private func makeTrailing(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeTrailing(to:info:relation:)' part of global actor 'MainActor'
268 | relation.constraint(for: view.trailingAnchor, to: {
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
269 | switch anchor ?? view.superview {
270 | case let to as LayoutView: return to.trailingAnchor
AppKit.NSView:5:14: note: property declared here
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:269:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
267 | private func makeTrailing(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
268 | relation.constraint(for: view.trailingAnchor, to: {
269 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
270 | case let to as LayoutView: return to.trailingAnchor
271 | case let to as NSLayoutXAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:270:59: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
268 | relation.constraint(for: view.trailingAnchor, to: {
269 | switch anchor ?? view.superview {
270 | case let to as LayoutView: return to.trailingAnchor
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
271 | case let to as NSLayoutXAxisAnchor: return to
272 | case let to as LayoutGuide: return to.trailingAnchor
AppKit.NSView:5:14: note: property declared here
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:284:39: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
281 | }
282 |
283 | private func makeCenterX(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeCenterX(to:info:relation:)' part of global actor 'MainActor'
284 | relation.constraint(for: view.centerXAnchor, to: {
| `- warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
285 | switch anchor ?? view.superview {
286 | case let to as LayoutView: return to.centerXAnchor
AppKit.NSView:19:14: note: property declared here
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:285:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
283 | private func makeCenterX(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
284 | relation.constraint(for: view.centerXAnchor, to: {
285 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
286 | case let to as LayoutView: return to.centerXAnchor
287 | case let to as NSLayoutXAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:286:59: warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
284 | relation.constraint(for: view.centerXAnchor, to: {
285 | switch anchor ?? view.superview {
286 | case let to as LayoutView: return to.centerXAnchor
| `- warning: main actor-isolated property 'centerXAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
287 | case let to as NSLayoutXAxisAnchor: return to
288 | case let to as LayoutGuide: return to.centerXAnchor
AppKit.NSView:19:14: note: property declared here
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:295:39: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
292 | }
293 |
294 | private func makeCenterY(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeCenterY(to:info:relation:)' part of global actor 'MainActor'
295 | relation.constraint(for: view.centerYAnchor, to: {
| `- warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
296 | switch anchor ?? view.superview {
297 | case let to as LayoutView: return to.centerYAnchor
AppKit.NSView:21:14: note: property declared here
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:296:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
294 | private func makeCenterY(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
295 | relation.constraint(for: view.centerYAnchor, to: {
296 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
297 | case let to as LayoutView: return to.centerYAnchor
298 | case let to as NSLayoutYAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:297:59: warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
295 | relation.constraint(for: view.centerYAnchor, to: {
296 | switch anchor ?? view.superview {
297 | case let to as LayoutView: return to.centerYAnchor
| `- warning: main actor-isolated property 'centerYAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
298 | case let to as NSLayoutYAxisAnchor: return to
299 | case let to as LayoutGuide: return to.centerYAnchor
AppKit.NSView:21:14: note: property declared here
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:306:39: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
303 | }
304 |
305 | private func makeWidth(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeWidth(to:info:relation:)' part of global actor 'MainActor'
306 | relation.constraint(for: view.widthAnchor, to: anchor == nil ? nil : {
| `- warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
307 | switch anchor ?? view.superview {
308 | case let to as LayoutView: return to.widthAnchor
AppKit.NSView:15:14: note: property declared here
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- note: property declared here
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:307:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
305 | private func makeWidth(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
306 | relation.constraint(for: view.widthAnchor, to: anchor == nil ? nil : {
307 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
308 | case let to as LayoutView: return to.widthAnchor
309 | case let to as NSLayoutDimension: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:308:59: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
306 | relation.constraint(for: view.widthAnchor, to: anchor == nil ? nil : {
307 | switch anchor ?? view.superview {
308 | case let to as LayoutView: return to.widthAnchor
| `- warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
309 | case let to as NSLayoutDimension: return to
310 | case let to as LayoutGuide: return to.widthAnchor
AppKit.NSView:15:14: note: property declared here
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- note: property declared here
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:317:39: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
314 | }
315 |
316 | private func makeHeight(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeHeight(to:info:relation:)' part of global actor 'MainActor'
317 | relation.constraint(for: view.heightAnchor, to: anchor == nil ? nil : {
| `- warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
318 | switch anchor ?? view.superview {
319 | case let to as LayoutView: return to.heightAnchor
AppKit.NSView:17:14: note: property declared here
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- note: property declared here
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:318:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
316 | private func makeHeight(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
317 | relation.constraint(for: view.heightAnchor, to: anchor == nil ? nil : {
318 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
319 | case let to as LayoutView: return to.heightAnchor
320 | case let to as NSLayoutDimension: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:319:59: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
317 | relation.constraint(for: view.heightAnchor, to: anchor == nil ? nil : {
318 | switch anchor ?? view.superview {
319 | case let to as LayoutView: return to.heightAnchor
| `- warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
320 | case let to as NSLayoutDimension: return to
321 | case let to as LayoutGuide: return to.heightAnchor
AppKit.NSView:17:14: note: property declared here
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- note: property declared here
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:329:31: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
330 | case let to as LayoutView:
331 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:331:51: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
330 | case let to as LayoutView:
331 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
AppKit.NSView:11:25: note: property declared here
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:331:69: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
330 | case let to as LayoutView:
331 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
AppKit.NSView:11:25: note: property declared here
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:332:51: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
330 | case let to as LayoutView:
331 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
334 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
AppKit.NSView:13:14: note: property declared here
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:332:72: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
330 | case let to as LayoutView:
331 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
334 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
AppKit.NSView:13:14: note: property declared here
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:333:51: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
331 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
334 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
335 | case let to as LayoutGuide:
AppKit.NSView:3:14: note: property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:333:73: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
331 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
334 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
335 | case let to as LayoutGuide:
AppKit.NSView:3:14: note: property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:334:51: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
334 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
335 | case let to as LayoutGuide:
336 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
AppKit.NSView:5:14: note: property declared here
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:334:74: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
332 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
333 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
334 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
335 | case let to as LayoutGuide:
336 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
AppKit.NSView:5:14: note: property declared here
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:336:51: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
334 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
335 | case let to as LayoutGuide:
336 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
337 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
338 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
AppKit.NSView:11:25: note: property declared here
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:337:51: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
335 | case let to as LayoutGuide:
336 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
337 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
338 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
339 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
AppKit.NSView:13:14: note: property declared here
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:338:51: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
336 | return [relation.constraint(for: view.topAnchor, to: to.topAnchor, info: info),
337 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
338 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
339 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
340 | default:
AppKit.NSView:3:14: note: property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:339:51: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
325 | }
326 |
327 | private func makeEdges(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeEdges(to:info:relation:)' part of global actor 'MainActor'
328 | let infoNegated = info.negated
329 | switch anchor ?? view.superview {
:
337 | relation.constraint(for: view.bottomAnchor, to: to.bottomAnchor, info: infoNegated),
338 | relation.constraint(for: view.leadingAnchor, to: to.leadingAnchor, info: info),
339 | relation.constraint(for: view.trailingAnchor, to: to.trailingAnchor, info: infoNegated)]
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
340 | default:
341 | fatalError("Can Only be `LayoutView` or `LayoutGuide`")
AppKit.NSView:5:14: note: property declared here
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: property declared here
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:349:31: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
347 | var widthInfo = info, heightInfo = info
348 |
349 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
350 | case let to as LayoutView:
351 | if anchor != nil {
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:352:36: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
343 | }
344 |
345 | private func makeSize(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeSize(to:info:relation:)' part of global actor 'MainActor'
346 | var toWidthAnchor, toHeightAnchor: NSLayoutDimension?
347 | var widthInfo = info, heightInfo = info
:
350 | case let to as LayoutView:
351 | if anchor != nil {
352 | toWidthAnchor = to.widthAnchor
| `- warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
353 | toHeightAnchor = to.heightAnchor
354 | }
AppKit.NSView:15:14: note: property declared here
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- note: property declared here
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:353:37: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
343 | }
344 |
345 | private func makeSize(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeSize(to:info:relation:)' part of global actor 'MainActor'
346 | var toWidthAnchor, toHeightAnchor: NSLayoutDimension?
347 | var widthInfo = info, heightInfo = info
:
351 | if anchor != nil {
352 | toWidthAnchor = to.widthAnchor
353 | toHeightAnchor = to.heightAnchor
| `- warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
354 | }
355 | case let to as CGSize:
AppKit.NSView:17:14: note: property declared here
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- note: property declared here
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:367:47: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
343 | }
344 |
345 | private func makeSize(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeSize(to:info:relation:)' part of global actor 'MainActor'
346 | var toWidthAnchor, toHeightAnchor: NSLayoutDimension?
347 | var widthInfo = info, heightInfo = info
:
365 | fatalError("Can Only be `LayoutView`、`CGSize`、`NSLayoutDimension` or `LayoutGuide`")
366 | }
367 | return [relation.constraint(for: view.widthAnchor, to: toWidthAnchor, info: widthInfo),
| `- warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
368 | relation.constraint(for: view.heightAnchor, to: toHeightAnchor, info: heightInfo)]
369 | }
AppKit.NSView:15:14: note: property declared here
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- note: property declared here
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:368:47: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
343 | }
344 |
345 | private func makeSize(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> [NSLayoutConstraint] {
| `- note: add '@MainActor' to make instance method 'makeSize(to:info:relation:)' part of global actor 'MainActor'
346 | var toWidthAnchor, toHeightAnchor: NSLayoutDimension?
347 | var widthInfo = info, heightInfo = info
:
366 | }
367 | return [relation.constraint(for: view.widthAnchor, to: toWidthAnchor, info: widthInfo),
368 | relation.constraint(for: view.heightAnchor, to: toHeightAnchor, info: heightInfo)]
| `- warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
369 | }
370 |
AppKit.NSView:17:14: note: property declared here
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- note: property declared here
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:372:39: warning: main actor-isolated property 'firstBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
369 | }
370 |
371 | private func makeFirstBaseline(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeFirstBaseline(to:info:relation:)' part of global actor 'MainActor'
372 | relation.constraint(for: view.firstBaselineAnchor, to: {
| `- warning: main actor-isolated property 'firstBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
373 | switch anchor ?? view.superview {
374 | case let to as LayoutView: return to.firstBaselineAnchor
AppKit.NSView:23:14: note: property declared here
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
24 | @available(macOS 10.11, *)
25 | open var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:373:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
371 | private func makeFirstBaseline(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
372 | relation.constraint(for: view.firstBaselineAnchor, to: {
373 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
374 | case let to as LayoutView: return to.firstBaselineAnchor
375 | case let to as NSLayoutYAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:374:59: warning: main actor-isolated property 'firstBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
372 | relation.constraint(for: view.firstBaselineAnchor, to: {
373 | switch anchor ?? view.superview {
374 | case let to as LayoutView: return to.firstBaselineAnchor
| `- warning: main actor-isolated property 'firstBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
375 | case let to as NSLayoutYAxisAnchor: return to
376 | default: fatalError("Can Only be `LayoutView` or `NSLayoutYAxisAnchor`")
AppKit.NSView:23:14: note: property declared here
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
24 | @available(macOS 10.11, *)
25 | open var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:382:39: warning: main actor-isolated property 'lastBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
381 | private func makeLastBaseline(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'makeLastBaseline(to:info:relation:)' part of global actor 'MainActor'
382 | relation.constraint(for: view.lastBaselineAnchor, to: {
| `- warning: main actor-isolated property 'lastBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
383 | switch anchor ?? view.superview {
384 | case let to as LayoutView: return to.lastBaselineAnchor
AppKit.NSView:25:14: note: property declared here
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
24 | @available(macOS 10.11, *)
25 | open var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
26 | @available(macOS 10.7, *)
27 | open var constraints: [NSLayoutConstraint] { get }
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:383:35: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
381 | private func makeLastBaseline(to anchor: LayoutAnchor?, info: LayoutOptionsInfo, relation: Relation) -> NSLayoutConstraint {
382 | relation.constraint(for: view.lastBaselineAnchor, to: {
383 | switch anchor ?? view.superview {
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
384 | case let to as LayoutView: return to.lastBaselineAnchor
385 | case let to as NSLayoutYAxisAnchor: return to
AppKit.NSView:5:41: note: property declared here
3 | public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
5 | @MainActor unowned(unsafe) open var superview: NSView? { get }
| `- note: property declared here
6 | open var subviews: [NSView] { get set }
7 | open func isDescendant(of view: NSView) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AutoFlex.swift:384:59: warning: main actor-isolated property 'lastBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
382 | relation.constraint(for: view.lastBaselineAnchor, to: {
383 | switch anchor ?? view.superview {
384 | case let to as LayoutView: return to.lastBaselineAnchor
| `- warning: main actor-isolated property 'lastBaselineAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
385 | case let to as NSLayoutYAxisAnchor: return to
386 | default: fatalError("Can Only be `LayoutView` or `NSLayoutYAxisAnchor`")
AppKit.NSView:25:14: note: property declared here
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
24 | @available(macOS 10.11, *)
25 | open var lastBaselineAnchor: NSLayoutYAxisAnchor { get }
| `- note: property declared here
26 | @available(macOS 10.7, *)
27 | open var constraints: [NSLayoutConstraint] { get }
Build complete! (9.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AutoFlex",
"name" : "AutoFlex",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AutoFlex",
"targets" : [
"AutoFlex"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AutoFlex",
"module_type" : "SwiftTarget",
"name" : "AutoFlex",
"path" : "Sources",
"product_memberships" : [
"AutoFlex"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AutoFlex.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.