Build Information
Successful build of FHConstraints with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/FelixHerrmann/FHConstraints.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/7] Compiling FHConstraints FHLayoutConstantType.swift
[4/7] Emitting module FHConstraints
AppKit.NSView:3:25: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/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: 'leadingAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:9: note: 'trailingAnchor' declared here
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:9: note: 'leftAnchor' declared here
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:9: note: 'rightAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:11:14: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:9: note: 'topAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'topAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:9: note: 'bottomAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:9: note: 'widthAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:9: note: 'heightAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- note: 'heightAnchor' declared here
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:9: note: 'centerXAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:9: note: 'centerYAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: '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 protocol requirement; 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 protocol requirement; 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 |
[5/7] Compiling FHConstraints FHLayoutAnchor.swift
[6/7] Compiling FHConstraints FHConvenienceAnchors.swift
[7/7] Compiling FHConstraints FHLayoutItem.swift
AppKit.NSView:3:25: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/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: 'leadingAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | @MainActor open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:36:9: note: 'trailingAnchor' declared here
34 | public protocol FHLayoutItem {
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:37:9: note: 'leftAnchor' declared here
35 | var leadingAnchor: NSLayoutXAxisAnchor { get }
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:38:9: note: 'rightAnchor' declared here
36 | var trailingAnchor: NSLayoutXAxisAnchor { get }
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:11:14: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:39:9: note: 'topAnchor' declared here
37 | var leftAnchor: NSLayoutXAxisAnchor { get }
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'topAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:40:9: note: 'bottomAnchor' declared here
38 | var rightAnchor: NSLayoutXAxisAnchor { get }
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:41:9: note: 'widthAnchor' declared here
39 | var topAnchor: NSLayoutYAxisAnchor { get }
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:42:9: note: 'heightAnchor' declared here
40 | var bottomAnchor: NSLayoutYAxisAnchor { get }
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
| `- note: 'heightAnchor' declared here
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:43:9: note: 'centerXAnchor' declared here
41 | var widthAnchor: NSLayoutDimension { get }
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
45 |
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/Sources/FHConstraints/FHLayoutItem.swift:44:9: note: 'centerYAnchor' declared here
42 | var heightAnchor: NSLayoutDimension { get }
43 | var centerXAnchor: NSLayoutXAxisAnchor { get }
44 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: '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 protocol requirement; 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 protocol requirement; 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! (23.26s)
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.