Build Information
Successful build of TinyConstraints, reference 4.0.2 (3262e5
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 14:55:54 UTC.
Swift 6 data race errors: 19
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/roberthein/TinyConstraints.git
Reference: 4.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/roberthein/TinyConstraints
* tag 4.0.2 -> FETCH_HEAD
HEAD is now at 3262e5c fix osx lib after pr merge
Cloned https://github.com/roberthein/TinyConstraints.git
Revision (git rev-parse @):
3262e5c591d4ab6272255df2087a01bbebd138dc
SUCCESS checkout https://github.com/roberthein/TinyConstraints.git at 4.0.2
========================================
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": "tinyconstraints",
"name": "TinyConstraints",
"url": "https://github.com/roberthein/TinyConstraints.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TinyConstraints",
"dependencies": [
]
}
]
}
Fetching https://github.com/roberthein/TinyConstraints.git
[1/1546] Fetching tinyconstraints
Fetched https://github.com/roberthein/TinyConstraints.git from cache (2.00s)
Creating working copy for https://github.com/roberthein/TinyConstraints.git
Working copy of https://github.com/roberthein/TinyConstraints.git resolved at 4.0.2 (3262e5c)
warning: '.resolve-product-dependencies': dependency 'tinyconstraints' 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/roberthein/TinyConstraints.git
https://github.com/roberthein/TinyConstraints.git
{
"dependencies" : [
],
"manifest_display_name" : "TinyConstraints",
"name" : "TinyConstraints",
"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" : "TinyConstraints",
"targets" : [
"TinyConstraints"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TinyConstraints",
"module_type" : "SwiftTarget",
"name" : "TinyConstraints",
"path" : "TinyConstraints",
"product_memberships" : [
"TinyConstraints"
],
"sources" : [
"Classes/Abstraction.swift",
"Classes/Constrainable.swift",
"Classes/Constraints.swift",
"Classes/Stack.swift",
"Classes/TinyConstraints+superview.swift",
"Classes/TinyConstraints.swift",
"Classes/TinyEdgeInsets.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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/10] Compiling TinyConstraints TinyEdgeInsets.swift
[4/10] Compiling TinyConstraints Constrainable.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:228:51: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:30:21: note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
28 | #endif
29 |
30 | extension TinyView: Constrainable {
| `- note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
31 |
32 | @discardableResult
:
43 |
44 | public protocol Constrainable {
45 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'topAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | 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:229:51: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:46:9: note: requirement 'bottomAnchor' declared here
44 | public protocol Constrainable {
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'bottomAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | 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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:47:9: note: requirement 'leftAnchor' declared here
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leftAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: 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:227:51: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:48:9: note: requirement 'rightAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'rightAnchor' declared here
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: 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:224:51: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:49:9: note: requirement 'leadingAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leadingAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
/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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:50:9: note: requirement 'trailingAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'trailingAnchor' declared here
51 |
52 | 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:232:51: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:52:9: note: requirement 'centerXAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'centerXAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
/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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:53:9: note: requirement 'centerYAnchor' declared here
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'centerYAnchor' declared here
54 |
55 | 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:230:49: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:55:9: note: requirement 'widthAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
55 | var widthAnchor: NSLayoutDimension { get }
| `- note: requirement 'widthAnchor' declared here
56 | var heightAnchor: NSLayoutDimension { get }
57 |
/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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:56:9: note: requirement 'heightAnchor' declared here
54 |
55 | var widthAnchor: NSLayoutDimension { get }
56 | var heightAnchor: NSLayoutDimension { get }
| `- note: requirement 'heightAnchor' declared here
57 |
58 | @discardableResult
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:33:17: warning: main actor-isolated instance method 'prepareForLayout()' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; this is an error in the Swift 6 language mode
31 |
32 | @discardableResult
33 | public func prepareForLayout() -> Self {
| |- warning: main actor-isolated instance method 'prepareForLayout()' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'prepareForLayout()' to make this instance method not isolated to the actor
34 | translatesAutoresizingMaskIntoConstraints = false
35 | return self
:
57 |
58 | @discardableResult
59 | func prepareForLayout() -> Self
| `- note: mark the protocol requirement 'prepareForLayout()' 'async' to allow actor-isolated conformances
60 | }
61 |
[5/10] Compiling TinyConstraints Constraints.swift
[6/10] Compiling TinyConstraints TinyConstraints.swift
[7/10] Compiling TinyConstraints TinyConstraints+superview.swift
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:158:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
156 | self.rawValue = rawValue
157 | }
158 | public static let top = LayoutEdge(rawValue: 1 << 0)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:159:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
157 | }
158 | public static let top = LayoutEdge(rawValue: 1 << 0)
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:160:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
158 | public static let top = LayoutEdge(rawValue: 1 << 0)
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:161:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:162:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:163:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
165 | }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:164:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | }
166 |
[8/10] Compiling TinyConstraints Stack.swift
[9/10] Compiling TinyConstraints Abstraction.swift
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Abstraction.swift:36:20: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | public extension NSEdgeInsets {
36 | static var zero = NSEdgeInsetsZero
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | }
38 | #else
[10/10] Emitting module TinyConstraints
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Abstraction.swift:36:20: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 |
35 | public extension NSEdgeInsets {
36 | static var zero = NSEdgeInsetsZero
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | }
38 | #else
/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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:30:21: note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
28 | #endif
29 |
30 | extension TinyView: Constrainable {
| `- note: add '@preconcurrency' to the 'Constrainable' conformance to defer isolation checking to run time
31 |
32 | @discardableResult
:
43 |
44 | public protocol Constrainable {
45 | var topAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'topAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | 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:229:51: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:46:9: note: requirement 'bottomAnchor' declared here
44 | public protocol Constrainable {
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'bottomAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | 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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:47:9: note: requirement 'leftAnchor' declared here
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leftAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: 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:227:51: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:48:9: note: requirement 'rightAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'rightAnchor' declared here
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: 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:224:51: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:49:9: note: requirement 'leadingAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'leadingAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
/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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:50:9: note: requirement 'trailingAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'trailingAnchor' declared here
51 |
52 | 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:232:51: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:52:9: note: requirement 'centerXAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: requirement 'centerXAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
/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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:53:9: note: requirement 'centerYAnchor' declared here
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: requirement 'centerYAnchor' declared here
54 |
55 | 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:230:49: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:55:9: note: requirement 'widthAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
55 | var widthAnchor: NSLayoutDimension { get }
| `- note: requirement 'widthAnchor' declared here
56 | var heightAnchor: NSLayoutDimension { get }
57 |
/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 'Constrainable'; 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 'Constrainable'; 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/TinyConstraints/Classes/Constrainable.swift:56:9: note: requirement 'heightAnchor' declared here
54 |
55 | var widthAnchor: NSLayoutDimension { get }
56 | var heightAnchor: NSLayoutDimension { get }
| `- note: requirement 'heightAnchor' declared here
57 |
58 | @discardableResult
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:33:17: warning: main actor-isolated instance method 'prepareForLayout()' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; this is an error in the Swift 6 language mode
31 |
32 | @discardableResult
33 | public func prepareForLayout() -> Self {
| |- warning: main actor-isolated instance method 'prepareForLayout()' cannot be used to satisfy nonisolated requirement from protocol 'Constrainable'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'prepareForLayout()' to make this instance method not isolated to the actor
34 | translatesAutoresizingMaskIntoConstraints = false
35 | return self
:
57 |
58 | @discardableResult
59 | func prepareForLayout() -> Self
| `- note: mark the protocol requirement 'prepareForLayout()' 'async' to allow actor-isolated conformances
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:158:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
156 | self.rawValue = rawValue
157 | }
158 | public static let top = LayoutEdge(rawValue: 1 << 0)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:159:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
157 | }
158 | public static let top = LayoutEdge(rawValue: 1 << 0)
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:160:23: warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
158 | public static let top = LayoutEdge(rawValue: 1 << 0)
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
| |- warning: static property 'trailing' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'trailing' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:161:23: warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
159 | public static let bottom = LayoutEdge(rawValue: 1 << 1)
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
| |- warning: static property 'leading' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leading' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:162:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
160 | public static let trailing = LayoutEdge(rawValue: 1 << 2)
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:163:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
161 | public static let leading = LayoutEdge(rawValue: 1 << 3)
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
165 | }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/TinyConstraints+superview.swift:164:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
151 | #endif
152 |
153 | public struct LayoutEdge: OptionSet {
| `- note: consider making struct 'LayoutEdge' conform to the 'Sendable' protocol
154 | public let rawValue: UInt8
155 | public init(rawValue: UInt8) {
:
162 | public static let left = LayoutEdge(rawValue: 1 << 4)
163 | public static let right = LayoutEdge(rawValue: 1 << 5)
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'LayoutEdge' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | }
166 |
Build complete! (7.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TinyConstraints",
"name" : "TinyConstraints",
"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" : "TinyConstraints",
"targets" : [
"TinyConstraints"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "TinyConstraints",
"module_type" : "SwiftTarget",
"name" : "TinyConstraints",
"path" : "TinyConstraints",
"product_memberships" : [
"TinyConstraints"
],
"sources" : [
"Classes/Abstraction.swift",
"Classes/Constrainable.swift",
"Classes/Constraints.swift",
"Classes/Stack.swift",
"Classes/TinyConstraints+superview.swift",
"Classes/TinyConstraints.swift",
"Classes/TinyEdgeInsets.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.