Build Information
Successful build of Anchorage, reference 4.5.0 (23a6dd
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 04:12:38 UTC.
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Rightpoint/Anchorage.git
Reference: 4.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Rightpoint/Anchorage
* tag 4.5.0 -> FETCH_HEAD
HEAD is now at 23a6dd0 Merge pull request #93 from Rightpoint/feature/colejd/add-custom-operators
Cloned https://github.com/Rightpoint/Anchorage.git
Revision (git rev-parse @):
23a6dd0ccf9529d2750d8679a2e74a161cff2f16
SUCCESS checkout https://github.com/Rightpoint/Anchorage.git at 4.5.0
========================================
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": "anchorage",
"name": "Anchorage",
"url": "https://github.com/Rightpoint/Anchorage.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Anchorage",
"dependencies": [
]
}
]
}
Fetching https://github.com/Rightpoint/Anchorage.git
[1/1569] Fetching anchorage
Fetched https://github.com/Rightpoint/Anchorage.git from cache (0.98s)
Creating working copy for https://github.com/Rightpoint/Anchorage.git
Working copy of https://github.com/Rightpoint/Anchorage.git resolved at 4.5.0 (23a6dd0)
warning: '.resolve-product-dependencies': dependency 'anchorage' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Rightpoint/Anchorage.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/9] Compiling Anchorage NSLayoutAnchor+MultiplierConstraints.swift
[4/9] Compiling Anchorage Priority.swift
[5/9] Compiling Anchorage Internal.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:280:16: warning: static property 'equality' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
272 | // MARK: - ConstraintBuilder
273 |
274 | internal struct ConstraintBuilder {
| `- note: consider making struct 'ConstraintBuilder' conform to the 'Sendable' protocol
275 |
276 | typealias Horizontal = (NSLayoutXAxisAnchor, LayoutExpression<NSLayoutXAxisAnchor, CGFloat>) -> NSLayoutConstraint
:
278 | typealias Dimension = (NSLayoutDimension, LayoutExpression<NSLayoutDimension, CGFloat>) -> NSLayoutConstraint
279 |
280 | static let equality = ConstraintBuilder(horizontal: ==, vertical: ==, dimension: ==)
| |- warning: static property 'equality' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equality' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
281 | static let lessThanOrEqual = ConstraintBuilder(leading: <=, top: <=, trailing: >=, bottom: >=, centerX: <=, centerY: <=, dimension: <=)
282 | static let greaterThanOrEqual = ConstraintBuilder(leading: >=, top: >=, trailing: <=, bottom: <=, centerX: >=, centerY: >=, dimension: >=)
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:281:16: warning: static property 'lessThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
272 | // MARK: - ConstraintBuilder
273 |
274 | internal struct ConstraintBuilder {
| `- note: consider making struct 'ConstraintBuilder' conform to the 'Sendable' protocol
275 |
276 | typealias Horizontal = (NSLayoutXAxisAnchor, LayoutExpression<NSLayoutXAxisAnchor, CGFloat>) -> NSLayoutConstraint
:
279 |
280 | static let equality = ConstraintBuilder(horizontal: ==, vertical: ==, dimension: ==)
281 | static let lessThanOrEqual = ConstraintBuilder(leading: <=, top: <=, trailing: >=, bottom: >=, centerX: <=, centerY: <=, dimension: <=)
| |- warning: static property 'lessThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThanOrEqual' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 | static let greaterThanOrEqual = ConstraintBuilder(leading: >=, top: >=, trailing: <=, bottom: <=, centerX: >=, centerY: >=, dimension: >=)
283 |
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:282:16: warning: static property 'greaterThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
272 | // MARK: - ConstraintBuilder
273 |
274 | internal struct ConstraintBuilder {
| `- note: consider making struct 'ConstraintBuilder' conform to the 'Sendable' protocol
275 |
276 | typealias Horizontal = (NSLayoutXAxisAnchor, LayoutExpression<NSLayoutXAxisAnchor, CGFloat>) -> NSLayoutConstraint
:
280 | static let equality = ConstraintBuilder(horizontal: ==, vertical: ==, dimension: ==)
281 | static let lessThanOrEqual = ConstraintBuilder(leading: <=, top: <=, trailing: >=, bottom: >=, centerX: <=, centerY: <=, dimension: <=)
282 | static let greaterThanOrEqual = ConstraintBuilder(leading: >=, top: >=, trailing: <=, bottom: <=, centerX: >=, centerY: >=, dimension: >=)
| |- warning: static property 'greaterThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThanOrEqual' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | var topBuilder: Vertical
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:317:14: warning: var 'batches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
315 | // MARK: - Batching
316 |
317 | internal var batches: [ConstraintBatch] = []
| |- warning: var 'batches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'batches' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'batches' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 |
319 | internal class ConstraintBatch {
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:351:15: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
346 | // MARK: - Constraint Activation
347 |
348 | internal func finalize(constraint: NSLayoutConstraint, withPriority priority: Priority = .required) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make global function 'finalize(constraint:withPriority:)' part of global actor 'MainActor'
349 | // Only disable autoresizing constraints on the LHS item, which is the one definitely intended to be governed by Auto Layout
350 | if let first = constraint.firstItem as? View {
351 | first.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
352 | }
353 |
AppKit.NSView:3:25: note: mutation of this property is only permitted within the actor
1 | extension NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open var translatesAutoresizingMaskIntoConstraints: Bool { get set }
| `- note: mutation of this property is only permitted within the actor
4 | @available(macOS 10.7, *)
5 | open class var requiresConstraintBasedLayout: Bool { get }
[6/9] Compiling Anchorage Compatability.swift
[7/9] Compiling Anchorage AnchorGroupProvider.swift
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:54:16: warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
35 | public protocol AnchorGroupProvider {
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
| `- note: 'horizontalAnchors' declared here
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
:
50 | }
51 |
52 | extension View: AnchorGroupProvider {
| `- note: add '@preconcurrency' to the 'AnchorGroupProvider' conformance to defer isolation checking to run time
53 |
54 | public var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> {
| `- warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
55 | return AnchorPair(first: leadingAnchor, second: trailingAnchor)
56 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:58:16: warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'verticalAnchors' declared here
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
:
56 | }
57 |
58 | public var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
59 | return AnchorPair(first: topAnchor, second: bottomAnchor)
60 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:62:16: warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'centerAnchors' declared here
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
41 |
:
60 | }
61 |
62 | public var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
63 | return AnchorPair(first: centerXAnchor, second: centerYAnchor)
64 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:66:16: warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
| `- note: 'sizeAnchors' declared here
41 |
42 | }
:
64 | }
65 |
66 | public var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> {
| `- warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
67 | return AnchorPair(first: widthAnchor, second: heightAnchor)
68 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:75:16: warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
35 | public protocol AnchorGroupProvider {
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
| `- note: 'horizontalAnchors' declared here
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
:
70 | }
71 |
72 | extension ViewController: AnchorGroupProvider {
| `- note: add '@preconcurrency' to the 'AnchorGroupProvider' conformance to defer isolation checking to run time
73 |
74 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
75 | public var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> {
| `- warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
76 | return view.horizontalAnchors
77 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:80:16: warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'verticalAnchors' declared here
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
:
78 |
79 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
80 | public var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
81 | #if os(macOS)
82 | return view.verticalAnchors
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:89:16: warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'centerAnchors' declared here
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
41 |
:
87 |
88 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
89 | public var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
90 | return view.centerAnchors
91 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:94:16: warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
| `- note: 'sizeAnchors' declared here
41 |
42 | }
:
92 |
93 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
94 | public var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> {
| `- warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
95 | return view.sizeAnchors
96 | }
[8/9] Compiling Anchorage Anchorage.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:317:14: warning: var 'batches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
315 | // MARK: - Batching
316 |
317 | internal var batches: [ConstraintBatch] = []
| |- warning: var 'batches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'batches' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'batches' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 |
319 | internal class ConstraintBatch {
[9/9] Emitting module Anchorage
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:54:16: warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
35 | public protocol AnchorGroupProvider {
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
| `- note: 'horizontalAnchors' declared here
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
:
50 | }
51 |
52 | extension View: AnchorGroupProvider {
| `- note: add '@preconcurrency' to the 'AnchorGroupProvider' conformance to defer isolation checking to run time
53 |
54 | public var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> {
| `- warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
55 | return AnchorPair(first: leadingAnchor, second: trailingAnchor)
56 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:58:16: warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'verticalAnchors' declared here
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
:
56 | }
57 |
58 | public var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
59 | return AnchorPair(first: topAnchor, second: bottomAnchor)
60 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:62:16: warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'centerAnchors' declared here
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
41 |
:
60 | }
61 |
62 | public var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
63 | return AnchorPair(first: centerXAnchor, second: centerYAnchor)
64 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:66:16: warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
| `- note: 'sizeAnchors' declared here
41 |
42 | }
:
64 | }
65 |
66 | public var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> {
| `- warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
67 | return AnchorPair(first: widthAnchor, second: heightAnchor)
68 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:75:16: warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
35 | public protocol AnchorGroupProvider {
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
| `- note: 'horizontalAnchors' declared here
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
:
70 | }
71 |
72 | extension ViewController: AnchorGroupProvider {
| `- note: add '@preconcurrency' to the 'AnchorGroupProvider' conformance to defer isolation checking to run time
73 |
74 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
75 | public var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> {
| `- warning: main actor-isolated property 'horizontalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
76 | return view.horizontalAnchors
77 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:80:16: warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
36 |
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'verticalAnchors' declared here
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
:
78 |
79 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
80 | public var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'verticalAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
81 | #if os(macOS)
82 | return view.verticalAnchors
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:89:16: warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
37 | var horizontalAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutXAxisAnchor> { get }
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
| `- note: 'centerAnchors' declared here
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
41 |
:
87 |
88 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
89 | public var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> {
| `- warning: main actor-isolated property 'centerAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
90 | return view.centerAnchors
91 | }
/Users/admin/builder/spi-builder-workspace/Source/AnchorGroupProvider.swift:94:16: warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
38 | var verticalAnchors: AnchorPair<NSLayoutYAxisAnchor, NSLayoutYAxisAnchor> { get }
39 | var centerAnchors: AnchorPair<NSLayoutXAxisAnchor, NSLayoutYAxisAnchor> { get }
40 | var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> { get }
| `- note: 'sizeAnchors' declared here
41 |
42 | }
:
92 |
93 | @available(*, deprecated, message: "Do not set constraints directly on a UIViewController; set them on its root UIView.")
94 | public var sizeAnchors: AnchorPair<NSLayoutDimension, NSLayoutDimension> {
| `- warning: main actor-isolated property 'sizeAnchors' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
95 | return view.sizeAnchors
96 | }
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:280:16: warning: static property 'equality' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
272 | // MARK: - ConstraintBuilder
273 |
274 | internal struct ConstraintBuilder {
| `- note: consider making struct 'ConstraintBuilder' conform to the 'Sendable' protocol
275 |
276 | typealias Horizontal = (NSLayoutXAxisAnchor, LayoutExpression<NSLayoutXAxisAnchor, CGFloat>) -> NSLayoutConstraint
:
278 | typealias Dimension = (NSLayoutDimension, LayoutExpression<NSLayoutDimension, CGFloat>) -> NSLayoutConstraint
279 |
280 | static let equality = ConstraintBuilder(horizontal: ==, vertical: ==, dimension: ==)
| |- warning: static property 'equality' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'equality' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
281 | static let lessThanOrEqual = ConstraintBuilder(leading: <=, top: <=, trailing: >=, bottom: >=, centerX: <=, centerY: <=, dimension: <=)
282 | static let greaterThanOrEqual = ConstraintBuilder(leading: >=, top: >=, trailing: <=, bottom: <=, centerX: >=, centerY: >=, dimension: >=)
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:281:16: warning: static property 'lessThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
272 | // MARK: - ConstraintBuilder
273 |
274 | internal struct ConstraintBuilder {
| `- note: consider making struct 'ConstraintBuilder' conform to the 'Sendable' protocol
275 |
276 | typealias Horizontal = (NSLayoutXAxisAnchor, LayoutExpression<NSLayoutXAxisAnchor, CGFloat>) -> NSLayoutConstraint
:
279 |
280 | static let equality = ConstraintBuilder(horizontal: ==, vertical: ==, dimension: ==)
281 | static let lessThanOrEqual = ConstraintBuilder(leading: <=, top: <=, trailing: >=, bottom: >=, centerX: <=, centerY: <=, dimension: <=)
| |- warning: static property 'lessThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lessThanOrEqual' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 | static let greaterThanOrEqual = ConstraintBuilder(leading: >=, top: >=, trailing: <=, bottom: <=, centerX: >=, centerY: >=, dimension: >=)
283 |
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:282:16: warning: static property 'greaterThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
272 | // MARK: - ConstraintBuilder
273 |
274 | internal struct ConstraintBuilder {
| `- note: consider making struct 'ConstraintBuilder' conform to the 'Sendable' protocol
275 |
276 | typealias Horizontal = (NSLayoutXAxisAnchor, LayoutExpression<NSLayoutXAxisAnchor, CGFloat>) -> NSLayoutConstraint
:
280 | static let equality = ConstraintBuilder(horizontal: ==, vertical: ==, dimension: ==)
281 | static let lessThanOrEqual = ConstraintBuilder(leading: <=, top: <=, trailing: >=, bottom: >=, centerX: <=, centerY: <=, dimension: <=)
282 | static let greaterThanOrEqual = ConstraintBuilder(leading: >=, top: >=, trailing: <=, bottom: <=, centerX: >=, centerY: >=, dimension: >=)
| |- warning: static property 'greaterThanOrEqual' is not concurrency-safe because non-'Sendable' type 'ConstraintBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greaterThanOrEqual' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | var topBuilder: Vertical
/Users/admin/builder/spi-builder-workspace/Source/Internal.swift:317:14: warning: var 'batches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
315 | // MARK: - Batching
316 |
317 | internal var batches: [ConstraintBatch] = []
| |- warning: var 'batches' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'batches' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'batches' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
318 |
319 | internal class ConstraintBatch {
Build complete! (9.52s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Anchorage",
"name" : "Anchorage",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Anchorage",
"targets" : [
"Anchorage"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AnchorageTests",
"module_type" : "SwiftTarget",
"name" : "AnchorageTests",
"path" : "AnchorageTests",
"sources" : [
"AnchorageTests.swift"
],
"target_dependencies" : [
"Anchorage"
],
"type" : "test"
},
{
"c99name" : "Anchorage",
"module_type" : "SwiftTarget",
"name" : "Anchorage",
"path" : "Source",
"product_memberships" : [
"Anchorage"
],
"sources" : [
"AnchorGroupProvider.swift",
"Anchorage.swift",
"Compatability.swift",
"Internal.swift",
"NSLayoutAnchor+MultiplierConstraints.swift",
"Priority.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.