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 1.10.5 (8eaa3a), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 04:53:47 UTC.

Swift 6 data race errors: 17

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/layoutBox/PinLayout.git
Reference: 1.10.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/layoutBox/PinLayout
 * tag               1.10.5     -> FETCH_HEAD
HEAD is now at 8eaa3a1 Update to 1.10.5
Cloned https://github.com/layoutBox/PinLayout.git
Revision (git rev-parse @):
8eaa3a15e4dcabaca4c95aea4c0ff0c9b4a67213
SUCCESS checkout https://github.com/layoutBox/PinLayout.git at 1.10.5
========================================
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/7428] Fetching pinlayout
Fetched https://github.com/layoutBox/PinLayout.git from cache (1.89s)
Creating working copy for https://github.com/layoutBox/PinLayout.git
Working copy of https://github.com/layoutBox/PinLayout.git resolved at 1.10.5 (8eaa3a1)
warning: '.resolve-product-dependencies': dependency 'pinlayout' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/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.1.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--7754E27361AE5C74.txt
[3/27] Emitting module PinLayout
AppKit.NSView:5:41: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  3 |     public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
    |                                         `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 |     open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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: 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
AppKit.NSView:6:14: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
    |              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  7 |     open func isDescendant(of view: NSView) -> Bool
  8 |     @available(swift, obsoleted: 3, renamed: "isDescendant(of:)")
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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:92:15: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 90 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
 91 |     open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
 92 |     open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
    |               |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; 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
 93 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
 94 |     open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/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 protocol requirement; 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 protocol requirement; 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:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 |     open var doubleValue: Double { get set }
30 |     @available(macOS 10.10, *)
31 |     @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
   |                          |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; 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
32 |     open func sizeToFit()
33 |     open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/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: annotate 'displayScale' 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
 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: annotate 'onePixelLength' 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
 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: annotate 'numberFormatter' 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
 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: annotate 'layoutDirection' 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
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: annotate 'isInitialized' 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
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: annotate 'autoSizingInProgress' 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
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: annotate 'logWarnings' 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
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: annotate 'activeWarnings' 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
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: annotate 'logMissingLayoutCalls' 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
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: annotate 'lastWarningText' 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
70 |
71 |     public static func resetWarnings() {
[4/29] Compiling PinLayout Types+Description.swift
[5/29] Compiling PinLayout Types.swift
[6/29] Compiling PinLayout PEdgeInsets+Operators.swift
[7/29] Compiling PinLayout UIView+PinLayout.swift
[8/29] Compiling PinLayout Filters.swift
[9/29] Compiling PinLayout PinLayout+Layouting.swift
/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: annotate 'autoSizingInProgress' 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
49 |
50 |     //
/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: annotate 'numberFormatter' 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
 27 |     let numberFormatter = NumberFormatter()
 28 |     numberFormatter.numberStyle = .decimal
/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: annotate 'logWarnings' 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
55 |     #else
56 |         @objc public static var logWarnings = false
/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: annotate 'lastWarningText' 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
70 |
71 |     public static func resetWarnings() {
[10/29] Compiling PinLayout PinLayout+Warning.swift
/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: annotate 'autoSizingInProgress' 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
49 |
50 |     //
/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: annotate 'numberFormatter' 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
 27 |     let numberFormatter = NumberFormatter()
 28 |     numberFormatter.numberStyle = .decimal
/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: annotate 'logWarnings' 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
55 |     #else
56 |         @objc public static var logWarnings = false
/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: annotate 'lastWarningText' 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
70 |
71 |     public static func resetWarnings() {
[11/29] Compiling PinLayout PinSafeArea.swift
/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: annotate 'autoSizingInProgress' 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
49 |
50 |     //
/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: annotate 'numberFormatter' 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
 27 |     let numberFormatter = NumberFormatter()
 28 |     numberFormatter.numberStyle = .decimal
/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: annotate 'logWarnings' 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
55 |     #else
56 |         @objc public static var logWarnings = false
/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: annotate 'lastWarningText' 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
70 |
71 |     public static func resetWarnings() {
[12/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: annotate 'displayScale' 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
 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: annotate 'onePixelLength' 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
 28 |
 29 | public func _pinlayoutSetUnitTest(scale: CGFloat?) {
[13/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: annotate 'displayScale' 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
 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: annotate 'onePixelLength' 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
 28 |
 29 | public func _pinlayoutSetUnitTest(scale: CGFloat?) {
[14/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: annotate 'displayScale' 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
 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: annotate 'onePixelLength' 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
 28 |
 29 | public func _pinlayoutSetUnitTest(scale: CGFloat?) {
[15/29] Compiling PinLayout PinLayout+Between.swift
/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: annotate 'logWarnings' 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
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: annotate 'activeWarnings' 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
60 |
61 |     /**
[16/29] Compiling PinLayout PinLayout+Relative.swift
/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: annotate 'logWarnings' 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
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: annotate 'activeWarnings' 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
60 |
61 |     /**
[17/29] Compiling PinLayout PinLayout.swift
/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: annotate 'logMissingLayoutCalls' 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
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
[18/29] Compiling PinLayout SizeCalculable.swift
/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: annotate 'logMissingLayoutCalls' 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
67 |
68 |     // Contains PinLayout last warning's text. Used by PinLayout's Unit Tests.
[19/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: annotate 'layoutDirection' 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
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: annotate 'isInitialized' 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
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: annotate 'autoSizingInProgress' 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
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: annotate 'logWarnings' 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
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: annotate 'activeWarnings' 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
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: annotate 'logMissingLayoutCalls' 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
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: annotate 'lastWarningText' 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
70 |
71 |     public static func resetWarnings() {
[20/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: annotate 'layoutDirection' 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
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: annotate 'isInitialized' 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
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: annotate 'autoSizingInProgress' 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
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: annotate 'logWarnings' 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
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: annotate 'activeWarnings' 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
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: annotate 'logMissingLayoutCalls' 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
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: annotate 'lastWarningText' 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
70 |
71 |     public static func resetWarnings() {
[21/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: annotate 'layoutDirection' 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
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: annotate 'isInitialized' 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
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: annotate 'autoSizingInProgress' 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
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: annotate 'logWarnings' 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
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: annotate 'activeWarnings' 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
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: annotate 'logMissingLayoutCalls' 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
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: annotate 'lastWarningText' 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
70 |
71 |     public static func resetWarnings() {
[22/29] Compiling PinLayout PinLayout+Size.swift
[23/29] Compiling PinLayout PinLayout+WrapContent.swift
[24/29] Compiling PinLayout TypesImpl.swift
[25/29] Compiling PinLayout Layoutable+PinLayout.swift
[26/29] Compiling PinLayout Layoutable.swift
[27/29] Compiling PinLayout AutoSizeCalculable.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: annotate 'layoutDirection' 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
24 |
25 |     #if os(iOS) || os(tvOS)
AppKit.NSView:5:41: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  3 |     public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
    |                                         `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 |     open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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: 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
