Build Information
Successful build of AutoFlex, reference 0.3.6 (adfc04
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:56:43 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
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.74s)
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.1
Building package at path: $PWD
https://github.com/liam-i/AutoFlex.git
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.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:228:51: note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:229:51: note: property declared here
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:224:51: note: property declared here
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:225:51: note: property declared here
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:232:51: note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:233:51: note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:230:49: note: property declared here
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:231:49: note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
/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 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:234:51: note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
236 |
/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:235:51: note: property declared here
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
236 |
237 | @property (readonly, copy) NSArray<NSLayoutConstraint *> *constraints API_AVAILABLE(macos(10.7)); // This property is deprecated and should be avoided. Instead, create IB outlets or otherwise maintain references to constraints you need to reference directly.
/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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:567:44: note: property declared here
565 |
566 | /* This layout guide reflects the safe area for this view (i.e., the frame minus safeAreaInsets), and provides a convenient way to arrange content relative to the safe area using auto layout. */
567 | @property(readonly, strong) NSLayoutGuide *safeAreaLayoutGuide API_AVAILABLE(macos(11.0));
| `- note: property declared here
568 |
569 | /* The safe area for this view expressed as a rectangle in the view's coordinate space. */
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:228:51: note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:228:51: note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:229:51: note: property declared here
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:229:51: note: property declared here
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:224:51: note: property declared here
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:224:51: note: property declared here
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:225:51: note: property declared here
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:225:51: note: property declared here
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:232:51: note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:232:51: note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:233:51: note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:233:51: note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:230:49: note: property declared here
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:230:49: note: property declared here
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:231:49: note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:231:49: note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
/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),
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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),
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:228:51: note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
/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),
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:228:51: note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
/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)]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:229:51: note: property declared here
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
/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)]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:229:51: note: property declared here
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
/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:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:224:51: note: property declared here
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
/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:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:224:51: note: property declared here
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
/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),
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:225:51: note: property declared here
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
/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),
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:225:51: note: property declared here
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
/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),
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:228:51: note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
/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)]
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:229:51: note: property declared here
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
/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:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:224:51: note: property declared here
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
/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`")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:225:51: note: property declared here
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
/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 {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:230:49: note: property declared here
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
/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:
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:231:49: note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:230:49: note: property declared here
228 | @property (readonly, strong) NSLayoutYAxisAnchor *topAnchor API_AVAILABLE(macos(10.11));
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
/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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:231:49: note: property declared here
229 | @property (readonly, strong) NSLayoutYAxisAnchor *bottomAnchor API_AVAILABLE(macos(10.11));
230 | @property (readonly, strong) NSLayoutDimension *widthAnchor API_AVAILABLE(macos(10.11));
231 | @property (readonly, strong) NSLayoutDimension *heightAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:234:51: note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
236 |
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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`")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:234:51: note: property declared here
232 | @property (readonly, strong) NSLayoutXAxisAnchor *centerXAnchor API_AVAILABLE(macos(10.11));
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
236 |
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:235:51: note: property declared here
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
236 |
237 | @property (readonly, copy) NSArray<NSLayoutConstraint *> *constraints API_AVAILABLE(macos(10.7)); // This property is deprecated and should be avoided. Instead, create IB outlets or otherwise maintain references to constraints you need to reference directly.
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/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`")
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:235:51: note: property declared here
233 | @property (readonly, strong) NSLayoutYAxisAnchor *centerYAnchor API_AVAILABLE(macos(10.11));
234 | @property (readonly, strong) NSLayoutYAxisAnchor *firstBaselineAnchor API_AVAILABLE(macos(10.11));
235 | @property (readonly, strong) NSLayoutYAxisAnchor *lastBaselineAnchor API_AVAILABLE(macos(10.11));
| `- note: property declared here
236 |
237 | @property (readonly, copy) NSArray<NSLayoutConstraint *> *constraints API_AVAILABLE(macos(10.7)); // This property is deprecated and should be avoided. Instead, create IB outlets or otherwise maintain references to constraints you need to reference directly.
[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 resource_bundle_accessor.swift
Build complete! (6.84s)
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.