Build Information
Successful build of FixFlex, reference 1.3.0 (15241f), with Swift 6.1 for macOS (SPM) on 22 Dec 2025 23:27:27 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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/psharanda/FixFlex.git
Reference: 1.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/psharanda/FixFlex
* tag 1.3.0 -> FETCH_HEAD
HEAD is now at 15241ff Update README.md
Cloned https://github.com/psharanda/FixFlex.git
Revision (git rev-parse @):
15241ffee7f95092967b29883748890ea15658e0
SUCCESS checkout https://github.com/psharanda/FixFlex.git at 1.3.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/psharanda/FixFlex.git
https://github.com/psharanda/FixFlex.git
{
"dependencies" : [
],
"manifest_display_name" : "FixFlex",
"name" : "FixFlex",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "FixFlex",
"targets" : [
"FixFlex"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FixFlexTests",
"module_type" : "SwiftTarget",
"name" : "FixFlexTests",
"path" : "Tests/FixFlexTests",
"sources" : [
"FixFlexTests.swift"
],
"target_dependencies" : [
"FixFlex"
],
"type" : "test"
},
{
"c99name" : "FixFlex",
"module_type" : "SwiftTarget",
"name" : "FixFlex",
"path" : "Sources",
"product_memberships" : [
"FixFlex"
],
"sources" : [
"FixFlex.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/4] Compiling FixFlex FixFlex.swift
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:596:56: warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
592 | }
593 |
594 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
595 | return AxisAnchors<NSLayoutXAxisAnchor>(
596 | startAnchor: useAbsolutePositioning ? view.leftAnchor : view.leadingAnchor,
| `- warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
597 | dimensionAnchor: view.widthAnchor,
598 | endAnchor: useAbsolutePositioning ? view.rightAnchor : 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:226:51: note: property declared here
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
| `- 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));
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:596:74: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
592 | }
593 |
594 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
595 | return AxisAnchors<NSLayoutXAxisAnchor>(
596 | startAnchor: useAbsolutePositioning ? view.leftAnchor : 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
597 | dimensionAnchor: view.widthAnchor,
598 | endAnchor: useAbsolutePositioning ? view.rightAnchor : 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: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/FixFlex.swift:597:35: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
592 | }
593 |
594 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
595 | return AxisAnchors<NSLayoutXAxisAnchor>(
596 | startAnchor: useAbsolutePositioning ? view.leftAnchor : view.leadingAnchor,
597 | dimensionAnchor: 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
598 | endAnchor: useAbsolutePositioning ? view.rightAnchor : view.trailingAnchor
599 | )
/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/FixFlex.swift:598:54: warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
592 | }
593 |
594 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
595 | return AxisAnchors<NSLayoutXAxisAnchor>(
596 | startAnchor: useAbsolutePositioning ? view.leftAnchor : view.leadingAnchor,
597 | dimensionAnchor: view.widthAnchor,
598 | endAnchor: useAbsolutePositioning ? view.rightAnchor : view.trailingAnchor
| `- warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
599 | )
600 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:227:51: 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));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
| `- 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));
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:598:73: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
592 | }
593 |
594 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
595 | return AxisAnchors<NSLayoutXAxisAnchor>(
596 | startAnchor: useAbsolutePositioning ? view.leftAnchor : view.leadingAnchor,
597 | dimensionAnchor: view.widthAnchor,
598 | endAnchor: useAbsolutePositioning ? view.rightAnchor : 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
599 | )
600 | }
/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/FixFlex.swift:611:14: warning: call to main actor-isolated instance method 'setContentHuggingPriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
608 | }
609 |
610 | func setContentHuggingPriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentHuggingPriority(for:layoutPriority:)' part of global actor 'MainActor'
611 | view.setContentHuggingPriority(layoutPriority, for: .horizontal)
| `- warning: call to main actor-isolated instance method 'setContentHuggingPriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
612 | }
613 |
AppKit.NSView.setContentHuggingPriority:3:24: note: calls to instance method 'setContentHuggingPriority(_:for:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func setContentHuggingPriority(_ priority: NSLayoutConstraint.Priority, for orientation: NSLayoutConstraint.Orientation)}
| |- note: calls to instance method 'setContentHuggingPriority(_:for:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:615:14: warning: call to main actor-isolated instance method 'setContentCompressionResistancePriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
612 | }
613 |
614 | func setContentCompressionResistancePriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentCompressionResistancePriority(for:layoutPriority:)' part of global actor 'MainActor'
615 | view.setContentCompressionResistancePriority(layoutPriority, for: .horizontal)
| `- warning: call to main actor-isolated instance method 'setContentCompressionResistancePriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
616 | }
617 | }
AppKit.NSView.setContentCompressionResistancePriority:3:24: note: calls to instance method 'setContentCompressionResistancePriority(_:for:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func setContentCompressionResistancePriority(_ priority: NSLayoutConstraint.Priority, for orientation: NSLayoutConstraint.Orientation)}
| |- note: calls to instance method 'setContentCompressionResistancePriority(_:for:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:623:67: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
620 | typealias AnchorType = NSLayoutYAxisAnchor
621 |
622 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutYAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
623 | return AxisAnchors<NSLayoutYAxisAnchor>(startAnchor: 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
624 | dimensionAnchor: view.heightAnchor,
625 | endAnchor: view.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: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/FixFlex.swift:624:71: warning: main actor-isolated property 'heightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
620 | typealias AnchorType = NSLayoutYAxisAnchor
621 |
622 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutYAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
623 | return AxisAnchors<NSLayoutYAxisAnchor>(startAnchor: view.topAnchor,
624 | dimensionAnchor: 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
625 | endAnchor: view.bottomAnchor)
626 | }
/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/FixFlex.swift:625:65: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
620 | typealias AnchorType = NSLayoutYAxisAnchor
621 |
622 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutYAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
623 | return AxisAnchors<NSLayoutYAxisAnchor>(startAnchor: view.topAnchor,
624 | dimensionAnchor: view.heightAnchor,
625 | endAnchor: 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
626 | }
627 |
/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/FixFlex.swift:635:14: warning: call to main actor-isolated instance method 'setContentHuggingPriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
632 | }
633 |
634 | func setContentHuggingPriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentHuggingPriority(for:layoutPriority:)' part of global actor 'MainActor'
635 | view.setContentHuggingPriority(layoutPriority, for: .vertical)
| `- warning: call to main actor-isolated instance method 'setContentHuggingPriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
636 | }
637 |
AppKit.NSView.setContentHuggingPriority:3:24: note: calls to instance method 'setContentHuggingPriority(_:for:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func setContentHuggingPriority(_ priority: NSLayoutConstraint.Priority, for orientation: NSLayoutConstraint.Orientation)}
| |- note: calls to instance method 'setContentHuggingPriority(_:for:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:639:14: warning: call to main actor-isolated instance method 'setContentCompressionResistancePriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
636 | }
637 |
638 | func setContentCompressionResistancePriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentCompressionResistancePriority(for:layoutPriority:)' part of global actor 'MainActor'
639 | view.setContentCompressionResistancePriority(layoutPriority, for: .vertical)
| `- warning: call to main actor-isolated instance method 'setContentCompressionResistancePriority(_:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
640 | }
641 | }
AppKit.NSView.setContentCompressionResistancePriority:3:24: note: calls to instance method 'setContentCompressionResistancePriority(_:for:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func setContentCompressionResistancePriority(_ priority: NSLayoutConstraint.Priority, for orientation: NSLayoutConstraint.Orientation)}
| |- note: calls to instance method 'setContentCompressionResistancePriority(_:for:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:695:26: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
650 |
651 | public extension FixFlexing {
652 | private func _stack<AnchorType: AnyObject, AxisAnchorsBuilderType: AxisAnchorsBuilder>(
| `- note: add '@MainActor' to make instance method '_stack(startAnchor:startOffset:endAnchor:endOffset:axisName:builder:intents:)' part of global actor 'MainActor'
653 | startAnchor: NSLayoutAnchor<AnchorType>,
654 | startOffset: CGFloat?,
:
693 | if let views = intent.views, views.count > 0 {
694 | for view in views {
695 | 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
696 | }
697 |
/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/FixFlex.swift:704:22: warning: call to main actor-isolated instance method 'addLayoutGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
650 |
651 | public extension FixFlexing {
652 | private func _stack<AnchorType: AnyObject, AxisAnchorsBuilderType: AxisAnchorsBuilder>(
| `- note: add '@MainActor' to make instance method '_stack(startAnchor:startOffset:endAnchor:endOffset:axisName:builder:intents:)' part of global actor 'MainActor'
653 | startAnchor: NSLayoutAnchor<AnchorType>,
654 | startOffset: CGFloat?,
:
702 | let layoutGuide = _LayoutGuide()
703 | layoutGuides.append(layoutGuide)
704 | base.addLayoutGuide(layoutGuide)
| `- warning: call to main actor-isolated instance method 'addLayoutGuide' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
705 | intent.onCreateLayoutGuide?(layoutGuide)
706 | axisAnchorsList = [builder.anchorsForLayoutGuide(layoutGuide)]
AppKit.NSView.addLayoutGuide:3:24: note: calls to instance method 'addLayoutGuide' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor open func addLayoutGuide(_ guide: NSLayoutGuide)}
| |- note: calls to instance method 'addLayoutGuide' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:861:72: warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
859 | ) -> StackingResult {
860 | return _stack(
861 | startAnchor: startAnchor ?? (useAbsolutePositioning ? base.leftAnchor : base.leadingAnchor),
| `- warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
862 | startOffset: startOffset,
863 | endAnchor: endAnchor ?? (useAbsolutePositioning ? base.rightAnchor : base.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:226:51: note: property declared here
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
226 | @property (readonly, strong) NSLayoutXAxisAnchor *leftAnchor API_AVAILABLE(macos(10.11));
| `- 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));
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:861:90: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
859 | ) -> StackingResult {
860 | return _stack(
861 | startAnchor: startAnchor ?? (useAbsolutePositioning ? base.leftAnchor : base.leadingAnchor),
| `- warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
862 | startOffset: startOffset,
863 | endAnchor: endAnchor ?? (useAbsolutePositioning ? base.rightAnchor : base.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: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/FixFlex.swift:863:68: warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
861 | startAnchor: startAnchor ?? (useAbsolutePositioning ? base.leftAnchor : base.leadingAnchor),
862 | startOffset: startOffset,
863 | endAnchor: endAnchor ?? (useAbsolutePositioning ? base.rightAnchor : base.trailingAnchor),
| `- warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
864 | endOffset: endOffset,
865 | axisName: "hstack",
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:227:51: 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));
227 | @property (readonly, strong) NSLayoutXAxisAnchor *rightAnchor API_AVAILABLE(macos(10.11));
| `- 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));
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:863:87: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
861 | startAnchor: startAnchor ?? (useAbsolutePositioning ? base.leftAnchor : base.leadingAnchor),
862 | startOffset: startOffset,
863 | endAnchor: endAnchor ?? (useAbsolutePositioning ? base.rightAnchor : base.trailingAnchor),
| `- warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
864 | endOffset: endOffset,
865 | axisName: "hstack",
/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/FixFlex.swift:918:46: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
916 | ) -> StackingResult {
917 | return _stack(
918 | startAnchor: startAnchor ?? base.topAnchor,
| `- warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
919 | startOffset: startOffset,
920 | endAnchor: endAnchor ?? base.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: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/FixFlex.swift:920:42: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
918 | startAnchor: startAnchor ?? base.topAnchor,
919 | startOffset: startOffset,
920 | endAnchor: endAnchor ?? base.bottomAnchor,
| `- warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
921 | endOffset: endOffset,
922 | axisName: "vstack",
/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/FixFlex.swift:704:22: warning: sending 'layoutGuide' risks causing data races; this is an error in the Swift 6 language mode
702 | let layoutGuide = _LayoutGuide()
703 | layoutGuides.append(layoutGuide)
704 | base.addLayoutGuide(layoutGuide)
| |- warning: sending 'layoutGuide' risks causing data races; this is an error in the Swift 6 language mode
| |- note: sending 'layoutGuide' to main actor-isolated instance method 'addLayoutGuide' risks causing data races between main actor-isolated and local nonisolated uses
| `- note: access can happen concurrently
705 | intent.onCreateLayoutGuide?(layoutGuide)
706 | axisAnchorsList = [builder.anchorsForLayoutGuide(layoutGuide)]
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:704:22: warning: sending 'layoutGuide' risks causing data races; this is an error in the Swift 6 language mode
702 | let layoutGuide = _LayoutGuide()
703 | layoutGuides.append(layoutGuide)
704 | base.addLayoutGuide(layoutGuide)
| |- warning: sending 'layoutGuide' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'layoutGuide' to main actor-isolated instance method 'addLayoutGuide' risks causing data races between main actor-isolated and task-isolated uses
705 | intent.onCreateLayoutGuide?(layoutGuide)
706 | axisAnchorsList = [builder.anchorsForLayoutGuide(layoutGuide)]
[4/4] Emitting module FixFlex
Build complete! (6.43s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FixFlex",
"name" : "FixFlex",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "FixFlex",
"targets" : [
"FixFlex"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FixFlexTests",
"module_type" : "SwiftTarget",
"name" : "FixFlexTests",
"path" : "Tests/FixFlexTests",
"sources" : [
"FixFlexTests.swift"
],
"target_dependencies" : [
"FixFlex"
],
"type" : "test"
},
{
"c99name" : "FixFlex",
"module_type" : "SwiftTarget",
"name" : "FixFlex",
"path" : "Sources",
"product_memberships" : [
"FixFlex"
],
"sources" : [
"FixFlex.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.