The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CompositionalLayoutDSL, reference main (3b1c5a), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 22:00:13 UTC.

Swift 6 data race errors: 17

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

84 |         let boundarySupplementaryItem = NSCollectionLayoutBoundarySupplementaryItem(
85 |             layoutSize: NSCollectionLayoutSize(
   |                         `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 |                 widthDimension: widthDimension,
87 |                 heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:54:51: warning: cannot form key path to main actor-isolated property 'extendsBoundary'; this is an error in the Swift 6 language mode
 52 |     @warn_unqualified_access
 53 |     public func extendsBoundary(_ extendsBoundary: Bool) -> LayoutBoundarySupplementaryItem {
 54 |         valueModifier(extendsBoundary, keyPath: \.extendsBoundary)
    |                                                   `- warning: cannot form key path to main actor-isolated property 'extendsBoundary'; this is an error in the Swift 6 language mode
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:68:54: warning: cannot form key path to main actor-isolated property 'pinToVisibleBounds'; this is an error in the Swift 6 language mode
 66 |     @warn_unqualified_access
 67 |     public func pinToVisibleBounds(_ pinToVisibleBounds: Bool) -> LayoutBoundarySupplementaryItem {
 68 |         valueModifier(pinToVisibleBounds, keyPath: \.pinToVisibleBounds)
    |                                                      `- warning: cannot form key path to main actor-isolated property 'pinToVisibleBounds'; this is an error in the Swift 6 language mode
 69 |     }
 70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:82:42: warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 80 |     @warn_unqualified_access
 81 |     public func zIndex(zIndex: Int) -> LayoutBoundarySupplementaryItem {
 82 |         valueModifier(zIndex, keyPath: \.zIndex)
    |                                          `- warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 83 |     }
 84 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:122:42: warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
120 |     @warn_unqualified_access
121 |     public func contentInsets(_ insets: NSDirectionalEdgeInsets) -> LayoutBoundarySupplementaryItem {
122 |         valueModifier(insets, keyPath: \.contentInsets)
    |                                          `- warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
123 |     }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:157:13: warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
148 |     /// and this item's container.
149 |     @warn_unqualified_access
150 |     public func edgeSpacing(
    |                 `- note: add '@MainActor' to make instance method 'edgeSpacing(top:leading:bottom:trailing:)' part of global actor 'MainActor'
151 |         top: NSCollectionLayoutSpacing? = nil,
152 |         leading: NSCollectionLayoutSpacing? = nil,
    :
155 |     ) -> LayoutBoundarySupplementaryItem {
156 |         return self.edgeSpacing(
157 |             NSCollectionLayoutEdgeSpacing(leading: leading, top: top, trailing: trailing, bottom: bottom)
    |             `- warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
158 |         )
159 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:373:1: note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
371 | //   +-----------------------------------------------------------------------------------------+
372 |
373 | + (instancetype)spacingForLeading:(nullable NSCollectionLayoutSpacing *)leading
    | `- note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
374 |                               top:(nullable NSCollectionLayoutSpacing *)top
375 |                          trailing:(nullable NSCollectionLayoutSpacing *)trailing
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:165:47: warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
163 |     @warn_unqualified_access
164 |     public func edgeSpacing(_ edgeSpacing: NSCollectionLayoutEdgeSpacing) -> LayoutBoundarySupplementaryItem {
165 |         valueModifier(edgeSpacing, keyPath: \.edgeSpacing)
    |                                               `- warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
166 |     }
167 | }
[25/42] Compiling CompositionalLayoutDSL BoundarySupplementaryItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:29:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 |     /// Creates a boundary supplementary item of the specified size, with a string to identify the
28 |     /// element kind.
29 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
30 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
31 |                 elementKind: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:30:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
28 |     /// element kind.
29 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
30 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
31 |                 elementKind: String) {
32 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:41:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |     public init(size: NSCollectionLayoutSize,
40 |                 elementKind: String) {
41 |         self.widthDimension = size.widthDimension
   |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 |         self.heightDimension = size.heightDimension
43 |         self.elementKind = elementKind
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:42:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |                 elementKind: String) {
41 |         self.widthDimension = size.widthDimension
42 |         self.heightDimension = size.heightDimension
   |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |         self.elementKind = elementKind
44 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:84:41: warning: call to main actor-isolated initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | extension BoundarySupplementaryItem: BuildableBoundarySupplementaryItem {
83 |     func makeBoundarySupplementaryItem() -> NSCollectionLayoutBoundarySupplementaryItem {
   |          `- note: add '@MainActor' to make instance method 'makeBoundarySupplementaryItem()' part of global actor 'MainActor'
84 |         let boundarySupplementaryItem = NSCollectionLayoutBoundarySupplementaryItem(
   |                                         `- warning: call to main actor-isolated initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 |             layoutSize: NSCollectionLayoutSize(
86 |                 widthDimension: widthDimension,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:472:1: note: calls to initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' from outside of its actor context are implicitly asynchronous
470 |
471 | + (instancetype)boundarySupplementaryItemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize elementKind:(NSString*)elementKind alignment:(NSRectAlignment)alignment;
472 | + (instancetype)boundarySupplementaryItemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize elementKind:(NSString*)elementKind alignment:(NSRectAlignment)alignment absoluteOffset:(NSPoint)absoluteOffset;
    | |- note: calls to initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutSupplementaryItem'
473 | - (instancetype)init NS_UNAVAILABLE;
474 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:85:25: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | extension BoundarySupplementaryItem: BuildableBoundarySupplementaryItem {
83 |     func makeBoundarySupplementaryItem() -> NSCollectionLayoutBoundarySupplementaryItem {
   |          `- note: add '@MainActor' to make instance method 'makeBoundarySupplementaryItem()' part of global actor 'MainActor'
84 |         let boundarySupplementaryItem = NSCollectionLayoutBoundarySupplementaryItem(
85 |             layoutSize: NSCollectionLayoutSize(
   |                         `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 |                 widthDimension: widthDimension,
87 |                 heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:54:51: warning: cannot form key path to main actor-isolated property 'extendsBoundary'; this is an error in the Swift 6 language mode
 52 |     @warn_unqualified_access
 53 |     public func extendsBoundary(_ extendsBoundary: Bool) -> LayoutBoundarySupplementaryItem {
 54 |         valueModifier(extendsBoundary, keyPath: \.extendsBoundary)
    |                                                   `- warning: cannot form key path to main actor-isolated property 'extendsBoundary'; this is an error in the Swift 6 language mode
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:68:54: warning: cannot form key path to main actor-isolated property 'pinToVisibleBounds'; this is an error in the Swift 6 language mode
 66 |     @warn_unqualified_access
 67 |     public func pinToVisibleBounds(_ pinToVisibleBounds: Bool) -> LayoutBoundarySupplementaryItem {
 68 |         valueModifier(pinToVisibleBounds, keyPath: \.pinToVisibleBounds)
    |                                                      `- warning: cannot form key path to main actor-isolated property 'pinToVisibleBounds'; this is an error in the Swift 6 language mode
 69 |     }
 70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:82:42: warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 80 |     @warn_unqualified_access
 81 |     public func zIndex(zIndex: Int) -> LayoutBoundarySupplementaryItem {
 82 |         valueModifier(zIndex, keyPath: \.zIndex)
    |                                          `- warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 83 |     }
 84 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:122:42: warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
120 |     @warn_unqualified_access
121 |     public func contentInsets(_ insets: NSDirectionalEdgeInsets) -> LayoutBoundarySupplementaryItem {
122 |         valueModifier(insets, keyPath: \.contentInsets)
    |                                          `- warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
123 |     }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:157:13: warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
148 |     /// and this item's container.
149 |     @warn_unqualified_access
150 |     public func edgeSpacing(
    |                 `- note: add '@MainActor' to make instance method 'edgeSpacing(top:leading:bottom:trailing:)' part of global actor 'MainActor'
151 |         top: NSCollectionLayoutSpacing? = nil,
152 |         leading: NSCollectionLayoutSpacing? = nil,
    :
155 |     ) -> LayoutBoundarySupplementaryItem {
156 |         return self.edgeSpacing(
157 |             NSCollectionLayoutEdgeSpacing(leading: leading, top: top, trailing: trailing, bottom: bottom)
    |             `- warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
158 |         )
159 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:373:1: note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
371 | //   +-----------------------------------------------------------------------------------------+
372 |
373 | + (instancetype)spacingForLeading:(nullable NSCollectionLayoutSpacing *)leading
    | `- note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
374 |                               top:(nullable NSCollectionLayoutSpacing *)top
375 |                          trailing:(nullable NSCollectionLayoutSpacing *)trailing
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:165:47: warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
163 |     @warn_unqualified_access
164 |     public func edgeSpacing(_ edgeSpacing: NSCollectionLayoutEdgeSpacing) -> LayoutBoundarySupplementaryItem {
165 |         valueModifier(edgeSpacing, keyPath: \.edgeSpacing)
    |                                               `- warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
166 |     }
167 | }
[26/42] Compiling CompositionalLayoutDSL LayoutBoundarySupplementaryItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:29:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 |     /// Creates a boundary supplementary item of the specified size, with a string to identify the
28 |     /// element kind.
29 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
30 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
31 |                 elementKind: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:30:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
28 |     /// element kind.
29 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
30 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
31 |                 elementKind: String) {
32 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:41:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |     public init(size: NSCollectionLayoutSize,
40 |                 elementKind: String) {
41 |         self.widthDimension = size.widthDimension
   |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
42 |         self.heightDimension = size.heightDimension
43 |         self.elementKind = elementKind
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:42:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |                 elementKind: String) {
41 |         self.widthDimension = size.widthDimension
42 |         self.heightDimension = size.heightDimension
   |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |         self.elementKind = elementKind
44 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:84:41: warning: call to main actor-isolated initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | extension BoundarySupplementaryItem: BuildableBoundarySupplementaryItem {
83 |     func makeBoundarySupplementaryItem() -> NSCollectionLayoutBoundarySupplementaryItem {
   |          `- note: add '@MainActor' to make instance method 'makeBoundarySupplementaryItem()' part of global actor 'MainActor'
84 |         let boundarySupplementaryItem = NSCollectionLayoutBoundarySupplementaryItem(
   |                                         `- warning: call to main actor-isolated initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
85 |             layoutSize: NSCollectionLayoutSize(
86 |                 widthDimension: widthDimension,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:472:1: note: calls to initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' from outside of its actor context are implicitly asynchronous
470 |
471 | + (instancetype)boundarySupplementaryItemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize elementKind:(NSString*)elementKind alignment:(NSRectAlignment)alignment;
472 | + (instancetype)boundarySupplementaryItemWithLayoutSize:(NSCollectionLayoutSize*)layoutSize elementKind:(NSString*)elementKind alignment:(NSRectAlignment)alignment absoluteOffset:(NSPoint)absoluteOffset;
    | |- note: calls to initializer 'init(layoutSize:elementKind:alignment:absoluteOffset:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutSupplementaryItem'
473 | - (instancetype)init NS_UNAVAILABLE;
474 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift:85:25: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 |
82 | extension BoundarySupplementaryItem: BuildableBoundarySupplementaryItem {
83 |     func makeBoundarySupplementaryItem() -> NSCollectionLayoutBoundarySupplementaryItem {
   |          `- note: add '@MainActor' to make instance method 'makeBoundarySupplementaryItem()' part of global actor 'MainActor'
84 |         let boundarySupplementaryItem = NSCollectionLayoutBoundarySupplementaryItem(
85 |             layoutSize: NSCollectionLayoutSize(
   |                         `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
86 |                 widthDimension: widthDimension,
87 |                 heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:54:51: warning: cannot form key path to main actor-isolated property 'extendsBoundary'; this is an error in the Swift 6 language mode
 52 |     @warn_unqualified_access
 53 |     public func extendsBoundary(_ extendsBoundary: Bool) -> LayoutBoundarySupplementaryItem {
 54 |         valueModifier(extendsBoundary, keyPath: \.extendsBoundary)
    |                                                   `- warning: cannot form key path to main actor-isolated property 'extendsBoundary'; this is an error in the Swift 6 language mode
 55 |     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:68:54: warning: cannot form key path to main actor-isolated property 'pinToVisibleBounds'; this is an error in the Swift 6 language mode
 66 |     @warn_unqualified_access
 67 |     public func pinToVisibleBounds(_ pinToVisibleBounds: Bool) -> LayoutBoundarySupplementaryItem {
 68 |         valueModifier(pinToVisibleBounds, keyPath: \.pinToVisibleBounds)
    |                                                      `- warning: cannot form key path to main actor-isolated property 'pinToVisibleBounds'; this is an error in the Swift 6 language mode
 69 |     }
 70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:82:42: warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 80 |     @warn_unqualified_access
 81 |     public func zIndex(zIndex: Int) -> LayoutBoundarySupplementaryItem {
 82 |         valueModifier(zIndex, keyPath: \.zIndex)
    |                                          `- warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 83 |     }
 84 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:122:42: warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
120 |     @warn_unqualified_access
121 |     public func contentInsets(_ insets: NSDirectionalEdgeInsets) -> LayoutBoundarySupplementaryItem {
122 |         valueModifier(insets, keyPath: \.contentInsets)
    |                                          `- warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
123 |     }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:157:13: warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
148 |     /// and this item's container.
149 |     @warn_unqualified_access
150 |     public func edgeSpacing(
    |                 `- note: add '@MainActor' to make instance method 'edgeSpacing(top:leading:bottom:trailing:)' part of global actor 'MainActor'
151 |         top: NSCollectionLayoutSpacing? = nil,
152 |         leading: NSCollectionLayoutSpacing? = nil,
    :
155 |     ) -> LayoutBoundarySupplementaryItem {
156 |         return self.edgeSpacing(
157 |             NSCollectionLayoutEdgeSpacing(leading: leading, top: top, trailing: trailing, bottom: bottom)
    |             `- warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
158 |         )
159 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:373:1: note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
371 | //   +-----------------------------------------------------------------------------------------+
372 |
373 | + (instancetype)spacingForLeading:(nullable NSCollectionLayoutSpacing *)leading
    | `- note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
374 |                               top:(nullable NSCollectionLayoutSpacing *)top
375 |                          trailing:(nullable NSCollectionLayoutSpacing *)trailing
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift:165:47: warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
163 |     @warn_unqualified_access
164 |     public func edgeSpacing(_ edgeSpacing: NSCollectionLayoutEdgeSpacing) -> LayoutBoundarySupplementaryItem {
165 |         valueModifier(edgeSpacing, keyPath: \.edgeSpacing)
    |                                               `- warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
166 |     }
167 | }
[27/42] Compiling CompositionalLayoutDSL ModifiedLayoutConfiguration.swift
[28/42] Compiling CompositionalLayoutDSL ModifiedLayoutDecorationItem.swift
[29/42] Compiling CompositionalLayoutDSL ModifiedLayoutGroup.swift
[30/42] Compiling CompositionalLayoutDSL ModifiedLayoutItem.swift
[31/42] Compiling CompositionalLayoutDSL ItemBuilder.swift
[32/42] Compiling CompositionalLayoutDSL SectionBuilder.swift
[33/42] Compiling CompositionalLayoutDSL SupplementaryItemBuilder.swift
[34/42] Compiling CompositionalLayoutDSL ModifiedLayoutBoundarySupplementaryItem.swift
[35/42] Compiling CompositionalLayoutDSL CompositionalLayout.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | extension CompositionalLayout {
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
    |          `- note: add '@MainActor' to make instance method 'makeCollectionViewCompositionalLayout()' part of global actor 'MainActor'
121 |         return NSCollectionViewCompositionalLayout(
    |                `- warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:100:1: note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
100 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
101 |
102 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayoutDSL.swift:30:12: warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | #if os(macOS)
25 | /// Converts a layout configuration and a layout section into an `NSCollectionViewCompositionalLayout`
26 | public func LayoutBuilder(
   |             `- note: add '@MainActor' to make global function 'LayoutBuilder(configuration:layoutSection:)' part of global actor 'MainActor'
27 |     configuration: LayoutConfiguration = Configuration(),
28 |     layoutSection: () -> LayoutSection
29 | ) -> NSCollectionViewCompositionalLayout {
30 |     return NSCollectionViewCompositionalLayout(
   |            `- warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         section: SectionBuilder.make(from: layoutSection()),
32 |         configuration: ConfigurationBuilder.make(from: configuration)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:97:1: note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
 95 | @interface NSCollectionViewCompositionalLayout : NSCollectionViewLayout
 96 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
 97 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/Configuration.swift:32:16: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 |
29 | extension Configuration: BuildableConfiguration {
30 |     func makeConfiguration() -> ConfigurationBuilder.TransformedType {
   |          `- note: add '@MainActor' to make instance method 'makeConfiguration()' part of global actor 'MainActor'
31 |         #if os(macOS)
32 |         return NSCollectionViewCompositionalLayoutConfiguration()
   |                `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 |         #else
34 |         return UICollectionViewCompositionalLayoutConfiguration()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 64 |
 65 | + (void)initialize;
 66 | - (instancetype)init
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
 68 |     NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:49:51: warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
47 |         _ scrollDirection: NSCollectionView.ScrollDirection
48 |     ) -> LayoutConfiguration {
49 |         valueModifier(scrollDirection, keyPath: \.scrollDirection)
   |                                                   `- warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
50 |     }
51 |     #else
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:68:55: warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
66 |     @warn_unqualified_access
67 |     public func interSectionSpacing(_ interSectionSpacing: CGFloat) -> LayoutConfiguration {
68 |         valueModifier(interSectionSpacing, keyPath: \.interSectionSpacing)
   |                                                       `- warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
69 |     }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:81:16: warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 |             .map(BoundarySupplementaryItemBuilder.make(from:))
80 |         return valueModifier {
81 |             $0.boundarySupplementaryItems.append(contentsOf: boundarySupplementaryItems)
   |                `- warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
82 |         }
83 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:89:72: note: mutation of this property is only permitted within the actor
 87 | @property NSCollectionViewScrollDirection scrollDirection;
 88 | @property CGFloat interSectionSpacing;
 89 | @property(copy) NSArray<NSCollectionLayoutBoundarySupplementaryItem*> *boundarySupplementaryItems;
    |                                                                        `- note: mutation of this property is only permitted within the actor
 90 | @end
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
121 |         return NSCollectionViewCompositionalLayout(
    |                |- warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
    |                `- note: sending task-isolated value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' to main actor-isolated initializer 'init(sectionProvider:configuration:)' risks causing races in between task-isolated and main actor-isolated uses
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
[36/42] Compiling CompositionalLayoutDSL CompositionalLayoutDSL.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | extension CompositionalLayout {
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
    |          `- note: add '@MainActor' to make instance method 'makeCollectionViewCompositionalLayout()' part of global actor 'MainActor'
121 |         return NSCollectionViewCompositionalLayout(
    |                `- warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:100:1: note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
100 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
101 |
102 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayoutDSL.swift:30:12: warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | #if os(macOS)
25 | /// Converts a layout configuration and a layout section into an `NSCollectionViewCompositionalLayout`
26 | public func LayoutBuilder(
   |             `- note: add '@MainActor' to make global function 'LayoutBuilder(configuration:layoutSection:)' part of global actor 'MainActor'
27 |     configuration: LayoutConfiguration = Configuration(),
28 |     layoutSection: () -> LayoutSection
29 | ) -> NSCollectionViewCompositionalLayout {
30 |     return NSCollectionViewCompositionalLayout(
   |            `- warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         section: SectionBuilder.make(from: layoutSection()),
32 |         configuration: ConfigurationBuilder.make(from: configuration)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:97:1: note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
 95 | @interface NSCollectionViewCompositionalLayout : NSCollectionViewLayout
 96 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
 97 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/Configuration.swift:32:16: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 |
29 | extension Configuration: BuildableConfiguration {
30 |     func makeConfiguration() -> ConfigurationBuilder.TransformedType {
   |          `- note: add '@MainActor' to make instance method 'makeConfiguration()' part of global actor 'MainActor'
31 |         #if os(macOS)
32 |         return NSCollectionViewCompositionalLayoutConfiguration()
   |                `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 |         #else
34 |         return UICollectionViewCompositionalLayoutConfiguration()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 64 |
 65 | + (void)initialize;
 66 | - (instancetype)init
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
 68 |     NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:49:51: warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
47 |         _ scrollDirection: NSCollectionView.ScrollDirection
48 |     ) -> LayoutConfiguration {
49 |         valueModifier(scrollDirection, keyPath: \.scrollDirection)
   |                                                   `- warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
50 |     }
51 |     #else
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:68:55: warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
66 |     @warn_unqualified_access
67 |     public func interSectionSpacing(_ interSectionSpacing: CGFloat) -> LayoutConfiguration {
68 |         valueModifier(interSectionSpacing, keyPath: \.interSectionSpacing)
   |                                                       `- warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
69 |     }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:81:16: warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 |             .map(BoundarySupplementaryItemBuilder.make(from:))
80 |         return valueModifier {
81 |             $0.boundarySupplementaryItems.append(contentsOf: boundarySupplementaryItems)
   |                `- warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
82 |         }
83 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:89:72: note: mutation of this property is only permitted within the actor
 87 | @property NSCollectionViewScrollDirection scrollDirection;
 88 | @property CGFloat interSectionSpacing;
 89 | @property(copy) NSArray<NSCollectionLayoutBoundarySupplementaryItem*> *boundarySupplementaryItems;
    |                                                                        `- note: mutation of this property is only permitted within the actor
 90 | @end
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
121 |         return NSCollectionViewCompositionalLayout(
    |                |- warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
    |                `- note: sending task-isolated value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' to main actor-isolated initializer 'init(sectionProvider:configuration:)' risks causing races in between task-isolated and main actor-isolated uses
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
[37/42] Compiling CompositionalLayoutDSL Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | extension CompositionalLayout {
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
    |          `- note: add '@MainActor' to make instance method 'makeCollectionViewCompositionalLayout()' part of global actor 'MainActor'
121 |         return NSCollectionViewCompositionalLayout(
    |                `- warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:100:1: note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
100 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
101 |
102 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayoutDSL.swift:30:12: warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | #if os(macOS)
25 | /// Converts a layout configuration and a layout section into an `NSCollectionViewCompositionalLayout`
26 | public func LayoutBuilder(
   |             `- note: add '@MainActor' to make global function 'LayoutBuilder(configuration:layoutSection:)' part of global actor 'MainActor'
27 |     configuration: LayoutConfiguration = Configuration(),
28 |     layoutSection: () -> LayoutSection
29 | ) -> NSCollectionViewCompositionalLayout {
30 |     return NSCollectionViewCompositionalLayout(
   |            `- warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         section: SectionBuilder.make(from: layoutSection()),
32 |         configuration: ConfigurationBuilder.make(from: configuration)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:97:1: note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
 95 | @interface NSCollectionViewCompositionalLayout : NSCollectionViewLayout
 96 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
 97 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/Configuration.swift:32:16: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 |
29 | extension Configuration: BuildableConfiguration {
30 |     func makeConfiguration() -> ConfigurationBuilder.TransformedType {
   |          `- note: add '@MainActor' to make instance method 'makeConfiguration()' part of global actor 'MainActor'
31 |         #if os(macOS)
32 |         return NSCollectionViewCompositionalLayoutConfiguration()
   |                `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 |         #else
34 |         return UICollectionViewCompositionalLayoutConfiguration()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 64 |
 65 | + (void)initialize;
 66 | - (instancetype)init
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
 68 |     NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:49:51: warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
47 |         _ scrollDirection: NSCollectionView.ScrollDirection
48 |     ) -> LayoutConfiguration {
49 |         valueModifier(scrollDirection, keyPath: \.scrollDirection)
   |                                                   `- warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
50 |     }
51 |     #else
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:68:55: warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
66 |     @warn_unqualified_access
67 |     public func interSectionSpacing(_ interSectionSpacing: CGFloat) -> LayoutConfiguration {
68 |         valueModifier(interSectionSpacing, keyPath: \.interSectionSpacing)
   |                                                       `- warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
69 |     }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:81:16: warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 |             .map(BoundarySupplementaryItemBuilder.make(from:))
80 |         return valueModifier {
81 |             $0.boundarySupplementaryItems.append(contentsOf: boundarySupplementaryItems)
   |                `- warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
82 |         }
83 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:89:72: note: mutation of this property is only permitted within the actor
 87 | @property NSCollectionViewScrollDirection scrollDirection;
 88 | @property CGFloat interSectionSpacing;
 89 | @property(copy) NSArray<NSCollectionLayoutBoundarySupplementaryItem*> *boundarySupplementaryItems;
    |                                                                        `- note: mutation of this property is only permitted within the actor
 90 | @end
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
121 |         return NSCollectionViewCompositionalLayout(
    |                |- warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
    |                `- note: sending task-isolated value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' to main actor-isolated initializer 'init(sectionProvider:configuration:)' risks causing races in between task-isolated and main actor-isolated uses
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
[38/42] Compiling CompositionalLayoutDSL LayoutConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | extension CompositionalLayout {
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
    |          `- note: add '@MainActor' to make instance method 'makeCollectionViewCompositionalLayout()' part of global actor 'MainActor'
121 |         return NSCollectionViewCompositionalLayout(
    |                `- warning: call to main actor-isolated initializer 'init(sectionProvider:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:100:1: note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
100 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(sectionProvider:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
101 |
102 | - (instancetype)init NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayoutDSL.swift:30:12: warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | #if os(macOS)
25 | /// Converts a layout configuration and a layout section into an `NSCollectionViewCompositionalLayout`
26 | public func LayoutBuilder(
   |             `- note: add '@MainActor' to make global function 'LayoutBuilder(configuration:layoutSection:)' part of global actor 'MainActor'
27 |     configuration: LayoutConfiguration = Configuration(),
28 |     layoutSection: () -> LayoutSection
29 | ) -> NSCollectionViewCompositionalLayout {
30 |     return NSCollectionViewCompositionalLayout(
   |            `- warning: call to main actor-isolated initializer 'init(section:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 |         section: SectionBuilder.make(from: layoutSection()),
32 |         configuration: ConfigurationBuilder.make(from: configuration)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:97:1: note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
 95 | @interface NSCollectionViewCompositionalLayout : NSCollectionViewLayout
 96 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section;
 97 | - (instancetype)initWithSection:(NSCollectionLayoutSection*)section configuration:(NSCollectionViewCompositionalLayoutConfiguration*)configuration;
    | |- note: calls to initializer 'init(section:configuration:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSCollectionViewLayout'
 98 |
 99 | - (instancetype)initWithSectionProvider:(NSCollectionViewCompositionalLayoutSectionProvider)sectionProvider;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/Configuration.swift:32:16: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 |
29 | extension Configuration: BuildableConfiguration {
30 |     func makeConfiguration() -> ConfigurationBuilder.TransformedType {
   |          `- note: add '@MainActor' to make instance method 'makeConfiguration()' part of global actor 'MainActor'
31 |         #if os(macOS)
32 |         return NSCollectionViewCompositionalLayoutConfiguration()
   |                `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 |         #else
34 |         return UICollectionViewCompositionalLayoutConfiguration()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include/objc/NSObject.h:66:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 64 |
 65 | + (void)initialize;
 66 | - (instancetype)init
    | `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 67 | #if NS_ENFORCE_NSOBJECT_DESIGNATED_INITIALIZER
 68 |     NS_DESIGNATED_INITIALIZER
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:49:51: warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
47 |         _ scrollDirection: NSCollectionView.ScrollDirection
48 |     ) -> LayoutConfiguration {
49 |         valueModifier(scrollDirection, keyPath: \.scrollDirection)
   |                                                   `- warning: cannot form key path to main actor-isolated property 'scrollDirection'; this is an error in the Swift 6 language mode
50 |     }
51 |     #else
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:68:55: warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
66 |     @warn_unqualified_access
67 |     public func interSectionSpacing(_ interSectionSpacing: CGFloat) -> LayoutConfiguration {
68 |         valueModifier(interSectionSpacing, keyPath: \.interSectionSpacing)
   |                                                       `- warning: cannot form key path to main actor-isolated property 'interSectionSpacing'; this is an error in the Swift 6 language mode
69 |     }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Configuration/LayoutConfiguration.swift:81:16: warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 |             .map(BoundarySupplementaryItemBuilder.make(from:))
80 |         return valueModifier {
81 |             $0.boundarySupplementaryItems.append(contentsOf: boundarySupplementaryItems)
   |                `- warning: main actor-isolated property 'boundarySupplementaryItems' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
82 |         }
83 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:89:72: note: mutation of this property is only permitted within the actor
 87 | @property NSCollectionViewScrollDirection scrollDirection;
 88 | @property CGFloat interSectionSpacing;
 89 | @property(copy) NSArray<NSCollectionLayoutBoundarySupplementaryItem*> *boundarySupplementaryItems;
    |                                                                        `- note: mutation of this property is only permitted within the actor
 90 | @end
 91 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/CompositionalLayout.swift:121:16: warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
119 |     #if os(macOS)
120 |     func makeCollectionViewCompositionalLayout() -> NSCollectionViewCompositionalLayout {
121 |         return NSCollectionViewCompositionalLayout(
    |                |- warning: sending value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' risks causing data races; this is an error in the Swift 6 language mode
    |                `- note: sending task-isolated value of non-Sendable type '(Int, any NSCollectionLayoutEnvironment) -> NSCollectionLayoutSection?' to main actor-isolated initializer 'init(sectionProvider:configuration:)' risks causing races in between task-isolated and main actor-isolated uses
122 |             sectionProvider: { section, environment in
123 |                 return sectionBuilder(section, environment).map(SectionBuilder.make(from:))
[39/42] Compiling CompositionalLayoutDSL DecorationItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/DecorationItem.swift:35:63: warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |
33 | extension DecorationItem: BuildableDecorationItem {
34 |     func makeDecorationItem() -> NSCollectionLayoutDecorationItem {
   |          `- note: add '@MainActor' to make instance method 'makeDecorationItem()' part of global actor 'MainActor'
35 |         let decorationItem = NSCollectionLayoutDecorationItem.background(elementKind: elementKind)
   |                                                               `- warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |         return decorationItem
37 |     }
AppKit.NSCollectionLayoutDecorationItem.background:2:28: note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDecorationItem {
2 | @MainActor open class func background(elementKind: String) -> Self}
  |                            |- note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:52:42: warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 50 |     @warn_unqualified_access
 51 |     public func zIndex(zIndex: Int) -> LayoutDecorationItem {
 52 |         valueModifier(zIndex, keyPath: \.zIndex)
    |                                          `- warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 53 |     }
 54 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:92:42: warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 90 |     @warn_unqualified_access
 91 |     public func contentInsets(_ insets: NSDirectionalEdgeInsets) -> LayoutDecorationItem {
 92 |         valueModifier(insets, keyPath: \.contentInsets)
    |                                          `- warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 93 |     }
 94 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:127:13: warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |     /// and this item's container.
119 |     @warn_unqualified_access
120 |     public func edgeSpacing(
    |                 `- note: add '@MainActor' to make instance method 'edgeSpacing(top:leading:bottom:trailing:)' part of global actor 'MainActor'
121 |         top: NSCollectionLayoutSpacing? = nil,
122 |         leading: NSCollectionLayoutSpacing? = nil,
    :
125 |     ) -> LayoutDecorationItem {
126 |         return self.edgeSpacing(
127 |             NSCollectionLayoutEdgeSpacing(leading: leading, top: top, trailing: trailing, bottom: bottom)
    |             `- warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |         )
129 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:373:1: note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
371 | //   +-----------------------------------------------------------------------------------------+
372 |
373 | + (instancetype)spacingForLeading:(nullable NSCollectionLayoutSpacing *)leading
    | `- note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
374 |                               top:(nullable NSCollectionLayoutSpacing *)top
375 |                          trailing:(nullable NSCollectionLayoutSpacing *)trailing
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:135:47: warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
133 |     @warn_unqualified_access
134 |     public func edgeSpacing(_ edgeSpacing: NSCollectionLayoutEdgeSpacing) -> LayoutDecorationItem {
135 |         valueModifier(edgeSpacing, keyPath: \.edgeSpacing)
    |                                               `- warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
136 |     }
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:26:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 |     /// Creates a group of the specified size, with an item provider that creates a custom
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:27:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
29 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:38:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 |     public init(size: NSCollectionLayoutSize,
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
   |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |         self.heightDimension = size.heightDimension
40 |         self.itemProvider = itemProvider
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:39:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
39 |         self.heightDimension = size.heightDimension
   |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |         self.itemProvider = itemProvider
41 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:73:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
   |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             `- warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 |         return group
79 |     }
AppKit.NSCollectionLayoutGroup.custom:2:28: note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func custom(layoutSize: NSCollectionLayoutSize, itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) -> Self}
  |                            |- note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:30:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 28 |
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:31:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 33 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:48:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 46 |     /// Creates a group of the specified size, containing an array of equally sized items arranged
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 50 |                 count: Int,
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:49:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 50 |                 count: Int,
 51 |                 subItem: () -> LayoutItem) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:41:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |     public init(size: NSCollectionLayoutSize,
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |         self.heightDimension = size.heightDimension
 43 |         self.subItems = .list(subItems())
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:42:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
 42 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 43 |         self.subItems = .list(subItems())
 44 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:62:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 60 |                 count: Int,
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 63 |         self.heightDimension = size.heightDimension
 64 |         self.subItems = .repeated(subItem(), count: count)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:63:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
 63 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 64 |         self.subItems = .repeated(subItem(), count: count)
 65 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:97:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
    |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |             widthDimension: widthDimension,
 99 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:104:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
102 |         switch subItems {
103 |         case let .list(items):
104 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |                 layoutSize: size,
106 |                 subitems: items.map(ItemBuilder.make(from:))
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitems: [NSCollectionLayoutItem]) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:109:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
107 |             )
108 |         case let .repeated(item, count):
109 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 |                 layoutSize: size,
111 |                 subitem: ItemBuilder.make(from: item),
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitem: NSCollectionLayoutItem, count: Int) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             |- warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
   |                                             `- note: sending task-isolated value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') to main actor-isolated class method 'custom(layoutSize:itemProvider:)' risks causing races in between task-isolated and main actor-isolated uses
78 |         return group
79 |     }
[40/42] Compiling CompositionalLayoutDSL LayoutDecorationItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/DecorationItem.swift:35:63: warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |
33 | extension DecorationItem: BuildableDecorationItem {
34 |     func makeDecorationItem() -> NSCollectionLayoutDecorationItem {
   |          `- note: add '@MainActor' to make instance method 'makeDecorationItem()' part of global actor 'MainActor'
35 |         let decorationItem = NSCollectionLayoutDecorationItem.background(elementKind: elementKind)
   |                                                               `- warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |         return decorationItem
37 |     }
AppKit.NSCollectionLayoutDecorationItem.background:2:28: note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDecorationItem {
2 | @MainActor open class func background(elementKind: String) -> Self}
  |                            |- note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:52:42: warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 50 |     @warn_unqualified_access
 51 |     public func zIndex(zIndex: Int) -> LayoutDecorationItem {
 52 |         valueModifier(zIndex, keyPath: \.zIndex)
    |                                          `- warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 53 |     }
 54 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:92:42: warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 90 |     @warn_unqualified_access
 91 |     public func contentInsets(_ insets: NSDirectionalEdgeInsets) -> LayoutDecorationItem {
 92 |         valueModifier(insets, keyPath: \.contentInsets)
    |                                          `- warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 93 |     }
 94 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:127:13: warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |     /// and this item's container.
119 |     @warn_unqualified_access
120 |     public func edgeSpacing(
    |                 `- note: add '@MainActor' to make instance method 'edgeSpacing(top:leading:bottom:trailing:)' part of global actor 'MainActor'
121 |         top: NSCollectionLayoutSpacing? = nil,
122 |         leading: NSCollectionLayoutSpacing? = nil,
    :
125 |     ) -> LayoutDecorationItem {
126 |         return self.edgeSpacing(
127 |             NSCollectionLayoutEdgeSpacing(leading: leading, top: top, trailing: trailing, bottom: bottom)
    |             `- warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |         )
129 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:373:1: note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
371 | //   +-----------------------------------------------------------------------------------------+
372 |
373 | + (instancetype)spacingForLeading:(nullable NSCollectionLayoutSpacing *)leading
    | `- note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
374 |                               top:(nullable NSCollectionLayoutSpacing *)top
375 |                          trailing:(nullable NSCollectionLayoutSpacing *)trailing
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:135:47: warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
133 |     @warn_unqualified_access
134 |     public func edgeSpacing(_ edgeSpacing: NSCollectionLayoutEdgeSpacing) -> LayoutDecorationItem {
135 |         valueModifier(edgeSpacing, keyPath: \.edgeSpacing)
    |                                               `- warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
136 |     }
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:26:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 |     /// Creates a group of the specified size, with an item provider that creates a custom
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:27:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
29 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:38:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 |     public init(size: NSCollectionLayoutSize,
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
   |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |         self.heightDimension = size.heightDimension
40 |         self.itemProvider = itemProvider
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:39:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
39 |         self.heightDimension = size.heightDimension
   |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |         self.itemProvider = itemProvider
41 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:73:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
   |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             `- warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 |         return group
79 |     }
AppKit.NSCollectionLayoutGroup.custom:2:28: note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func custom(layoutSize: NSCollectionLayoutSize, itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) -> Self}
  |                            |- note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:30:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 28 |
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:31:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 33 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:48:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 46 |     /// Creates a group of the specified size, containing an array of equally sized items arranged
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 50 |                 count: Int,
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:49:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 50 |                 count: Int,
 51 |                 subItem: () -> LayoutItem) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:41:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |     public init(size: NSCollectionLayoutSize,
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |         self.heightDimension = size.heightDimension
 43 |         self.subItems = .list(subItems())
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:42:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
 42 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 43 |         self.subItems = .list(subItems())
 44 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:62:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 60 |                 count: Int,
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 63 |         self.heightDimension = size.heightDimension
 64 |         self.subItems = .repeated(subItem(), count: count)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:63:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
 63 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 64 |         self.subItems = .repeated(subItem(), count: count)
 65 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:97:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
    |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |             widthDimension: widthDimension,
 99 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:104:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
102 |         switch subItems {
103 |         case let .list(items):
104 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |                 layoutSize: size,
106 |                 subitems: items.map(ItemBuilder.make(from:))
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitems: [NSCollectionLayoutItem]) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:109:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
107 |             )
108 |         case let .repeated(item, count):
109 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 |                 layoutSize: size,
111 |                 subitem: ItemBuilder.make(from: item),
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitem: NSCollectionLayoutItem, count: Int) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             |- warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
   |                                             `- note: sending task-isolated value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') to main actor-isolated class method 'custom(layoutSize:itemProvider:)' risks causing races in between task-isolated and main actor-isolated uses
78 |         return group
79 |     }
[41/42] Compiling CompositionalLayoutDSL CustomGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/DecorationItem.swift:35:63: warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |
33 | extension DecorationItem: BuildableDecorationItem {
34 |     func makeDecorationItem() -> NSCollectionLayoutDecorationItem {
   |          `- note: add '@MainActor' to make instance method 'makeDecorationItem()' part of global actor 'MainActor'
35 |         let decorationItem = NSCollectionLayoutDecorationItem.background(elementKind: elementKind)
   |                                                               `- warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |         return decorationItem
37 |     }
AppKit.NSCollectionLayoutDecorationItem.background:2:28: note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDecorationItem {
2 | @MainActor open class func background(elementKind: String) -> Self}
  |                            |- note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:52:42: warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 50 |     @warn_unqualified_access
 51 |     public func zIndex(zIndex: Int) -> LayoutDecorationItem {
 52 |         valueModifier(zIndex, keyPath: \.zIndex)
    |                                          `- warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 53 |     }
 54 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:92:42: warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 90 |     @warn_unqualified_access
 91 |     public func contentInsets(_ insets: NSDirectionalEdgeInsets) -> LayoutDecorationItem {
 92 |         valueModifier(insets, keyPath: \.contentInsets)
    |                                          `- warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 93 |     }
 94 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:127:13: warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |     /// and this item's container.
119 |     @warn_unqualified_access
120 |     public func edgeSpacing(
    |                 `- note: add '@MainActor' to make instance method 'edgeSpacing(top:leading:bottom:trailing:)' part of global actor 'MainActor'
121 |         top: NSCollectionLayoutSpacing? = nil,
122 |         leading: NSCollectionLayoutSpacing? = nil,
    :
125 |     ) -> LayoutDecorationItem {
126 |         return self.edgeSpacing(
127 |             NSCollectionLayoutEdgeSpacing(leading: leading, top: top, trailing: trailing, bottom: bottom)
    |             `- warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |         )
129 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:373:1: note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
371 | //   +-----------------------------------------------------------------------------------------+
372 |
373 | + (instancetype)spacingForLeading:(nullable NSCollectionLayoutSpacing *)leading
    | `- note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
374 |                               top:(nullable NSCollectionLayoutSpacing *)top
375 |                          trailing:(nullable NSCollectionLayoutSpacing *)trailing
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:135:47: warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
133 |     @warn_unqualified_access
134 |     public func edgeSpacing(_ edgeSpacing: NSCollectionLayoutEdgeSpacing) -> LayoutDecorationItem {
135 |         valueModifier(edgeSpacing, keyPath: \.edgeSpacing)
    |                                               `- warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
136 |     }
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:26:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 |     /// Creates a group of the specified size, with an item provider that creates a custom
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:27:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
29 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:38:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 |     public init(size: NSCollectionLayoutSize,
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
   |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |         self.heightDimension = size.heightDimension
40 |         self.itemProvider = itemProvider
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:39:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
39 |         self.heightDimension = size.heightDimension
   |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |         self.itemProvider = itemProvider
41 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:73:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
   |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             `- warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 |         return group
79 |     }
AppKit.NSCollectionLayoutGroup.custom:2:28: note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func custom(layoutSize: NSCollectionLayoutSize, itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) -> Self}
  |                            |- note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:30:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 28 |
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:31:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 33 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:48:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 46 |     /// Creates a group of the specified size, containing an array of equally sized items arranged
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 50 |                 count: Int,
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:49:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 50 |                 count: Int,
 51 |                 subItem: () -> LayoutItem) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:41:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |     public init(size: NSCollectionLayoutSize,
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |         self.heightDimension = size.heightDimension
 43 |         self.subItems = .list(subItems())
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:42:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
 42 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 43 |         self.subItems = .list(subItems())
 44 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:62:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 60 |                 count: Int,
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 63 |         self.heightDimension = size.heightDimension
 64 |         self.subItems = .repeated(subItem(), count: count)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:63:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
 63 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 64 |         self.subItems = .repeated(subItem(), count: count)
 65 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:97:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
    |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |             widthDimension: widthDimension,
 99 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:104:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
102 |         switch subItems {
103 |         case let .list(items):
104 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |                 layoutSize: size,
106 |                 subitems: items.map(ItemBuilder.make(from:))
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitems: [NSCollectionLayoutItem]) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:109:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
107 |             )
108 |         case let .repeated(item, count):
109 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 |                 layoutSize: size,
111 |                 subitem: ItemBuilder.make(from: item),
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitem: NSCollectionLayoutItem, count: Int) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             |- warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
   |                                             `- note: sending task-isolated value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') to main actor-isolated class method 'custom(layoutSize:itemProvider:)' risks causing races in between task-isolated and main actor-isolated uses
78 |         return group
79 |     }
[42/42] Compiling CompositionalLayoutDSL HGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/DecorationItem.swift:35:63: warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 |
33 | extension DecorationItem: BuildableDecorationItem {
34 |     func makeDecorationItem() -> NSCollectionLayoutDecorationItem {
   |          `- note: add '@MainActor' to make instance method 'makeDecorationItem()' part of global actor 'MainActor'
35 |         let decorationItem = NSCollectionLayoutDecorationItem.background(elementKind: elementKind)
   |                                                               `- warning: call to main actor-isolated class method 'background(elementKind:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
36 |         return decorationItem
37 |     }
AppKit.NSCollectionLayoutDecorationItem.background:2:28: note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDecorationItem {
2 | @MainActor open class func background(elementKind: String) -> Self}
  |                            |- note: calls to class method 'background(elementKind:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:52:42: warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 50 |     @warn_unqualified_access
 51 |     public func zIndex(zIndex: Int) -> LayoutDecorationItem {
 52 |         valueModifier(zIndex, keyPath: \.zIndex)
    |                                          `- warning: cannot form key path to main actor-isolated property 'zIndex'; this is an error in the Swift 6 language mode
 53 |     }
 54 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:92:42: warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 90 |     @warn_unqualified_access
 91 |     public func contentInsets(_ insets: NSDirectionalEdgeInsets) -> LayoutDecorationItem {
 92 |         valueModifier(insets, keyPath: \.contentInsets)
    |                                          `- warning: cannot form key path to main actor-isolated property 'contentInsets'; this is an error in the Swift 6 language mode
 93 |     }
 94 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:127:13: warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 |     /// and this item's container.
119 |     @warn_unqualified_access
120 |     public func edgeSpacing(
    |                 `- note: add '@MainActor' to make instance method 'edgeSpacing(top:leading:bottom:trailing:)' part of global actor 'MainActor'
121 |         top: NSCollectionLayoutSpacing? = nil,
122 |         leading: NSCollectionLayoutSpacing? = nil,
    :
125 |     ) -> LayoutDecorationItem {
126 |         return self.edgeSpacing(
127 |             NSCollectionLayoutEdgeSpacing(leading: leading, top: top, trailing: trailing, bottom: bottom)
    |             `- warning: call to main actor-isolated initializer 'init(leading:top:trailing:bottom:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
128 |         )
129 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:373:1: note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
371 | //   +-----------------------------------------------------------------------------------------+
372 |
373 | + (instancetype)spacingForLeading:(nullable NSCollectionLayoutSpacing *)leading
    | `- note: calls to initializer 'init(leading:top:trailing:bottom:)' from outside of its actor context are implicitly asynchronous
374 |                               top:(nullable NSCollectionLayoutSpacing *)top
375 |                          trailing:(nullable NSCollectionLayoutSpacing *)trailing
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/DecorationItem/LayoutDecorationItem.swift:135:47: warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
133 |     @warn_unqualified_access
134 |     public func edgeSpacing(_ edgeSpacing: NSCollectionLayoutEdgeSpacing) -> LayoutDecorationItem {
135 |         valueModifier(edgeSpacing, keyPath: \.edgeSpacing)
    |                                               `- warning: cannot form key path to main actor-isolated property 'edgeSpacing'; this is an error in the Swift 6 language mode
136 |     }
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:26:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 |     /// Creates a group of the specified size, with an item provider that creates a custom
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:27:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
25 |     /// arrangement for those items.
26 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
27 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
   |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
28 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
29 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:38:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
36 |     public init(size: NSCollectionLayoutSize,
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
   |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |         self.heightDimension = size.heightDimension
40 |         self.itemProvider = itemProvider
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:39:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |                 itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
38 |         self.widthDimension = size.widthDimension
39 |         self.heightDimension = size.heightDimension
   |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
40 |         self.itemProvider = itemProvider
41 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:45:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |     /// Creates a group with an item provider that creates a custom arrangement for those items.
44 |     public init(itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) {
45 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), itemProvider: itemProvider)
   |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |     }
47 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:73:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
   |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | extension CustomGroup: BuildableGroup {
72 |     func makeGroup() -> NSCollectionLayoutGroup {
   |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
73 |         let size = NSCollectionLayoutSize(
74 |             widthDimension: widthDimension,
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             `- warning: call to main actor-isolated class method 'custom(layoutSize:itemProvider:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 |         return group
79 |     }
AppKit.NSCollectionLayoutGroup.custom:2:28: note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func custom(layoutSize: NSCollectionLayoutSize, itemProvider: @escaping NSCollectionLayoutGroupCustomItemProvider) -> Self}
  |                            |- note: calls to class method 'custom(layoutSize:itemProvider:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:30:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 28 |
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:31:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 29 |     /// Creates a group of the specified size, containing an array of items arranged in a horizontal line.
 30 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 31 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 32 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 33 |         self.widthDimension = width
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:48:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 46 |     /// Creates a group of the specified size, containing an array of equally sized items arranged
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
 50 |                 count: Int,
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:49:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 47 |     /// in a horizontal line up to the number specified by count.
 48 |     public init(width: NSCollectionLayoutDimension = .fractionalWidth(1),
 49 |                 height: NSCollectionLayoutDimension = .fractionalHeight(1),
    |                 `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 50 |                 count: Int,
 51 |                 subItem: () -> LayoutItem) {
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:41:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 39 |     public init(size: NSCollectionLayoutSize,
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |         self.heightDimension = size.heightDimension
 43 |         self.subItems = .list(subItems())
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:42:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 |                 @LayoutItemBuilder subItems: () -> [LayoutItem]) {
 41 |         self.widthDimension = size.widthDimension
 42 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 43 |         self.subItems = .list(subItems())
 44 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:62:36: warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 60 |                 count: Int,
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
    |                                    `- warning: main actor-isolated property 'widthDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 63 |         self.heightDimension = size.heightDimension
 64 |         self.subItems = .repeated(subItem(), count: count)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:327:50: note: property declared here
325 | + (instancetype)new NS_UNAVAILABLE;
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
    |                                                  `- note: property declared here
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
329 | @end
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:63:37: warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |                 subItem: () -> LayoutItem) {
 62 |         self.widthDimension = size.widthDimension
 63 |         self.heightDimension = size.heightDimension
    |                                     `- warning: main actor-isolated property 'heightDimension' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 64 |         self.subItems = .repeated(subItem(), count: count)
 65 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:328:50: note: property declared here
326 |
327 | @property(readonly) NSCollectionLayoutDimension *widthDimension;
328 | @property(readonly) NSCollectionLayoutDimension *heightDimension;
    |                                                  `- note: property declared here
329 | @end
330 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:27: warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                           `- warning: call to main actor-isolated class method 'fractionalWidth' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalWidth:2:28: note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalWidth(_ fractionalWidth: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalWidth' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:69:56: warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     /// Creates a group containing an array of items arranged in a horizontal line.
 68 |     public init(@LayoutItemBuilder subItems: () -> [LayoutItem]) {
 69 |         self.init(width: .fractionalWidth(1), height: .fractionalHeight(1), subItems: subItems)
    |                                                        `- warning: call to main actor-isolated class method 'fractionalHeight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |     }
 71 |
AppKit.NSCollectionLayoutDimension.fractionalHeight:2:28: note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutDimension {
2 | @MainActor open class func fractionalHeight(_ fractionalHeight: CGFloat) -> Self}
  |                            `- note: calls to class method 'fractionalHeight' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:97:20: warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
    |                    `- warning: call to main actor-isolated initializer 'init(widthDimension:heightDimension:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |             widthDimension: widthDimension,
 99 |             heightDimension: heightDimension
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCollectionViewCompositionalLayout.h:323:1: note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
321 | API_AVAILABLE(macos(10.15)) NS_SWIFT_UI_ACTOR
322 | @interface NSCollectionLayoutSize : NSObject<NSCopying>
323 | + (instancetype)sizeWithWidthDimension:(NSCollectionLayoutDimension*)width heightDimension:(NSCollectionLayoutDimension*)height;
    | `- note: calls to initializer 'init(widthDimension:heightDimension:)' from outside of its actor context are implicitly asynchronous
324 | - (instancetype)init NS_UNAVAILABLE;
325 | + (instancetype)new NS_UNAVAILABLE;
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:104:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
102 |         switch subItems {
103 |         case let .list(items):
104 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitems:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
105 |                 layoutSize: size,
106 |                 subitems: items.map(ItemBuilder.make(from:))
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitems: [NSCollectionLayoutItem]) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitems:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/HGroup.swift:109:45: warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |
 95 | extension HGroup: BuildableGroup {
 96 |     func makeGroup() -> NSCollectionLayoutGroup {
    |          `- note: add '@MainActor' to make instance method 'makeGroup()' part of global actor 'MainActor'
 97 |         let size = NSCollectionLayoutSize(
 98 |             widthDimension: widthDimension,
    :
107 |             )
108 |         case let .repeated(item, count):
109 |             group = NSCollectionLayoutGroup.horizontal(
    |                                             `- warning: call to main actor-isolated class method 'horizontal(layoutSize:subitem:count:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
110 |                 layoutSize: size,
111 |                 subitem: ItemBuilder.make(from: item),
AppKit.NSCollectionLayoutGroup.horizontal:2:28: note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
1 | class NSCollectionLayoutGroup {
2 | @MainActor open class func horizontal(layoutSize: NSCollectionLayoutSize, subitem: NSCollectionLayoutItem, count: Int) -> Self}
  |                            |- note: calls to class method 'horizontal(layoutSize:subitem:count:)' from outside of its actor context are implicitly asynchronous
  |                            `- note: main actor isolation inferred from inheritance from class 'NSCollectionLayoutItem'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/CompositionalLayoutDSL/Public/Group/CustomGroup.swift:77:45: warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
75 |             heightDimension: heightDimension
76 |         )
77 |         let group = NSCollectionLayoutGroup.custom(layoutSize: size, itemProvider: itemProvider)
   |                                             |- warning: sending value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') risks causing data races; this is an error in the Swift 6 language mode
   |                                             `- note: sending task-isolated value of non-Sendable type 'NSCollectionLayoutGroupCustomItemProvider' (aka '(any NSCollectionLayoutEnvironment) -> Array<NSCollectionLayoutGroupCustomItem>') to main actor-isolated class method 'custom(layoutSize:itemProvider:)' risks causing races in between task-isolated and main actor-isolated uses
78 |         return group
79 |     }
Build complete! (18.51s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "CompositionalLayoutDSL",
  "name" : "CompositionalLayoutDSL",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CompositionalLayoutDSL",
      "targets" : [
        "CompositionalLayoutDSL"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CompositionalLayoutDSL",
      "module_type" : "SwiftTarget",
      "name" : "CompositionalLayoutDSL",
      "path" : "Sources/CompositionalLayoutDSL",
      "product_memberships" : [
        "CompositionalLayoutDSL"
      ],
      "sources" : [
        "Internal/Builders/BoundarySupplementaryItemBuilder.swift",
        "Internal/Builders/ConfigurationBuilder.swift",
        "Internal/Builders/DecorationItemBuilder.swift",
        "Internal/Builders/GroupBuilder.swift",
        "Internal/Builders/ItemBuilder.swift",
        "Internal/Builders/SectionBuilder.swift",
        "Internal/Builders/SupplementaryItemBuilder.swift",
        "Internal/ModifiedLayout/ModifiedLayoutBoundarySupplementaryItem.swift",
        "Internal/ModifiedLayout/ModifiedLayoutConfiguration.swift",
        "Internal/ModifiedLayout/ModifiedLayoutDecorationItem.swift",
        "Internal/ModifiedLayout/ModifiedLayoutGroup.swift",
        "Internal/ModifiedLayout/ModifiedLayoutItem.swift",
        "Internal/ModifiedLayout/ModifiedLayoutSection.swift",
        "Internal/ModifiedLayout/ModifiedLayoutSupplementaryItem.swift",
        "Public/BoundarySupplementaryItem/BoundarySupplementaryItem.swift",
        "Public/BoundarySupplementaryItem/LayoutBoundarySupplementaryItem.swift",
        "Public/CompositionalLayout.swift",
        "Public/CompositionalLayoutDSL.swift",
        "Public/Configuration/Configuration.swift",
        "Public/Configuration/LayoutConfiguration.swift",
        "Public/DecorationItem/DecorationItem.swift",
        "Public/DecorationItem/LayoutDecorationItem.swift",
        "Public/Group/CustomGroup.swift",
        "Public/Group/HGroup.swift",
        "Public/Group/LayoutGroup.swift",
        "Public/Group/VGroup.swift",
        "Public/Item/Item.swift",
        "Public/Item/LayoutItem.swift",
        "Public/ResizableItem.swift",
        "Public/ResultBuilders.swift",
        "Public/Section/LayoutSection.swift",
        "Public/Section/ListSection.swift",
        "Public/Section/RawSection.swift",
        "Public/Section/Section.swift",
        "Public/SupplementaryItem/LayoutSupplementaryItem.swift",
        "Public/SupplementaryItem/SupplementaryItem.swift",
        "Public/Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.