Build Information
Successful build of FHConstraints, reference master (72febb
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 14:22:31 UTC.
Swift 6 data race errors: 11
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/FelixHerrmann/FHConstraints.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FelixHerrmann/FHConstraints
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 72febbb fixed macOS destination
Cloned https://github.com/FelixHerrmann/FHConstraints.git
Revision (git rev-parse @):
72febbbe2f8042414cfec30e4fbdcdc454616606
SUCCESS checkout https://github.com/FelixHerrmann/FHConstraints.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "fhconstraints",
"name": "FHConstraints",
"url": "https://github.com/FelixHerrmann/FHConstraints.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FHConstraints",
"dependencies": [
]
}
]
}
Fetching https://github.com/FelixHerrmann/FHConstraints.git
[1/201] Fetching fhconstraints
Fetched https://github.com/FelixHerrmann/FHConstraints.git from cache (0.57s)
Creating working copy for https://github.com/FelixHerrmann/FHConstraints.git
Working copy of https://github.com/FelixHerrmann/FHConstraints.git resolved at master (72febbb)
warning: '.resolve-product-dependencies': dependency 'fhconstraints' 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/FelixHerrmann/FHConstraints.git
https://github.com/FelixHerrmann/FHConstraints.git
{
"dependencies" : [
],
"manifest_display_name" : "FHConstraints",
"name" : "FHConstraints",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "FHConstraints",
"targets" : [
"FHConstraints"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FHConstraintsTests",
"module_type" : "SwiftTarget",
"name" : "FHConstraintsTests",
"path" : "Tests/FHConstraintsTests",
"sources" : [
"FHConstraintsTests.swift"
],
"target_dependencies" : [
"FHConstraints"
],
"type" : "test"
},
{
"c99name" : "FHConstraints",
"module_type" : "SwiftTarget",
"name" : "FHConstraints",
"path" : "Sources/FHConstraints",
"product_memberships" : [
"FHConstraints"
],
"sources" : [
"FHConvenienceAnchors.swift",
"FHLayoutAnchor.swift",
"FHLayoutConstantType.swift",
"FHLayoutItem.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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/7] Compiling FHConstraints FHLayoutConstantType.swift
[4/7] Compiling FHConstraints FHLayoutAnchor.swift
[5/7] Compiling FHConstraints FHConvenienceAnchors.swift
[6/7] Compiling FHConstraints FHLayoutItem.swift
/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: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:21:19: note: add '@preconcurrency' to the 'FHLayoutItem' conformance to defer isolation checking to run time
19 | public typealias EdgeInsets = NSEdgeInsets
20 |
21 | extension NSView: FHLayoutItem {
| `- note: add '@preconcurrency' to the 'FHLayoutItem' conformance to defer isolation checking to run time
22 | public func enableAutoLayout() {
23 | translatesAutoresizingMaskIntoConstraints = false
:
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leadingAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/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: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:36:9: note: requirement 'trailingAnchor' declared here
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'trailingAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/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: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:37:9: note: requirement 'leftAnchor' declared here
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leftAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/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: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:38:9: note: requirement 'rightAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'rightAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/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: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:39:9: note: requirement 'topAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'topAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/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: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:40:9: note: requirement 'bottomAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'bottomAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/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: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:41:9: note: requirement 'widthAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- note: requirement 'widthAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/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: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:42:9: note: requirement 'heightAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- note: requirement 'heightAnchor' declared here
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/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: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:43:9: note: requirement 'centerXAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'centerXAnchor' declared here
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/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: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:44:9: note: requirement 'centerYAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'centerYAnchor' declared here
45 |
46 | /// Enable AutoLayout on `Self`.
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:22:17: warning: main actor-isolated instance method 'enableAutoLayout()' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
20 |
21 | extension NSView: FHLayoutItem {
22 | public func enableAutoLayout() {
| |- warning: main actor-isolated instance method 'enableAutoLayout()' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'enableAutoLayout()' to make this instance method not isolated to the actor
23 | translatesAutoresizingMaskIntoConstraints = false
24 | }
:
45 |
46 | /// Enable AutoLayout on `Self`.
47 | func enableAutoLayout()
| `- note: mark the protocol requirement 'enableAutoLayout()' 'async' to allow actor-isolated conformances
48 | }
49 |
[7/7] Emitting module FHConstraints
/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: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
222 | See NSLayoutAnchor.h for more details.
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:21:19: note: add '@preconcurrency' to the 'FHLayoutItem' conformance to defer isolation checking to run time
19 | public typealias EdgeInsets = NSEdgeInsets
20 |
21 | extension NSView: FHLayoutItem {
| `- note: add '@preconcurrency' to the 'FHLayoutItem' conformance to defer isolation checking to run time
22 | public func enableAutoLayout() {
23 | translatesAutoresizingMaskIntoConstraints = false
:
33 | /// FHAutoLayout protocol
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leadingAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
/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: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
223 | */
224 | @property (readonly, strong) NSLayoutXAxisAnchor *leadingAnchor API_AVAILABLE(macos(10.11));
225 | @property (readonly, strong) NSLayoutXAxisAnchor *trailingAnchor API_AVAILABLE(macos(10.11));
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:36:9: note: requirement 'trailingAnchor' declared here
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'trailingAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
/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: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:37:9: note: requirement 'leftAnchor' declared here
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leftAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
/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: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:38:9: note: requirement 'rightAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'rightAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
/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: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:39:9: note: requirement 'topAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'topAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
/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: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:40:9: note: requirement 'bottomAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'bottomAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
/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: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:41:9: note: requirement 'widthAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- note: requirement 'widthAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
/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: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:42:9: note: requirement 'heightAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- note: requirement 'heightAnchor' declared here
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
/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: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:43:9: note: requirement 'centerXAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'centerXAnchor' declared here
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
/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: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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));
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
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/FHConstraints/FHLayoutItem.swift:44:9: note: requirement 'centerYAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'centerYAnchor' declared here
45 |
46 | /// Enable AutoLayout on `Self`.
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:22:17: warning: main actor-isolated instance method 'enableAutoLayout()' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
20 |
21 | extension NSView: FHLayoutItem {
22 | public func enableAutoLayout() {
| |- warning: main actor-isolated instance method 'enableAutoLayout()' cannot be used to satisfy nonisolated requirement from protocol 'FHLayoutItem'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'enableAutoLayout()' to make this instance method not isolated to the actor
23 | translatesAutoresizingMaskIntoConstraints = false
24 | }
:
45 |
46 | /// Enable AutoLayout on `Self`.
47 | func enableAutoLayout()
| `- note: mark the protocol requirement 'enableAutoLayout()' 'async' to allow actor-isolated conformances
48 | }
49 |
Build complete! (7.41s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FHConstraints",
"name" : "FHConstraints",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "FHConstraints",
"targets" : [
"FHConstraints"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FHConstraintsTests",
"module_type" : "SwiftTarget",
"name" : "FHConstraintsTests",
"path" : "Tests/FHConstraintsTests",
"sources" : [
"FHConstraintsTests.swift"
],
"target_dependencies" : [
"FHConstraints"
],
"type" : "test"
},
{
"c99name" : "FHConstraints",
"module_type" : "SwiftTarget",
"name" : "FHConstraints",
"path" : "Sources/FHConstraints",
"product_memberships" : [
"FHConstraints"
],
"sources" : [
"FHConvenienceAnchors.swift",
"FHLayoutAnchor.swift",
"FHLayoutConstantType.swift",
"FHLayoutItem.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.