AppKit.NSView:6:14: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
    |              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  7 |     open func isDescendant(of view: NSView) -> Bool
  8 |     @available(swift, obsoleted: 3, renamed: "isDescendant(of:)")
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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:92:15: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 90 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
 91 |     open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
 92 |     open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
    |               |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; 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
 93 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
 94 |     open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/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 protocol requirement; 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 protocol requirement; 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:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 |     open var doubleValue: Double { get set }
30 |     @available(macOS 10.10, *)
31 |     @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
   |                          |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; 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
32 |     open func sizeToFit()
33 |     open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/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 |
[28/29] Compiling PinLayout CALayer+PinLayout.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: annotate 'layoutDirection' 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
24 |
25 |     #if os(iOS) || os(tvOS)
AppKit.NSView:5:41: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  3 |     public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
    |                                         `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 |     open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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: 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
AppKit.NSView:6:14: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
    |              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  7 |     open func isDescendant(of view: NSView) -> Bool
  8 |     @available(swift, obsoleted: 3, renamed: "isDescendant(of:)")
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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:92:15: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 90 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
 91 |     open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
 92 |     open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
    |               |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; 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
 93 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
 94 |     open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/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 protocol requirement; 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 protocol requirement; 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:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 |     open var doubleValue: Double { get set }
30 |     @available(macOS 10.10, *)
31 |     @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
   |                          |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; 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
32 |     open func sizeToFit()
33 |     open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/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 |
[29/29] Compiling PinLayout NSView+PinLayout.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: annotate 'layoutDirection' 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
24 |
25 |     #if os(iOS) || os(tvOS)
AppKit.NSView:5:41: warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  3 |     public init?(coder: NSCoder)
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
    |                                         `- warning: main actor-isolated property 'superview' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  6 |     open var subviews: [NSView] { get set }
  7 |     open func isDescendant(of view: NSView) -> Bool
/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: 'superview' declared here
27 |     associatedtype PinView: Layoutable
28 |
29 |     var superview: PinView? { get }
   |         `- note: 'superview' declared here
30 |     var subviews: [PinView] { get }
31 |
AppKit.NSView:6:14: warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  4 |     unowned(unsafe) open var window: NSWindow? { get }
  5 |     @MainActor unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
    |              `- warning: main actor-isolated property 'subviews' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
  7 |     open func isDescendant(of view: NSView) -> Bool
  8 |     @available(swift, obsoleted: 3, renamed: "isDescendant(of:)")
/Users/admin/builder/spi-builder-workspace/Sources/Layoutable.swift:30:9: note: 'subviews' declared here
28 |
29 |     var superview: PinView? { get }
30 |     var subviews: [PinView] { get }
   |         `- note: '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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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 protocol requirement; 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:92:15: warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 90 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
 91 |     open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
 92 |     open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
    |               |- warning: main actor-isolated instance method 'convert(_:to:)' cannot be used to satisfy nonisolated protocol requirement; 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
 93 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
 94 |     open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/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 protocol requirement; 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 protocol requirement; 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:31:26: warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 |     open var doubleValue: Double { get set }
30 |     @available(macOS 10.10, *)
31 |     @MainActor open func sizeThatFits(_ size: NSSize) -> NSSize
   |                          |- warning: main actor-isolated instance method 'sizeThatFits' cannot be used to satisfy nonisolated protocol requirement; 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
32 |     open func sizeToFit()
33 |     open func sendAction(on mask: NSEvent.EventTypeMask) -> Int
/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 |
Build complete! (20.91s)
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.