Build Information
Successful build of Cartography, reference master (d0dc3f
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 03:18:31 UTC.
Swift 6 data race errors: 1
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/robb/Cartography.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/robb/Cartography
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d0dc3f3 Merge pull request #345 from NachoSoto/master
Cloned https://github.com/robb/Cartography.git
Revision (git rev-parse @):
d0dc3f340dec22c96255ca385ff4b9e45fbe9b8e
SUCCESS checkout https://github.com/robb/Cartography.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": "cartography",
"name": "Cartography",
"url": "https://github.com/robb/Cartography.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cartography",
"dependencies": [
]
}
]
}
Fetching https://github.com/robb/Cartography.git
[1/3021] Fetching cartography
Fetched https://github.com/robb/Cartography.git from cache (0.92s)
Creating working copy for https://github.com/robb/Cartography.git
Working copy of https://github.com/robb/Cartography.git resolved at master (d0dc3f3)
warning: '.resolve-product-dependencies': dependency 'cartography' 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/robb/Cartography.git
https://github.com/robb/Cartography.git
{
"dependencies" : [
],
"manifest_display_name" : "Cartography",
"name" : "Cartography",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cartography",
"targets" : [
"Cartography"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Cartography",
"module_type" : "SwiftTarget",
"name" : "Cartography",
"path" : "Cartography",
"product_memberships" : [
"Cartography"
],
"sources" : [
"Align.swift",
"AutoresizingMaskLayoutProxy.swift",
"Coefficients.swift",
"Compound.swift",
"Constrain.swift",
"Constraint.swift",
"ConstraintGroup.swift",
"Context.swift",
"Dimension.swift",
"Distribute.swift",
"Edge.swift",
"Edges.swift",
"Expression.swift",
"Extensions.swift",
"LayoutGuide.swift",
"LayoutGuideProxy.swift",
"LayoutItem.swift",
"LayoutProxy+TypeErasure.swift",
"LayoutProxy.swift",
"LayoutSupport.swift",
"LayoutSupportProxy.swift",
"Point.swift",
"Priority.swift",
"Property.swift",
"Size.swift",
"View.swift",
"ViewProxy.swift"
],
"type" : "library"
}
],
"tools_version" : "4.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/28] Emitting module Cartography
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: warning: main actor-isolated instance method 'asProxy(context:)' cannot be used to satisfy nonisolated requirement from protocol 'LayoutItem'; this is an error in the Swift 6 language mode
22 | public typealias View = NSView
23 |
24 | extension NSView: LayoutItem {
| `- note: add '@preconcurrency' to the 'LayoutItem' conformance to defer isolation checking to run time
25 | public func asProxy(context: Context) -> ViewProxy {
| |- warning: main actor-isolated instance method 'asProxy(context:)' cannot be used to satisfy nonisolated requirement from protocol 'LayoutItem'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'asProxy(context:)' to make this instance method not isolated to the actor
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutItem.swift:12:10: note: mark the protocol requirement 'asProxy(context:)' 'async' to allow actor-isolated conformances
10 | associatedtype ProxyType: LayoutProxy
11 |
12 | func asProxy(context: Context) -> ProxyType
| `- note: mark the protocol requirement 'asProxy(context:)' 'async' to allow actor-isolated conformances
13 | }
14 |
[4/30] Compiling Cartography Compound.swift
[5/30] Compiling Cartography Constrain.swift
[6/30] Compiling Cartography Constraint.swift
[7/30] Compiling Cartography Expression.swift
[8/30] Compiling Cartography Extensions.swift
[9/30] Compiling Cartography LayoutGuide.swift
[10/30] Compiling Cartography LayoutGuideProxy.swift
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutGuideProxy.swift:26:40: warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 |
25 | public var owningView: ViewProxy? {
26 | return layoutGuide.owningView?.asProxy(context: context)
| `- warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
23 |
24 | extension NSView: LayoutItem {
25 | public func asProxy(context: Context) -> ViewProxy {
| |- note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutGuideProxy.swift:26:40: warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public var owningView: ViewProxy? {
26 | return layoutGuide.owningView?.asProxy(context: context)
| |- warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.context' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
[11/30] Compiling Cartography LayoutItem.swift
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutGuideProxy.swift:26:40: warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 |
25 | public var owningView: ViewProxy? {
26 | return layoutGuide.owningView?.asProxy(context: context)
| `- warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
23 |
24 | extension NSView: LayoutItem {
25 | public func asProxy(context: Context) -> ViewProxy {
| |- note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutGuideProxy.swift:26:40: warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public var owningView: ViewProxy? {
26 | return layoutGuide.owningView?.asProxy(context: context)
| |- warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.context' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
[12/30] Compiling Cartography LayoutProxy+TypeErasure.swift
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutGuideProxy.swift:26:40: warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 |
25 | public var owningView: ViewProxy? {
26 | return layoutGuide.owningView?.asProxy(context: context)
| `- warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | }
28 | }
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
23 |
24 | extension NSView: LayoutItem {
25 | public func asProxy(context: Context) -> ViewProxy {
| |- note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutGuideProxy.swift:26:40: warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
24 |
25 | public var owningView: ViewProxy? {
26 | return layoutGuide.owningView?.asProxy(context: context)
| |- warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.context' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
27 | }
28 | }
[13/30] Compiling Cartography LayoutProxy.swift
[14/30] Compiling Cartography LayoutSupport.swift
[15/30] Compiling Cartography LayoutSupportProxy.swift
[16/30] Compiling Cartography Align.swift
[17/30] Compiling Cartography AutoresizingMaskLayoutProxy.swift
[18/30] Compiling Cartography Coefficients.swift
[19/30] Compiling Cartography Property.swift
[20/30] Compiling Cartography Size.swift
[21/30] Compiling Cartography View.swift
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: warning: main actor-isolated instance method 'asProxy(context:)' cannot be used to satisfy nonisolated requirement from protocol 'LayoutItem'; this is an error in the Swift 6 language mode
22 | public typealias View = NSView
23 |
24 | extension NSView: LayoutItem {
| `- note: add '@preconcurrency' to the 'LayoutItem' conformance to defer isolation checking to run time
25 | public func asProxy(context: Context) -> ViewProxy {
| |- warning: main actor-isolated instance method 'asProxy(context:)' cannot be used to satisfy nonisolated requirement from protocol 'LayoutItem'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'asProxy(context:)' to make this instance method not isolated to the actor
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutItem.swift:12:10: note: mark the protocol requirement 'asProxy(context:)' 'async' to allow actor-isolated conformances
10 | associatedtype ProxyType: LayoutProxy
11 |
12 | func asProxy(context: Context) -> ProxyType
| `- note: mark the protocol requirement 'asProxy(context:)' 'async' to allow actor-isolated conformances
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:19:25: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | public var translatesAutoresizingMaskIntoConstraints: Bool {
18 | get {
19 | return view.translatesAutoresizingMaskIntoConstraints
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | set(value) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: property declared here
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: property declared here
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:22:18: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | set(value) {
22 | view.translatesAutoresizingMaskIntoConstraints = value
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:32:32: warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | public var superview: ViewProxy? {
32 | return view.superview?.asProxy(context: context)
| `- warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
23 |
24 | extension NSView: LayoutItem {
25 | public func asProxy(context: Context) -> ViewProxy {
| |- note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:32:21: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | public var superview: ViewProxy? {
32 | return view.superview?.asProxy(context: context)
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:32:32: warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public var superview: ViewProxy? {
32 | return view.superview?.asProxy(context: context)
| |- warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.context' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 |
[22/30] Compiling Cartography ViewProxy.swift
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: warning: main actor-isolated instance method 'asProxy(context:)' cannot be used to satisfy nonisolated requirement from protocol 'LayoutItem'; this is an error in the Swift 6 language mode
22 | public typealias View = NSView
23 |
24 | extension NSView: LayoutItem {
| `- note: add '@preconcurrency' to the 'LayoutItem' conformance to defer isolation checking to run time
25 | public func asProxy(context: Context) -> ViewProxy {
| |- warning: main actor-isolated instance method 'asProxy(context:)' cannot be used to satisfy nonisolated requirement from protocol 'LayoutItem'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'asProxy(context:)' to make this instance method not isolated to the actor
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/LayoutItem.swift:12:10: note: mark the protocol requirement 'asProxy(context:)' 'async' to allow actor-isolated conformances
10 | associatedtype ProxyType: LayoutProxy
11 |
12 | func asProxy(context: Context) -> ProxyType
| `- note: mark the protocol requirement 'asProxy(context:)' 'async' to allow actor-isolated conformances
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:19:25: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
17 | public var translatesAutoresizingMaskIntoConstraints: Bool {
18 | get {
19 | return view.translatesAutoresizingMaskIntoConstraints
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | set(value) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: property declared here
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: property declared here
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:22:18: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
20 | }
21 | set(value) {
22 | view.translatesAutoresizingMaskIntoConstraints = value
| `- warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:32:32: warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | public var superview: ViewProxy? {
32 | return view.superview?.asProxy(context: context)
| `- warning: call to main actor-isolated instance method 'asProxy(context:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Cartography/View.swift:25:21: note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
23 |
24 | extension NSView: LayoutItem {
25 | public func asProxy(context: Context) -> ViewProxy {
| |- note: calls to instance method 'asProxy(context:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
26 | return ViewProxy(context: context, view: self)
27 | }
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:32:21: warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
30 |
31 | public var superview: ViewProxy? {
32 | return view.superview?.asProxy(context: context)
| `- warning: main actor-isolated property 'superview' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: note: property declared here
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
| `- note: property declared here
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Cartography/ViewProxy.swift:32:32: warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
30 |
31 | public var superview: ViewProxy? {
32 | return view.superview?.asProxy(context: context)
| |- warning: sending 'self.context' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.context' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
33 | }
34 |
[23/30] Compiling Cartography Distribute.swift
[24/30] Compiling Cartography Edge.swift
[25/30] Compiling Cartography Edges.swift
[26/30] Compiling Cartography Point.swift
[27/30] Compiling Cartography Priority.swift
[28/30] Compiling Cartography ConstraintGroup.swift
/Users/admin/builder/spi-builder-workspace/Cartography/Context.swift:24:22: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
20 | internal var constraints: [Constraint] = []
21 |
22 | internal func addConstraint(_ from: Property, to: Property? = nil, coefficients: Coefficients = Coefficients(), relation: LayoutRelation = .equal) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'addConstraint(_:to:coefficients:relation:)' part of global actor 'MainActor'
23 | if let fromItem = from.item as? View {
24 | fromItem.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
25 | }
26 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[29/30] Compiling Cartography Context.swift
/Users/admin/builder/spi-builder-workspace/Cartography/Context.swift:24:22: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
20 | internal var constraints: [Constraint] = []
21 |
22 | internal func addConstraint(_ from: Property, to: Property? = nil, coefficients: Coefficients = Coefficients(), relation: LayoutRelation = .equal) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'addConstraint(_:to:coefficients:relation:)' part of global actor 'MainActor'
23 | if let fromItem = from.item as? View {
24 | fromItem.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
25 | }
26 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
[30/30] Compiling Cartography Dimension.swift
/Users/admin/builder/spi-builder-workspace/Cartography/Context.swift:24:22: warning: main actor-isolated property 'translatesAutoresizingMaskIntoConstraints' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
20 | internal var constraints: [Constraint] = []
21 |
22 | internal func addConstraint(_ from: Property, to: Property? = nil, coefficients: Coefficients = Coefficients(), relation: LayoutRelation = .equal) -> NSLayoutConstraint {
| `- note: add '@MainActor' to make instance method 'addConstraint(_:to:coefficients:relation:)' part of global actor 'MainActor'
23 | if let fromItem = from.item as? View {
24 | fromItem.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
25 | }
26 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:276:16: note: mutation of this property is only permitted within the actor
274 | /* by default, the autoresizing mask on a view gives rise to constraints that fully determine the view's position. To do anything interesting with constraints, you need to turn that off. IB will turn it off.
275 | */
276 | @property BOOL translatesAutoresizingMaskIntoConstraints API_AVAILABLE(macos(10.7));
| `- note: mutation of this property is only permitted within the actor
277 |
278 | /* constraint based layout engages lazily when someone tries to use it. If you do all of your constraint set up in -updateConstraints, you might never even receive updateConstraints if no one makes a constraint. To fix this chicken and egg problem, override this method to return YES if your view needs the window to use constraint based layout.
Build complete! (7.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Cartography",
"name" : "Cartography",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Cartography",
"targets" : [
"Cartography"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Cartography",
"module_type" : "SwiftTarget",
"name" : "Cartography",
"path" : "Cartography",
"product_memberships" : [
"Cartography"
],
"sources" : [
"Align.swift",
"AutoresizingMaskLayoutProxy.swift",
"Coefficients.swift",
"Compound.swift",
"Constrain.swift",
"Constraint.swift",
"ConstraintGroup.swift",
"Context.swift",
"Dimension.swift",
"Distribute.swift",
"Edge.swift",
"Edges.swift",
"Expression.swift",
"Extensions.swift",
"LayoutGuide.swift",
"LayoutGuideProxy.swift",
"LayoutItem.swift",
"LayoutProxy+TypeErasure.swift",
"LayoutProxy.swift",
"LayoutSupport.swift",
"LayoutSupportProxy.swift",
"Point.swift",
"Priority.swift",
"Property.swift",
"Size.swift",
"View.swift",
"ViewProxy.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.