The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of PinLayout, reference master (babea9), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 00:15:06 UTC.

Swift 6 data race errors: 17

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/layoutBox/PinLayout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/layoutBox/PinLayout
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at babea9c Merge pull request #279 from ElonPark/fix-get-display-scale
Cloned https://github.com/layoutBox/PinLayout.git
Revision (git rev-parse @):
babea9c8e821dfb0687e66c123fed2006e688929
SUCCESS checkout https://github.com/layoutBox/PinLayout.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "pinlayout",
      "name": "PinLayout",
      "url": "https://github.com/layoutBox/PinLayout.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PinLayout",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/layoutBox/PinLayout.git
[1/7431] Fetching pinlayout
Fetched https://github.com/layoutBox/PinLayout.git from cache (1.52s)
Creating working copy for https://github.com/layoutBox/PinLayout.git
Working copy of https://github.com/layoutBox/PinLayout.git resolved at master (babea9c)
warning: '.resolve-product-dependencies': dependency 'pinlayout' 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/layoutBox/PinLayout.git
https://github.com/layoutBox/PinLayout.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PinLayout",
  "name" : "PinLayout",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PinLayout",
      "targets" : [
        "PinLayout"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PinLayout",
      "module_type" : "SwiftTarget",
      "name" : "PinLayout",
      "path" : "Sources",
      "product_memberships" : [
        "PinLayout"
      ],
      "sources" : [
        "AutoSizeCalculable.swift",
        "Extensions/CALayer+PinLayout.swift",
        "Extensions/NSView+PinLayout.swift",
        "Extensions/PEdgeInsets+Operators.swift",
        "Extensions/UIView+PinLayout.swift",
        "Filters.swift",
        "Impl/Coordinates.swift",
        "Impl/Percent.swift",
        "Impl/PinLayout+Coordinates.swift",
        "Impl/PinLayout+Layouting.swift",
        "Impl/PinLayout+Warning.swift",
        "Impl/PinSafeArea.swift",
        "Impl/TypesImpl.swift",
        "Layoutable+PinLayout.swift",
        "Layoutable.swift",
        "ObjectiveC/PinLayoutObjC.swift",
        "ObjectiveC/PinLayoutObjCImpl.swift",
        "Pin.swift",
        "PinLayout+Between.swift",
        "PinLayout+Relative.swift",
        "PinLayout+Size.swift",
        "PinLayout+WrapContent.swift",
        "PinLayout.swift",
        "SizeCalculable.swift",
        "Types+Description.swift",
        "Types.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
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/27] Emitting module PinLayout
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:25:19: note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
23 | import AppKit
24 |
25 | extension NSView: Layoutable {
   |                   `- note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
26 |     public typealias PinView = NSView
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:29:9: note: requirement 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: requirement 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: requirement 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: requirement 'subviews' declared here
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:40:17: warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
38 |     }
39 |
40 |     public func getRect(keepTransform: Bool) -> CGRect {
   |                 |- warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'getRect(keepTransform:)' to make this instance method not isolated to the actor
41 |         if let superview = superview, !superview.isFlipped {
42 |             var flippedRect = frame
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:32:10: note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
30 |     var subviews: [PinView] { get }
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
   |          `- note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:50:17: warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
48 |     }
49 |
50 |     public func setRect(_ rect: CGRect, keepTransform: Bool) {
   |                 |- warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'setRect(_:keepTransform:)' to make this instance method not isolated to the actor
51 |         let adjustedRect = Coordinates<PinView>.adjustRectToDisplayScale(rect)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:33:10: note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
   |          `- note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
AppKit.NSView.convert:2:22: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
1 | class NSView {
2 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint}
  |                      |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
  |                      `- note: add 'nonisolated' to 'convert(_:to:)' to make this instance method not isolated to the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:35:10: note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
   |          `- note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
36 |
37 |     func isLTR() -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:62:17: warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
60 |     }
61 |
62 |     public func isLTR() -> Bool {
   |                 |- warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'isLTR()' to make this instance method not isolated to the actor
63 |         switch Pin.layoutDirection {
64 |         case .auto: return self.userInterfaceLayoutDirection == .leftToRight
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:37:10: note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
36 |
37 |     func isLTR() -> Bool
   |          `- note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
38 | }
39 |
AppKit.NSControl.sizeThatFits:3:24: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
1 | class NSControl {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize}
  |                        |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
  |                        `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:71:22: note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
69 | }
70 |
71 | extension NSControl: SizeCalculable {
   |                      `- note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
72 |
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SizeCalculable.swift:27:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
25 |
26 | public protocol SizeCalculable {
27 |     func sizeThatFits(_ size: CGSize) -> CGSize
   |          `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:26:14: warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
    |              |- warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'displayScale' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'displayScale' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:27:14: warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
    |              |- warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'onePixelLength' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'onePixelLength' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 | public func _pinlayoutSetUnitTest(scale: CGFloat?) {
/Users/admin/builder/spi-builder-workspace/Sources/Impl/PinLayout+Warning.swift:26:13: warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | private var numberFormatter: NumberFormatter = {
    |             |- warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'numberFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'numberFormatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     let numberFormatter = NumberFormatter()
 28 |     numberFormatter.numberStyle = .decimal
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:23:29: warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @objc public class Pin: NSObject {
23 |     @objc public static var layoutDirection = LayoutDirection.ltr
   |                             |- warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'layoutDirection' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'layoutDirection' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:34:24: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     #endif
33 |
34 |     static private var isInitialized = false
   |                        |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'isInitialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     @objc public static func initPinLayout() {
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:48:25: warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     internal static var autoSizingInProgress: Bool = false
   |                         |- warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'autoSizingInProgress' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: add '@MainActor' to make static property 'autoSizingInProgress' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     //
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:54:33: warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |     //
53 |     #if DEBUG
54 |         @objc public static var logWarnings = true
   |                                 |- warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'logWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'logWarnings' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |     #else
56 |         @objc public static var logWarnings = false
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:59:29: warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |     #endif
58 |
59 |     @objc public static var activeWarnings = ActiveWarnings()
   |                             |- warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'activeWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'activeWarnings' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:66:29: warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |      a warning in the Xcode console..
65 |      */
66 |     @objc public static var logMissingLayoutCalls = false
   |                             |- warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'logMissingLayoutCalls' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'logMissingLayoutCalls' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:69:29: warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
69 |     @objc public static var lastWarningText: String?
   |                             |- warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'lastWarningText' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'lastWarningText' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 |     public static func resetWarnings() {
[4/29] Compiling PinLayout Types+Description.swift
[5/29] Compiling PinLayout Types.swift
[6/29] Compiling PinLayout PinLayout.swift
[7/29] Compiling PinLayout SizeCalculable.swift
[8/29] Compiling PinLayout AutoSizeCalculable.swift
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:25:19: note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
23 | import AppKit
24 |
25 | extension NSView: Layoutable {
   |                   `- note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
26 |     public typealias PinView = NSView
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:29:9: note: requirement 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: requirement 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: requirement 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: requirement 'subviews' declared here
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:40:17: warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
38 |     }
39 |
40 |     public func getRect(keepTransform: Bool) -> CGRect {
   |                 |- warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'getRect(keepTransform:)' to make this instance method not isolated to the actor
41 |         if let superview = superview, !superview.isFlipped {
42 |             var flippedRect = frame
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:32:10: note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
30 |     var subviews: [PinView] { get }
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
   |          `- note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:50:17: warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
48 |     }
49 |
50 |     public func setRect(_ rect: CGRect, keepTransform: Bool) {
   |                 |- warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'setRect(_:keepTransform:)' to make this instance method not isolated to the actor
51 |         let adjustedRect = Coordinates<PinView>.adjustRectToDisplayScale(rect)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:33:10: note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
   |          `- note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
AppKit.NSView.convert:2:22: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
1 | class NSView {
2 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint}
  |                      |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
  |                      `- note: add 'nonisolated' to 'convert(_:to:)' to make this instance method not isolated to the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:35:10: note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
   |          `- note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
36 |
37 |     func isLTR() -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:62:17: warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
60 |     }
61 |
62 |     public func isLTR() -> Bool {
   |                 |- warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'isLTR()' to make this instance method not isolated to the actor
63 |         switch Pin.layoutDirection {
64 |         case .auto: return self.userInterfaceLayoutDirection == .leftToRight
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:37:10: note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
36 |
37 |     func isLTR() -> Bool
   |          `- note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
38 | }
39 |
AppKit.NSControl.sizeThatFits:3:24: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
1 | class NSControl {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize}
  |                        |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
  |                        `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:71:22: note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
69 | }
70 |
71 | extension NSControl: SizeCalculable {
   |                      `- note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
72 |
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SizeCalculable.swift:27:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
25 |
26 | public protocol SizeCalculable {
27 |     func sizeThatFits(_ size: CGSize) -> CGSize
   |          `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
28 | }
29 |
[9/29] Compiling PinLayout CALayer+PinLayout.swift
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:25:19: note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
23 | import AppKit
24 |
25 | extension NSView: Layoutable {
   |                   `- note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
26 |     public typealias PinView = NSView
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:29:9: note: requirement 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: requirement 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: requirement 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: requirement 'subviews' declared here
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:40:17: warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
38 |     }
39 |
40 |     public func getRect(keepTransform: Bool) -> CGRect {
   |                 |- warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'getRect(keepTransform:)' to make this instance method not isolated to the actor
41 |         if let superview = superview, !superview.isFlipped {
42 |             var flippedRect = frame
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:32:10: note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
30 |     var subviews: [PinView] { get }
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
   |          `- note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:50:17: warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
48 |     }
49 |
50 |     public func setRect(_ rect: CGRect, keepTransform: Bool) {
   |                 |- warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'setRect(_:keepTransform:)' to make this instance method not isolated to the actor
51 |         let adjustedRect = Coordinates<PinView>.adjustRectToDisplayScale(rect)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:33:10: note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
   |          `- note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
AppKit.NSView.convert:2:22: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
1 | class NSView {
2 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint}
  |                      |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
  |                      `- note: add 'nonisolated' to 'convert(_:to:)' to make this instance method not isolated to the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:35:10: note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
   |          `- note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
36 |
37 |     func isLTR() -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:62:17: warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
60 |     }
61 |
62 |     public func isLTR() -> Bool {
   |                 |- warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'isLTR()' to make this instance method not isolated to the actor
63 |         switch Pin.layoutDirection {
64 |         case .auto: return self.userInterfaceLayoutDirection == .leftToRight
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:37:10: note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
36 |
37 |     func isLTR() -> Bool
   |          `- note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
38 | }
39 |
AppKit.NSControl.sizeThatFits:3:24: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
1 | class NSControl {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize}
  |                        |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
  |                        `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:71:22: note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
69 | }
70 |
71 | extension NSControl: SizeCalculable {
   |                      `- note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
72 |
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SizeCalculable.swift:27:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
25 |
26 | public protocol SizeCalculable {
27 |     func sizeThatFits(_ size: CGSize) -> CGSize
   |          `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
28 | }
29 |
[10/29] Compiling PinLayout NSView+PinLayout.swift
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:87:59: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
    |                                                           `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
 89 | - (BOOL)isDescendantOf:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:25:19: note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
23 | import AppKit
24 |
25 | extension NSView: Layoutable {
   |                   `- note: add '@preconcurrency' to the 'Layoutable' conformance to defer isolation checking to run time
26 |     public typealias PinView = NSView
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:29:9: note: requirement 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: requirement 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:88:46: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
    |                                              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
 89 | - (BOOL)isDescendantOf:(NSView *)view;
 90 | - (nullable NSView *)ancestorSharedWithView:(NSView *)view;
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: requirement 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: requirement 'subviews' declared here
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:40:17: warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
38 |     }
39 |
40 |     public func getRect(keepTransform: Bool) -> CGRect {
   |                 |- warning: main actor-isolated instance method 'getRect(keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'getRect(keepTransform:)' to make this instance method not isolated to the actor
41 |         if let superview = superview, !superview.isFlipped {
42 |             var flippedRect = frame
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:32:10: note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
30 |     var subviews: [PinView] { get }
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
   |          `- note: mark the protocol requirement 'getRect(keepTransform:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:50:17: warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
48 |     }
49 |
50 |     public func setRect(_ rect: CGRect, keepTransform: Bool) {
   |                 |- warning: main actor-isolated instance method 'setRect(_:keepTransform:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'setRect(_:keepTransform:)' to make this instance method not isolated to the actor
51 |         let adjustedRect = Coordinates<PinView>.adjustRectToDisplayScale(rect)
52 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:33:10: note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
31 |
32 |     func getRect(keepTransform: Bool) -> CGRect
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
   |          `- note: mark the protocol requirement 'setRect(_:keepTransform:)' 'async' to allow actor-isolated conformances
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
AppKit.NSView.convert:2:22: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
1 | class NSView {
2 | @MainActor open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint}
  |                      |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
  |                      `- note: add 'nonisolated' to 'convert(_:to:)' to make this instance method not isolated to the actor
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:35:10: note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
33 |     func setRect(_ rect: CGRect, keepTransform: Bool)
34 |
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
   |          `- note: mark the protocol requirement 'convert(_:to:)' 'async' to allow actor-isolated conformances
36 |
37 |     func isLTR() -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:62:17: warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
60 |     }
61 |
62 |     public func isLTR() -> Bool {
   |                 |- warning: main actor-isolated instance method 'isLTR()' cannot be used to satisfy nonisolated requirement from protocol 'Layoutable'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'isLTR()' to make this instance method not isolated to the actor
63 |         switch Pin.layoutDirection {
64 |         case .auto: return self.userInterfaceLayoutDirection == .leftToRight
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:37:10: note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
35 |     func convert(_ point: CGPoint, to view: PinView?) -> CGPoint
36 |
37 |     func isLTR() -> Bool
   |          `- note: mark the protocol requirement 'isLTR()' 'async' to allow actor-isolated conformances
38 | }
39 |
AppKit.NSControl.sizeThatFits:3:24: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
1 | class NSControl {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize}
  |                        |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated requirement from protocol 'SizeCalculable'; this is an error in the Swift 6 language mode
  |                        `- note: add 'nonisolated' to 'sizeThatFits' to make this instance method not isolated to the actor
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/NSView+PinLayout.swift:71:22: note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
69 | }
70 |
71 | extension NSControl: SizeCalculable {
   |                      `- note: add '@preconcurrency' to the 'SizeCalculable' conformance to defer isolation checking to run time
72 |
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/SizeCalculable.swift:27:10: note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
25 |
26 | public protocol SizeCalculable {
27 |     func sizeThatFits(_ size: CGSize) -> CGSize
   |          `- note: mark the protocol requirement 'sizeThatFits' 'async' to allow actor-isolated conformances
28 | }
29 |
[11/29] Compiling PinLayout PinLayout+Size.swift
[12/29] Compiling PinLayout PinLayout+WrapContent.swift
[13/29] Compiling PinLayout PEdgeInsets+Operators.swift
[14/29] Compiling PinLayout UIView+PinLayout.swift
[15/29] Compiling PinLayout Filters.swift
[16/29] Compiling PinLayout PinLayout+Layouting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Impl/PinLayout+Warning.swift:26:13: warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | private var numberFormatter: NumberFormatter = {
    |             |- warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'numberFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'numberFormatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     let numberFormatter = NumberFormatter()
 28 |     numberFormatter.numberStyle = .decimal
[17/29] Compiling PinLayout PinLayout+Warning.swift
/Users/admin/builder/spi-builder-workspace/Sources/Impl/PinLayout+Warning.swift:26:13: warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | private var numberFormatter: NumberFormatter = {
    |             |- warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'numberFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'numberFormatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     let numberFormatter = NumberFormatter()
 28 |     numberFormatter.numberStyle = .decimal
[18/29] Compiling PinLayout PinSafeArea.swift
/Users/admin/builder/spi-builder-workspace/Sources/Impl/PinLayout+Warning.swift:26:13: warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | private var numberFormatter: NumberFormatter = {
    |             |- warning: var 'numberFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'numberFormatter' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'numberFormatter' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     let numberFormatter = NumberFormatter()
 28 |     numberFormatter.numberStyle = .decimal
[19/29] Compiling PinLayout PinLayout+Between.swift
[20/29] Compiling PinLayout PinLayout+Relative.swift
[21/29] Compiling PinLayout PinLayoutObjC.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:23:29: warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @objc public class Pin: NSObject {
23 |     @objc public static var layoutDirection = LayoutDirection.ltr
   |                             |- warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'layoutDirection' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'layoutDirection' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:34:24: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     #endif
33 |
34 |     static private var isInitialized = false
   |                        |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'isInitialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     @objc public static func initPinLayout() {
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:48:25: warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     internal static var autoSizingInProgress: Bool = false
   |                         |- warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'autoSizingInProgress' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: add '@MainActor' to make static property 'autoSizingInProgress' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     //
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:54:33: warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |     //
53 |     #if DEBUG
54 |         @objc public static var logWarnings = true
   |                                 |- warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'logWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'logWarnings' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |     #else
56 |         @objc public static var logWarnings = false
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:59:29: warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |     #endif
58 |
59 |     @objc public static var activeWarnings = ActiveWarnings()
   |                             |- warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'activeWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'activeWarnings' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:66:29: warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |      a warning in the Xcode console..
65 |      */
66 |     @objc public static var logMissingLayoutCalls = false
   |                             |- warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'logMissingLayoutCalls' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'logMissingLayoutCalls' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:69:29: warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
69 |     @objc public static var lastWarningText: String?
   |                             |- warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'lastWarningText' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'lastWarningText' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 |     public static func resetWarnings() {
[22/29] Compiling PinLayout PinLayoutObjCImpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:23:29: warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @objc public class Pin: NSObject {
23 |     @objc public static var layoutDirection = LayoutDirection.ltr
   |                             |- warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'layoutDirection' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'layoutDirection' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:34:24: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     #endif
33 |
34 |     static private var isInitialized = false
   |                        |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'isInitialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     @objc public static func initPinLayout() {
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:48:25: warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     internal static var autoSizingInProgress: Bool = false
   |                         |- warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'autoSizingInProgress' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: add '@MainActor' to make static property 'autoSizingInProgress' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     //
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:54:33: warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |     //
53 |     #if DEBUG
54 |         @objc public static var logWarnings = true
   |                                 |- warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'logWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'logWarnings' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |     #else
56 |         @objc public static var logWarnings = false
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:59:29: warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |     #endif
58 |
59 |     @objc public static var activeWarnings = ActiveWarnings()
   |                             |- warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'activeWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'activeWarnings' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:66:29: warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |      a warning in the Xcode console..
65 |      */
66 |     @objc public static var logMissingLayoutCalls = false
   |                             |- warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'logMissingLayoutCalls' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'logMissingLayoutCalls' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:69:29: warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
69 |     @objc public static var lastWarningText: String?
   |                             |- warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'lastWarningText' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'lastWarningText' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 |     public static func resetWarnings() {
[23/29] Compiling PinLayout Pin.swift
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:23:29: warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @objc public class Pin: NSObject {
23 |     @objc public static var layoutDirection = LayoutDirection.ltr
   |                             |- warning: static property 'layoutDirection' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'layoutDirection' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'layoutDirection' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:34:24: warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |     #endif
33 |
34 |     static private var isInitialized = false
   |                        |- warning: static property 'isInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'isInitialized' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property 'isInitialized' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     @objc public static func initPinLayout() {
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:48:25: warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     internal static var autoSizingInProgress: Bool = false
   |                         |- warning: static property 'autoSizingInProgress' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                         |- note: convert 'autoSizingInProgress' to a 'let' constant to make 'Sendable' shared state immutable
   |                         |- note: add '@MainActor' to make static property 'autoSizingInProgress' part of global actor 'MainActor'
   |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 |     //
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:54:33: warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |     //
53 |     #if DEBUG
54 |         @objc public static var logWarnings = true
   |                                 |- warning: static property 'logWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'logWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'logWarnings' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |     #else
56 |         @objc public static var logWarnings = false
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:59:29: warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 |     #endif
58 |
59 |     @objc public static var activeWarnings = ActiveWarnings()
   |                             |- warning: static property 'activeWarnings' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'activeWarnings' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'activeWarnings' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:66:29: warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 |      a warning in the Xcode console..
65 |      */
66 |     @objc public static var logMissingLayoutCalls = false
   |                             |- warning: static property 'logMissingLayoutCalls' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'logMissingLayoutCalls' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'logMissingLayoutCalls' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
/Users/admin/builder/spi-builder-workspace/Sources/Pin.swift:69:29: warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
69 |     @objc public static var lastWarningText: String?
   |                             |- warning: static property 'lastWarningText' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                             |- note: convert 'lastWarningText' to a 'let' constant to make 'Sendable' shared state immutable
   |                             |- note: add '@MainActor' to make static property 'lastWarningText' part of global actor 'MainActor'
   |                             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 |     public static func resetWarnings() {
[24/29] Compiling PinLayout TypesImpl.swift
[25/29] Compiling PinLayout Layoutable+PinLayout.swift
[26/29] Compiling PinLayout Layoutable.swift
[27/29] Compiling PinLayout Coordinates.swift
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:26:14: warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
    |              |- warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'displayScale' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'displayScale' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:27:14: warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
    |              |- warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'onePixelLength' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'onePixelLength' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 | public func _pinlayoutSetUnitTest(scale: CGFloat?) {
[28/29] Compiling PinLayout Percent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:26:14: warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
    |              |- warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'displayScale' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'displayScale' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:27:14: warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
    |              |- warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'onePixelLength' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'onePixelLength' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 | public func _pinlayoutSetUnitTest(scale: CGFloat?) {
[29/29] Compiling PinLayout PinLayout+Coordinates.swift
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:26:14: warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | #endif
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
    |              |- warning: var 'displayScale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'displayScale' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'displayScale' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
 28 |
/Users/admin/builder/spi-builder-workspace/Sources/Impl/Coordinates.swift:27:14: warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |
 26 | internal var displayScale: CGFloat = getDisplayScale()
 27 | internal var onePixelLength: CGFloat = 1 / displayScale
    |              |- warning: var 'onePixelLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'onePixelLength' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'onePixelLength' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |
 29 | public func _pinlayoutSetUnitTest(scale: CGFloat?) {
Build complete! (8.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PinLayout",
  "name" : "PinLayout",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "PinLayout",
      "targets" : [
        "PinLayout"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PinLayout",
      "module_type" : "SwiftTarget",
      "name" : "PinLayout",
      "path" : "Sources",
      "product_memberships" : [
        "PinLayout"
      ],
      "sources" : [
        "AutoSizeCalculable.swift",
        "Extensions/CALayer+PinLayout.swift",
        "Extensions/NSView+PinLayout.swift",
        "Extensions/PEdgeInsets+Operators.swift",
        "Extensions/UIView+PinLayout.swift",
        "Filters.swift",
        "Impl/Coordinates.swift",
        "Impl/Percent.swift",
        "Impl/PinLayout+Coordinates.swift",
        "Impl/PinLayout+Layouting.swift",
        "Impl/PinLayout+Warning.swift",
        "Impl/PinSafeArea.swift",
        "Impl/TypesImpl.swift",
        "Layoutable+PinLayout.swift",
        "Layoutable.swift",
        "ObjectiveC/PinLayoutObjC.swift",
        "ObjectiveC/PinLayoutObjCImpl.swift",
        "Pin.swift",
        "PinLayout+Between.swift",
        "PinLayout+Relative.swift",
        "PinLayout+Size.swift",
        "PinLayout+WrapContent.swift",
        "PinLayout.swift",
        "SizeCalculable.swift",
        "Types+Description.swift",
        "Types.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.