Build Information
Successful build of TinyConstraints with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 19
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/roberthein/TinyConstraints.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/roberthein/TinyConstraints
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a89996a Merge pull request #103 from Lutzifer/patch-1
Cloned https://github.com/roberthein/TinyConstraints.git
Revision (git rev-parse @):
a89996a77d364eb85abdd09d42d2274e35ba56dc
SUCCESS checkout https://github.com/roberthein/TinyConstraints.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/roberthein/TinyConstraints.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/10] Compiling TinyConstraints TinyEdgeInsets.swift
[4/10] Compiling TinyConstraints TinyConstraints+superview.swift
/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: annotate 'none' 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
165 | }
166 |
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Abstraction.swift:36:20: warning: static property 'zero' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'zero' 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
37 | }
38 | #else
/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: annotate 'top' 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
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: annotate 'bottom' 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
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: annotate 'trailing' 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
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: annotate 'leading' 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
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: annotate 'left' 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
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: annotate 'right' 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
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
165 | }
[5/10] Compiling TinyConstraints Stack.swift
[6/10] Compiling TinyConstraints Constraints.swift
[7/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 non-isolated 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 non-isolated 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: annotate 'zero' 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
37 | }
38 | #else
AppKit.NSView:11:25: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/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: 'topAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:46:9: note: 'bottomAnchor' declared here
44 | public protocol Constrainable {
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:47:9: note: 'leftAnchor' declared here
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:48:9: note: 'rightAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:3:14: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:49:9: note: 'leadingAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leadingAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:50:9: note: 'trailingAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:52:9: note: 'centerXAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:53:9: note: 'centerYAnchor' declared here
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'centerYAnchor' declared here
54 |
55 | var widthAnchor: NSLayoutDimension { get }
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:55:9: note: 'widthAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
55 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
56 | var heightAnchor: NSLayoutDimension { get }
57 |
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:56:9: note: 'heightAnchor' declared here
54 |
55 | var widthAnchor: NSLayoutDimension { get }
56 | var heightAnchor: NSLayoutDimension { get }
| `- note: '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 protocol requirement; 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 protocol requirement; 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: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: annotate 'none' 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
165 | }
166 |
/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: annotate 'top' 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
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: annotate 'bottom' 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
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: annotate 'trailing' 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
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: annotate 'leading' 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
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: annotate 'left' 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
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: annotate 'right' 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
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
165 | }
[8/10] Compiling TinyConstraints Constrainable.swift
AppKit.NSView:11:25: warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'topAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/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: 'topAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:13:14: warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
12 | @available(macOS 10.11, *)
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'bottomAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:46:9: note: 'bottomAnchor' declared here
44 | public protocol Constrainable {
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'bottomAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:7:14: warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leftAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:47:9: note: 'leftAnchor' declared here
45 | var topAnchor: NSLayoutYAxisAnchor { get }
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leftAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:9:14: warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
8 | @available(macOS 10.11, *)
9 | open var rightAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'rightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 | @available(macOS 10.11, *)
11 | @MainActor open var topAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:48:9: note: 'rightAnchor' declared here
46 | var bottomAnchor: NSLayoutYAxisAnchor { get }
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'rightAnchor' declared here
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:3:14: warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'leadingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:49:9: note: 'leadingAnchor' declared here
47 | var leftAnchor: NSLayoutXAxisAnchor { get }
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'leadingAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
AppKit.NSView:5:14: warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | open var leadingAnchor: NSLayoutXAxisAnchor { get }
4 | @available(macOS 10.11, *)
5 | open var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'trailingAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | @available(macOS 10.11, *)
7 | open var leftAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:50:9: note: 'trailingAnchor' declared here
48 | var rightAnchor: NSLayoutXAxisAnchor { get }
49 | var leadingAnchor: NSLayoutXAxisAnchor { get }
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'trailingAnchor' declared here
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
AppKit.NSView:19:14: warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
17 | open var heightAnchor: NSLayoutDimension { get }
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- warning: main actor-isolated property 'centerXAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:52:9: note: 'centerXAnchor' declared here
50 | var trailingAnchor: NSLayoutXAxisAnchor { get }
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
| `- note: 'centerXAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
AppKit.NSView:21:14: warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
20 | @available(macOS 10.11, *)
21 | open var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- warning: main actor-isolated property 'centerYAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | @available(macOS 10.11, *)
23 | open var firstBaselineAnchor: NSLayoutYAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:53:9: note: 'centerYAnchor' declared here
51 |
52 | var centerXAnchor: NSLayoutXAxisAnchor { get }
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
| `- note: 'centerYAnchor' declared here
54 |
55 | var widthAnchor: NSLayoutDimension { get }
AppKit.NSView:15:14: warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | open var bottomAnchor: NSLayoutYAxisAnchor { get }
14 | @available(macOS 10.11, *)
15 | open var widthAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'widthAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:55:9: note: 'widthAnchor' declared here
53 | var centerYAnchor: NSLayoutYAxisAnchor { get }
54 |
55 | var widthAnchor: NSLayoutDimension { get }
| `- note: 'widthAnchor' declared here
56 | var heightAnchor: NSLayoutDimension { get }
57 |
AppKit.NSView:17:14: warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | open var widthAnchor: NSLayoutDimension { get }
16 | @available(macOS 10.11, *)
17 | open var heightAnchor: NSLayoutDimension { get }
| `- warning: main actor-isolated property 'heightAnchor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 | @available(macOS 10.11, *)
19 | open var centerXAnchor: NSLayoutXAxisAnchor { get }
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Constrainable.swift:56:9: note: 'heightAnchor' declared here
54 |
55 | var widthAnchor: NSLayoutDimension { get }
56 | var heightAnchor: NSLayoutDimension { get }
| `- note: '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 protocol requirement; 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 protocol requirement; 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 |
[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 non-isolated 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 non-isolated 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: annotate 'zero' 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
37 | }
38 | #else
[10/10] Compiling TinyConstraints TinyConstraints.swift
/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: annotate 'none' 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
165 | }
166 |
/Users/admin/builder/spi-builder-workspace/TinyConstraints/Classes/Abstraction.swift:36:20: warning: static property 'zero' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'zero' 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
37 | }
38 | #else
/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: annotate 'top' 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
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: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: annotate 'left' 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
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: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: annotate 'bottom' 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
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: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: annotate 'right' 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
164 | public static let none = LayoutEdge(rawValue: 1 << 6)
165 | }
Build complete! (26.08s)
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.