Build Information
Successful build of FixFlex, reference 1.2.3 (4ad9e6
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 02:54:26 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/psharanda/FixFlex.git
Reference: 1.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/psharanda/FixFlex
* tag 1.2.3 -> FETCH_HEAD
HEAD is now at 4ad9e61 Add cocoapods support
Cloned https://github.com/psharanda/FixFlex.git
Revision (git rev-parse @):
4ad9e61d0db00e0ad6892356617ec5b347d17ea3
SUCCESS checkout https://github.com/psharanda/FixFlex.git at 1.2.3
========================================
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": "fixflex",
"name": "FixFlex",
"url": "https://github.com/psharanda/FixFlex.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FixFlex",
"dependencies": [
]
}
]
}
Fetching https://github.com/psharanda/FixFlex.git
[1/491] Fetching fixflex
Fetched https://github.com/psharanda/FixFlex.git from cache (1.08s)
Creating working copy for https://github.com/psharanda/FixFlex.git
Working copy of https://github.com/psharanda/FixFlex.git resolved at 1.2.3 (4ad9e61)
warning: '.resolve-product-dependencies': dependency 'fixflex' 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/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:130:92: warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
127 | }
128 |
129 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
130 | return AxisAnchors<NSLayoutXAxisAnchor>(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
131 | dimensionAnchor: view.widthAnchor,
132 | 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:130:110: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
127 | }
128 |
129 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
130 | return AxisAnchors<NSLayoutXAxisAnchor>(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
131 | dimensionAnchor: view.widthAnchor,
132 | 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:131:71: warning: main actor-isolated property 'widthAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
127 | }
128 |
129 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
130 | return AxisAnchors<NSLayoutXAxisAnchor>(startAnchor: useAbsolutePositioning ? view.leftAnchor : view.leadingAnchor,
131 | 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
132 | endAnchor: useAbsolutePositioning ? view.rightAnchor : view.trailingAnchor)
133 | }
/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:132:90: warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
127 | }
128 |
129 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
130 | return AxisAnchors<NSLayoutXAxisAnchor>(startAnchor: useAbsolutePositioning ? view.leftAnchor : view.leadingAnchor,
131 | dimensionAnchor: view.widthAnchor,
132 | 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
133 | }
134 |
/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:132:109: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
127 | }
128 |
129 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutXAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
130 | return AxisAnchors<NSLayoutXAxisAnchor>(startAnchor: useAbsolutePositioning ? view.leftAnchor : view.leadingAnchor,
131 | dimensionAnchor: view.widthAnchor,
132 | 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
133 | }
134 |
/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:142: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
139 | }
140 |
141 | func setContentHuggingPriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentHuggingPriority(for:layoutPriority:)' part of global actor 'MainActor'
142 | 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
143 | }
144 |
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:146: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
143 | }
144 |
145 | func setContentCompressionResistancePriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentCompressionResistancePriority(for:layoutPriority:)' part of global actor 'MainActor'
146 | 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
147 | }
148 | }
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:154: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
151 | typealias AnchorType = NSLayoutYAxisAnchor
152 |
153 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutYAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
154 | 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
155 | dimensionAnchor: view.heightAnchor,
156 | 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:155: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
151 | typealias AnchorType = NSLayoutYAxisAnchor
152 |
153 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutYAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
154 | return AxisAnchors<NSLayoutYAxisAnchor>(startAnchor: view.topAnchor,
155 | 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
156 | endAnchor: view.bottomAnchor)
157 | }
/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:156: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
151 | typealias AnchorType = NSLayoutYAxisAnchor
152 |
153 | func anchorsForView(_ view: _View) -> AxisAnchors<NSLayoutYAxisAnchor> {
| `- note: add '@MainActor' to make instance method 'anchorsForView' part of global actor 'MainActor'
154 | return AxisAnchors<NSLayoutYAxisAnchor>(startAnchor: view.topAnchor,
155 | dimensionAnchor: view.heightAnchor,
156 | 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
157 | }
158 |
/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:166: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
163 | }
164 |
165 | func setContentHuggingPriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentHuggingPriority(for:layoutPriority:)' part of global actor 'MainActor'
166 | 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
167 | }
168 |
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:170: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
167 | }
168 |
169 | func setContentCompressionResistancePriority(for view: _View, layoutPriority: _LayoutPriority) {
| `- note: add '@MainActor' to make instance method 'setContentCompressionResistancePriority(for:layoutPriority:)' part of global actor 'MainActor'
170 | 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
171 | }
172 | }
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:203: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
178 |
179 | public extension FixFlexing {
180 | private func _stack<AnchorType: AnyObject, AxisAnchorsBuilderType: AxisAnchorsBuilder>(
| `- note: add '@MainActor' to make instance method '_stack(startAnchor:startOffset:endAnchor:endOffset:builder:intents:)' part of global actor 'MainActor'
181 | startAnchor: NSLayoutAnchor<AnchorType>,
182 | startOffset: CGFloat,
:
201 | if let views = intent.views, views.count > 0 {
202 | for view in views {
203 | 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
204 | }
205 |
/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:212: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
178 |
179 | public extension FixFlexing {
180 | private func _stack<AnchorType: AnyObject, AxisAnchorsBuilderType: AxisAnchorsBuilder>(
| `- note: add '@MainActor' to make instance method '_stack(startAnchor:startOffset:endAnchor:endOffset:builder:intents:)' part of global actor 'MainActor'
181 | startAnchor: NSLayoutAnchor<AnchorType>,
182 | startOffset: CGFloat,
:
210 | let layoutGuide = _LayoutGuide()
211 | layoutGuides.append(layoutGuide)
212 | 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
213 | aas = [builder.anchorsForLayoutGuide(layoutGuide)]
214 | }
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:289:82: warning: main actor-isolated property 'leftAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
287 | _ intents: [SizingIntent]
288 | ) -> StackingResult {
289 | return _stack(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
290 | startOffset: startOffset,
291 | 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:289:100: warning: main actor-isolated property 'leadingAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
287 | _ intents: [SizingIntent]
288 | ) -> StackingResult {
289 | return _stack(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
290 | startOffset: startOffset,
291 | 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:291:78: warning: main actor-isolated property 'rightAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
289 | return _stack(startAnchor: startAnchor ?? (useAbsolutePositioning ? base.leftAnchor : base.leadingAnchor),
290 | startOffset: startOffset,
291 | 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
292 | endOffset: endOffset,
293 | builder: XAxisAnchorsBuilder(useAbsolutePositioning: useAbsolutePositioning),
/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:291:97: warning: main actor-isolated property 'trailingAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
289 | return _stack(startAnchor: startAnchor ?? (useAbsolutePositioning ? base.leftAnchor : base.leadingAnchor),
290 | startOffset: startOffset,
291 | 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
292 | endOffset: endOffset,
293 | builder: XAxisAnchorsBuilder(useAbsolutePositioning: useAbsolutePositioning),
/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:322:56: warning: main actor-isolated property 'topAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
320 | _ intents: [SizingIntent]
321 | ) -> StackingResult {
322 | return _stack(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
323 | startOffset: startOffset,
324 | 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:324:52: warning: main actor-isolated property 'bottomAnchor' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
322 | return _stack(startAnchor: startAnchor ?? base.topAnchor,
323 | startOffset: startOffset,
324 | 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
325 | endOffset: endOffset,
326 | builder: YAxisAnchorsBuilder(),
/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:212:22: warning: sending 'layoutGuide' risks causing data races; this is an error in the Swift 6 language mode
210 | let layoutGuide = _LayoutGuide()
211 | layoutGuides.append(layoutGuide)
212 | 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
213 | aas = [builder.anchorsForLayoutGuide(layoutGuide)]
214 | }
/Users/admin/builder/spi-builder-workspace/Sources/FixFlex.swift:212:22: warning: sending 'layoutGuide' risks causing data races; this is an error in the Swift 6 language mode
210 | let layoutGuide = _LayoutGuide()
211 | layoutGuides.append(layoutGuide)
212 | 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
213 | aas = [builder.anchorsForLayoutGuide(layoutGuide)]
214 | }
[4/4] Emitting module FixFlex
Build complete! (6.49s)
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.